public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-go/go-text: go-text-9999.ebuild ChangeLog
@ 2015-05-21  5:31 Zac Medico (zmedico)
  0 siblings, 0 replies; 4+ messages in thread
From: Zac Medico (zmedico) @ 2015-05-21  5:31 UTC (permalink / raw
  To: gentoo-commits

zmedico     15/05/21 05:31:35

  Modified:             go-text-9999.ebuild ChangeLog
  Log:
  Add src_test.
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key FDE8EF85AE5719A3)

Revision  Changes    Path
1.2                  dev-go/go-text/go-text-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/go-text-9999.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/go-text-9999.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/go-text-9999.ebuild?r1=1.1&r2=1.2

Index: go-text-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-go/go-text/go-text-9999.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- go-text-9999.ebuild	18 May 2015 07:48:30 -0000	1.1
+++ go-text-9999.ebuild	21 May 2015 05:31:35 -0000	1.2
@@ -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.1 2015/05/18 07:48:30 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-text/go-text-9999.ebuild,v 1.2 2015/05/21 05:31:35 zmedico Exp $
 
 EAPI=5
 inherit git-r3
@@ -28,6 +28,20 @@
 	GOROOT="${GOROOT}" GOPATH=${WORKDIR} go install -v -x -work ${GO_PN}/... || die
 }
 
+src_test() {
+	GOROOT="${GOROOT}" GOPATH=${WORKDIR} \
+		go test -run "^(Example.*|"$(
+			echo -n 'Test(Flush|Insert|Decomposition|Composition|IterNext|'
+			echo -n 'IterSegmentation|DecomposeSegment|FirstBoundary|'
+			echo -n 'DecomposeToLastBoundary|LastBoundary|QuickSpan|IsNormal|'
+			echo -n 'IsNormalString|Append|AppendString|Bytes|String|Reader|'
+			echo -n 'Writer|Transform|TransformNorm|CharacterByCharacter|'
+			echo -n 'StandardTests|Performance|PlaceHolder|ExampleIter|Merge|'
+			echo -n 'Tables|Ambiguous|FoldSingleRunes|Fold|WidenSingleRunes|'
+			echo -n 'Widen|NarrowSingleRunes|Narrow))$') \
+			-x -v ${GO_PN}/... || die $?
+}
+
 src_install() {
 	exeinto /usr/lib/go/bin
 	doexe "${WORKDIR}"/bin/*



1.2                  dev-go/go-text/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/ChangeLog?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/ChangeLog?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/ChangeLog?r1=1.1&r2=1.2

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-go/go-text/ChangeLog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ChangeLog	18 May 2015 07:48:30 -0000	1.1
+++ ChangeLog	21 May 2015 05:31:35 -0000	1.2
@@ -1,6 +1,9 @@
 # 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.1 2015/05/18 07:48:30 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-text/ChangeLog,v 1.2 2015/05/21 05:31:35 zmedico Exp $
+
+  21 May 2015; Zac Medico <zmedico@gentoo.org> go-text-9999.ebuild:
+  Add src_test.
 
 *go-text-9999 (18 May 2015)
 





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-go/go-text: go-text-9999.ebuild ChangeLog
@ 2015-06-26 22:54 William Hubbs (williamh)
  0 siblings, 0 replies; 4+ messages in thread
From: William Hubbs (williamh) @ 2015-06-26 22:54 UTC (permalink / raw
  To: gentoo-commits

williamh    15/06/26 22:54:48

  Modified:             go-text-9999.ebuild ChangeLog
  Log:
  make live ebuild copyable
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x30C46538)

Revision  Changes    Path
1.7                  dev-go/go-text/go-text-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/go-text-9999.ebuild?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/go-text-9999.ebuild?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/go-text-9999.ebuild?r1=1.6&r2=1.7

Index: go-text-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-go/go-text/go-text-9999.ebuild,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- go-text-9999.ebuild	25 Jun 2015 17:43:02 -0000	1.6
+++ go-text-9999.ebuild	26 Jun 2015 22:54:48 -0000	1.7
@@ -1,13 +1,21 @@
 # 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.6 2015/06/25 17:43:02 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-text/go-text-9999.ebuild,v 1.7 2015/06/26 22:54:48 williamh Exp $
 
 EAPI=5
 
-inherit golang-build golang-vcs
 EGO_PN=golang.org/x/text/...
 EGO_SRC=golang.org/x/text
 
+if [[ ${PV} = *9999* ]]; then
+	inherit golang-vcs
+else
+	KEYWORDS="~amd64"
+	EGIT_COMMIT="df923bbb63f8ea3a26bb743e2a497abd0ab585f7"
+	SRC_URI="https://github.com/golang/text/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+fi
+inherit golang-build
+
 DESCRIPTION="Go text processing support"
 HOMEPAGE="https://godoc.org/golang.org/x/text"
 LICENSE="BSD"
@@ -16,6 +24,35 @@
 DEPEND=""
 RDEPEND=""
 
+if [[ ${PV} != *9999* ]]; then
+src_unpack() {
+	local f
+
+	for f in ${A}
+	do
+		case "${f}" in
+			*.tar|*.tar.gz|*.tar.bz2|*.tar.xz)
+				local destdir=${WORKDIR}/${P}/src/${EGO_SRC}
+
+				debug-print "${FUNCNAME}: unpacking ${f} to ${destdir}"
+
+				# XXX: check whether the directory structure inside is
+				# fine? i.e. if the tarball has actually a parent dir.
+				mkdir -p "${destdir}" || die
+				tar -C "${destdir}" -x --strip-components 1 \
+					-f "${DISTDIR}/${f}" || die
+				;;
+			*)
+				debug-print "${FUNCNAME}: falling back to unpack for ${f}"
+
+				# fall back to the default method
+				unpack "${f}"
+				;;
+		esac
+	done
+}
+fi
+
 src_test() {
 	# Create a writable GOROOT in order to avoid sandbox violations.
 	cp -sR "$(go env GOROOT)" "${T}/goroot" || die



1.8                  dev-go/go-text/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/ChangeLog?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/ChangeLog?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/ChangeLog?r1=1.7&r2=1.8

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-go/go-text/ChangeLog,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ChangeLog	9 Jun 2015 03:07:26 -0000	1.7
+++ ChangeLog	26 Jun 2015 22:54:48 -0000	1.8
@@ -1,6 +1,9 @@
 # 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.7 2015/06/09 03:07:26 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-text/ChangeLog,v 1.8 2015/06/26 22:54:48 williamh Exp $
+
+  26 Jun 2015; William Hubbs <williamh@gentoo.org> go-text-9999.ebuild:
+  make live ebuild copyable
 
 *go-text-1.4.2_p20150604 (09 Jun 2015)
 





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-go/go-text: go-text-9999.ebuild ChangeLog
@ 2015-07-06 17:10 William Hubbs (williamh)
  0 siblings, 0 replies; 4+ messages in thread
From: William Hubbs (williamh) @ 2015-07-06 17:10 UTC (permalink / raw
  To: gentoo-commits

williamh    15/07/06 17:10:56

  Modified:             go-text-9999.ebuild ChangeLog
  Log:
  Add a subslot of the version number so we know which version is installed; this wil allow slot operators in dependencies on this package.
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x30C46538)

Revision  Changes    Path
1.8                  dev-go/go-text/go-text-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/go-text-9999.ebuild?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/go-text-9999.ebuild?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/go-text-9999.ebuild?r1=1.7&r2=1.8

Index: go-text-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-go/go-text/go-text-9999.ebuild,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- go-text-9999.ebuild	26 Jun 2015 22:54:48 -0000	1.7
+++ go-text-9999.ebuild	6 Jul 2015 17:10:56 -0000	1.8
@@ -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.7 2015/06/26 22:54:48 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-text/go-text-9999.ebuild,v 1.8 2015/07/06 17:10:56 williamh Exp $
 
 EAPI=5
 
@@ -19,7 +19,7 @@
 DESCRIPTION="Go text processing support"
 HOMEPAGE="https://godoc.org/golang.org/x/text"
 LICENSE="BSD"
-SLOT="0"
+SLOT="0/${PV}"
 IUSE=""
 DEPEND=""
 RDEPEND=""



1.10                 dev-go/go-text/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/ChangeLog?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/ChangeLog?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/ChangeLog?r1=1.9&r2=1.10

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-go/go-text/ChangeLog,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ChangeLog	1 Jul 2015 21:17:54 -0000	1.9
+++ ChangeLog	6 Jul 2015 17:10:56 -0000	1.10
@@ -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.9 2015/07/01 21:17:54 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-text/ChangeLog,v 1.10 2015/07/06 17:10:56 williamh Exp $
+
+  06 Jul 2015; William Hubbs <williamh@gentoo.org> go-text-9999.ebuild:
+  Add a subslot of the version number so we know which version is installed;
+  this wil allow slot operators in dependencies on this package.
 
 *go-text-0_pre20150604 (01 Jul 2015)
 





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-go/go-text: go-text-9999.ebuild ChangeLog
@ 2015-08-05 19:45 William Hubbs (williamh)
  0 siblings, 0 replies; 4+ messages in thread
From: William Hubbs (williamh) @ 2015-08-05 19:45 UTC (permalink / raw
  To: gentoo-commits

williamh    15/08/05 19:45:02

  Modified:             go-text-9999.ebuild ChangeLog
  Log:
  add support for golang-vcs-snapshot to live ebuild
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x30C46538)

Revision  Changes    Path
1.9                  dev-go/go-text/go-text-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/go-text-9999.ebuild?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/go-text-9999.ebuild?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/go-text-9999.ebuild?r1=1.8&r2=1.9

Index: go-text-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-go/go-text/go-text-9999.ebuild,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- go-text-9999.ebuild	6 Jul 2015 17:10:56 -0000	1.8
+++ go-text-9999.ebuild	5 Aug 2015 19:45:02 -0000	1.9
@@ -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.8 2015/07/06 17:10:56 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-text/go-text-9999.ebuild,v 1.9 2015/08/05 19:45:02 williamh Exp $
 
 EAPI=5
 
@@ -13,6 +13,7 @@
 	KEYWORDS="~amd64"
 	EGIT_COMMIT="df923bbb63f8ea3a26bb743e2a497abd0ab585f7"
 	SRC_URI="https://github.com/golang/text/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+	inherit golang-vcs-snapshot
 fi
 inherit golang-build
 
@@ -24,35 +25,6 @@
 DEPEND=""
 RDEPEND=""
 
-if [[ ${PV} != *9999* ]]; then
-src_unpack() {
-	local f
-
-	for f in ${A}
-	do
-		case "${f}" in
-			*.tar|*.tar.gz|*.tar.bz2|*.tar.xz)
-				local destdir=${WORKDIR}/${P}/src/${EGO_SRC}
-
-				debug-print "${FUNCNAME}: unpacking ${f} to ${destdir}"
-
-				# XXX: check whether the directory structure inside is
-				# fine? i.e. if the tarball has actually a parent dir.
-				mkdir -p "${destdir}" || die
-				tar -C "${destdir}" -x --strip-components 1 \
-					-f "${DISTDIR}/${f}" || die
-				;;
-			*)
-				debug-print "${FUNCNAME}: falling back to unpack for ${f}"
-
-				# fall back to the default method
-				unpack "${f}"
-				;;
-		esac
-	done
-}
-fi
-
 src_test() {
 	# Create a writable GOROOT in order to avoid sandbox violations.
 	cp -sR "$(go env GOROOT)" "${T}/goroot" || die



1.11                 dev-go/go-text/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/ChangeLog?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/ChangeLog?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/ChangeLog?r1=1.10&r2=1.11

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-go/go-text/ChangeLog,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ChangeLog	6 Jul 2015 17:10:56 -0000	1.10
+++ ChangeLog	5 Aug 2015 19:45:02 -0000	1.11
@@ -1,6 +1,9 @@
 # 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.10 2015/07/06 17:10:56 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-text/ChangeLog,v 1.11 2015/08/05 19:45:02 williamh Exp $
+
+  05 Aug 2015; William Hubbs <williamh@gentoo.org> go-text-9999.ebuild:
+  add support for golang-vcs-snapshot to live ebuild
 
   06 Jul 2015; William Hubbs <williamh@gentoo.org> go-text-9999.ebuild:
   Add a subslot of the version number so we know which version is installed;





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-08-05 19:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-26 22:54 [gentoo-commits] gentoo-x86 commit in dev-go/go-text: go-text-9999.ebuild ChangeLog William Hubbs (williamh)
  -- strict thread matches above, loose matches on Subject: below --
2015-08-05 19:45 William Hubbs (williamh)
2015-07-06 17:10 William Hubbs (williamh)
2015-05-21  5:31 Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox