summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2015-05-24 08:19:30 +0000
committerZac Medico <zmedico@gentoo.org>2015-05-24 08:19:30 +0000
commitbe3e2b861be1b07381c41ecb17050df7d14ed8b9 (patch)
tree1167190f8aa8e2e975b7237159c4b23bb9490734 /dev-go
parentAdd consul, partially based on ebuilds by Alexys Jacob <ultrabug@gentoo.org>. (diff)
downloadgentoo-2-be3e2b861be1b07381c41ecb17050df7d14ed8b9.tar.gz
gentoo-2-be3e2b861be1b07381c41ecb17050df7d14ed8b9.tar.bz2
gentoo-2-be3e2b861be1b07381c41ecb17050df7d14ed8b9.zip
Add workaround for TestLinking in display/dict_test.go.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key FDE8EF85AE5719A3)
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/go-text/ChangeLog6
-rw-r--r--dev-go/go-text/go-text-1.4.2_p20150506.ebuild55
-rw-r--r--dev-go/go-text/go-text-9999.ebuild55
3 files changed, 17 insertions, 99 deletions
diff --git a/dev-go/go-text/ChangeLog b/dev-go/go-text/ChangeLog
index 9e88f09086bc..8dc60fcbab38 100644
--- a/dev-go/go-text/ChangeLog
+++ b/dev-go/go-text/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-go/go-text
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-go/go-text/ChangeLog,v 1.5 2015/05/21 06:57:23 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-text/ChangeLog,v 1.6 2015/05/24 08:19:30 zmedico Exp $
+
+ 24 May 2015; Zac Medico <zmedico@gentoo.org> go-text-1.4.2_p20150506.ebuild,
+ go-text-9999.ebuild:
+ Add workaround for TestLinking in display/dict_test.go.
21 May 2015; Zac Medico <zmedico@gentoo.org> go-text-1.4.2_p20150506.ebuild:
Add ~amd64 keyword.
diff --git a/dev-go/go-text/go-text-1.4.2_p20150506.ebuild b/dev-go/go-text/go-text-1.4.2_p20150506.ebuild
index 7b3a2822eca9..8945fc3c0220 100644
--- a/dev-go/go-text/go-text-1.4.2_p20150506.ebuild
+++ b/dev-go/go-text/go-text-1.4.2_p20150506.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-go/go-text/go-text-1.4.2_p20150506.ebuild,v 1.3 2015/05/21 06:57:23 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-text/go-text-1.4.2_p20150506.ebuild,v 1.4 2015/05/24 08:19:30 zmedico Exp $
EAPI=5
@@ -36,55 +36,12 @@ src_compile() {
}
src_test() {
+ # Create go symlink for TestLinking in display/dict_test.go
+ mkdir -p "${GOROOT}/bin"
+ ln -s /usr/bin/go "${GOROOT}/bin/go" || die
+
GOROOT="${GOROOT}" GOPATH=${WORKDIR} \
- go test -run "^("$(
- echo -n 'Example(|_build|CanonType|Collator_Strings|Compacter|'
- echo -n 'Compose|DecodeWindows1252|Dictionary|Gen_build|'
- echo -n 'Gen_lookup|If|In|Iter|_lookup|Map|Matcher|Namer|Parent|'
- echo -n 'ParseAcceptLanguage|Parse_errors|Region_TLD|Remove|'
- echo -n 'RemoveFunc|Tag_Base|Tag_ComprehensibleTo|Tag_Region|'
- echo -n 'Tags|Tag_Script|Tag_values|Transformer_fold|'
- echo -n 'Transformer_narrow|Transformer_widen|UTF8Validator)|'
- echo -n 'Test(AcceptMinSize|AddLikelySubtags|Ambiguous|Append|'
- echo -n 'AppendNext|AppendString|AttrKey|Base|Basics|BestMatch|'
- echo -n 'Big5CircumflexAndMacron|BOMOverride|Bytes|Bytes|'
- echo -n 'BytesAllocation|Canonicalize|CaseMappings|'
- echo -n 'CaseProperties|CCC|Chain|ColElem|ColElem|Compare|'
- echo -n 'CompareWeights|Compose1|Compose2|Compose3|Composition|'
- echo -n 'Contains|Context|Contract|ConvertLarge|Coverage|'
- echo -n 'Currency|DecomposeSegment|DecomposeToLastBoundary|'
- echo -n 'Decomposition|DeepCopy|Discard|DoNorm|Enclosing|'
- echo -n 'EncodeInvalidUTF8|EncodeM49|EntryLess|EntrySort|'
- echo -n 'Equality|Errors|Expand|Files|Filter|FindField|'
- echo -n 'FindKeyAndType|FirstBoundary|FixCase|Flush|Fold|'
- echo -n 'FoldSingleRunes|GenColElems|GenerateTrie|GenIdxSort|'
- echo -n 'GenStates|Get|GetColElems|GetScriptID|Getters|'
- echo -n 'Grandfathered|Group|Implicit|In|Index|Index|Insert|'
- echo -n 'InsertAfter|InsertBefore|IsCountry|IsGroup|IsNormal|'
- echo -n 'IsNormalString|IsPrivateUse|IsRoot|Iter|IterNext|'
- echo -n 'IterSegmentation|Key|Key|KeyFromElems|LangID|Language|'
- echo -n 'LastBoundary|LookupContraction|LookupContraction|'
- echo -n 'LookupContraction|LookupTrie|MakeSlice|MakeString|Map|'
- echo -n 'MapAlloc|Mapping|MatchLang|Merge|Minimize|Narrow|'
- echo -n 'NarrowSingleRunes|NewCoverage|NextIndexed|NextWeight|'
- echo -n 'NonDigits|NonRepertoire|Nop|NotIn|Numeric|'
- echo -n 'NumericAppendNext|NumericCompare|NumericOverflow|'
- echo -n 'NumericWeighterAlloc|OffsetSort|Options|Parent|'
- echo -n 'ParentDistance|Parse|ParseAcceptLanguage|ParseBase|'
- echo -n 'ParseCurrency|ParseDraft|ParseExtensions|ParseRegion|'
- echo -n 'ParseScript|ParseTag|Path|PlaceHolder|Predicate|'
- echo -n 'PrintContractionTrieSet|ProcessWeights|QuickSpan|'
- echo -n 'Reader|Reader|Region|Region|RegionCanonicalize|'
- echo -n 'RegionDeprecation|RegionDistance|RegionID|RegionISO3|'
- echo -n 'RegionM49|RegionTLD|RegionType|Remove|Remove|'
- echo -n 'RemoveAlloc|RemoveFunc|Replacement|RuleProcessor|'
- echo -n 'Scan|Script|Script|Search|SelectAnyOf|SelectOnePerGroup|'
- echo -n 'Self|SetTypeForKey|ShortBuffersAndOverflow|Simplify|'
- echo -n 'Sort|String|String|StringAllocation|Supported|Supported|'
- echo -n 'TagSize|Transform|TransformNorm|TypeForKey|Update|'
- echo -n 'UpdateTertiary|UTF16|UTF8Validator|Widen|'
- echo -n 'WidenSingleRunes|WordBreaks|Writer))$') \
- -x -v ${GO_PN}/... || die $?
+ go test -x -v ${GO_PN}/... || die $?
}
src_install() {
diff --git a/dev-go/go-text/go-text-9999.ebuild b/dev-go/go-text/go-text-9999.ebuild
index d1c78b21de9c..312b2ab1b981 100644
--- a/dev-go/go-text/go-text-9999.ebuild
+++ b/dev-go/go-text/go-text-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-go/go-text/go-text-9999.ebuild,v 1.3 2015/05/21 06:39:07 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-text/go-text-9999.ebuild,v 1.4 2015/05/24 08:19:30 zmedico Exp $
EAPI=5
inherit git-r3
@@ -29,55 +29,12 @@ src_compile() {
}
src_test() {
+ # Create go symlink for TestLinking in display/dict_test.go
+ mkdir -p "${GOROOT}/bin"
+ ln -s /usr/bin/go "${GOROOT}/bin/go" || die
+
GOROOT="${GOROOT}" GOPATH=${WORKDIR} \
- go test -run "^("$(
- echo -n 'Example(|_build|CanonType|Collator_Strings|Compacter|'
- echo -n 'Compose|DecodeWindows1252|Dictionary|Gen_build|'
- echo -n 'Gen_lookup|If|In|Iter|_lookup|Map|Matcher|Namer|Parent|'
- echo -n 'ParseAcceptLanguage|Parse_errors|Region_TLD|Remove|'
- echo -n 'RemoveFunc|Tag_Base|Tag_ComprehensibleTo|Tag_Region|'
- echo -n 'Tags|Tag_Script|Tag_values|Transformer_fold|'
- echo -n 'Transformer_narrow|Transformer_widen|UTF8Validator)|'
- echo -n 'Test(AcceptMinSize|AddLikelySubtags|Ambiguous|Append|'
- echo -n 'AppendNext|AppendString|AttrKey|Base|Basics|BestMatch|'
- echo -n 'Big5CircumflexAndMacron|BOMOverride|Bytes|Bytes|'
- echo -n 'BytesAllocation|Canonicalize|CaseMappings|'
- echo -n 'CaseProperties|CCC|Chain|ColElem|ColElem|Compare|'
- echo -n 'CompareWeights|Compose1|Compose2|Compose3|Composition|'
- echo -n 'Contains|Context|Contract|ConvertLarge|Coverage|'
- echo -n 'Currency|DecomposeSegment|DecomposeToLastBoundary|'
- echo -n 'Decomposition|DeepCopy|Discard|DoNorm|Enclosing|'
- echo -n 'EncodeInvalidUTF8|EncodeM49|EntryLess|EntrySort|'
- echo -n 'Equality|Errors|Expand|Files|Filter|FindField|'
- echo -n 'FindKeyAndType|FirstBoundary|FixCase|Flush|Fold|'
- echo -n 'FoldSingleRunes|GenColElems|GenerateTrie|GenIdxSort|'
- echo -n 'GenStates|Get|GetColElems|GetScriptID|Getters|'
- echo -n 'Grandfathered|Group|Implicit|In|Index|Index|Insert|'
- echo -n 'InsertAfter|InsertBefore|IsCountry|IsGroup|IsNormal|'
- echo -n 'IsNormalString|IsPrivateUse|IsRoot|Iter|IterNext|'
- echo -n 'IterSegmentation|Key|Key|KeyFromElems|LangID|Language|'
- echo -n 'LastBoundary|LookupContraction|LookupContraction|'
- echo -n 'LookupContraction|LookupTrie|MakeSlice|MakeString|Map|'
- echo -n 'MapAlloc|Mapping|MatchLang|Merge|Minimize|Narrow|'
- echo -n 'NarrowSingleRunes|NewCoverage|NextIndexed|NextWeight|'
- echo -n 'NonDigits|NonRepertoire|Nop|NotIn|Numeric|'
- echo -n 'NumericAppendNext|NumericCompare|NumericOverflow|'
- echo -n 'NumericWeighterAlloc|OffsetSort|Options|Parent|'
- echo -n 'ParentDistance|Parse|ParseAcceptLanguage|ParseBase|'
- echo -n 'ParseCurrency|ParseDraft|ParseExtensions|ParseRegion|'
- echo -n 'ParseScript|ParseTag|Path|PlaceHolder|Predicate|'
- echo -n 'PrintContractionTrieSet|ProcessWeights|QuickSpan|'
- echo -n 'Reader|Reader|Region|Region|RegionCanonicalize|'
- echo -n 'RegionDeprecation|RegionDistance|RegionID|RegionISO3|'
- echo -n 'RegionM49|RegionTLD|RegionType|Remove|Remove|'
- echo -n 'RemoveAlloc|RemoveFunc|Replacement|RuleProcessor|'
- echo -n 'Scan|Script|Script|Search|SelectAnyOf|SelectOnePerGroup|'
- echo -n 'Self|SetTypeForKey|ShortBuffersAndOverflow|Simplify|'
- echo -n 'Sort|String|String|StringAllocation|Supported|Supported|'
- echo -n 'TagSize|Transform|TransformNorm|TypeForKey|Update|'
- echo -n 'UpdateTertiary|UTF16|UTF8Validator|Widen|'
- echo -n 'WidenSingleRunes|WordBreaks|Writer))$') \
- -x -v ${GO_PN}/... || die $?
+ go test -x -v ${GO_PN}/... || die $?
}
src_install() {