[gentoo-commits] gentoo-x86 commit in dev-go/go-text: go-text-9999.ebuild ChangeLog

2015-08-05 Thread William Hubbs (williamh)
williamh15/08/05 19:45:02

  Modified: go-text-.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  ChangesPath
1.9  dev-go/go-text/go-text-.ebuild

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

Index: go-text-.ebuild
===
RCS file: /var/cvsroot/gentoo-x86/dev-go/go-text/go-text-.ebuild,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- go-text-.ebuild 6 Jul 2015 17:10:56 -   1.8
+++ go-text-.ebuild 5 Aug 2015 19:45:02 -   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-.ebuild,v 1.8 
2015/07/06 17:10:56 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-text/go-text-.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} != ** ]]; 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.11view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/ChangeLog?rev=1.11content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/ChangeLog?r1=1.10r2=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 -   1.10
+++ ChangeLog   5 Aug 2015 19:45:02 -   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 willi...@gentoo.org go-text-.ebuild:
+  add support for golang-vcs-snapshot to live ebuild
 
   06 Jul 2015; William Hubbs willi...@gentoo.org go-text-.ebuild:
   Add a subslot of the version number so we know which version is installed;






[gentoo-commits] gentoo-x86 commit in dev-go/go-text: go-text-9999.ebuild ChangeLog

2015-07-06 Thread William Hubbs (williamh)
williamh15/07/06 17:10:56

  Modified: go-text-.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  ChangesPath
1.8  dev-go/go-text/go-text-.ebuild

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

Index: go-text-.ebuild
===
RCS file: /var/cvsroot/gentoo-x86/dev-go/go-text/go-text-.ebuild,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- go-text-.ebuild 26 Jun 2015 22:54:48 -  1.7
+++ go-text-.ebuild 6 Jul 2015 17:10:56 -   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-.ebuild,v 1.7 
2015/06/26 22:54:48 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-text/go-text-.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.10view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/ChangeLog?rev=1.10content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/ChangeLog?r1=1.9r2=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 -   1.9
+++ ChangeLog   6 Jul 2015 17:10:56 -   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 willi...@gentoo.org go-text-.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)
 






[gentoo-commits] gentoo-x86 commit in dev-go/go-text: go-text-9999.ebuild ChangeLog

2015-06-26 Thread William Hubbs (williamh)
williamh15/06/26 22:54:48

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

Revision  ChangesPath
1.7  dev-go/go-text/go-text-.ebuild

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

Index: go-text-.ebuild
===
RCS file: /var/cvsroot/gentoo-x86/dev-go/go-text/go-text-.ebuild,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- go-text-.ebuild 25 Jun 2015 17:43:02 -  1.6
+++ go-text-.ebuild 26 Jun 2015 22:54:48 -  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-.ebuild,v 1.6 
2015/06/25 17:43:02 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-text/go-text-.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} = ** ]]; 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} != ** ]]; 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.8view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/ChangeLog?rev=1.8content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/ChangeLog?r1=1.7r2=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 -   1.7
+++ ChangeLog   26 Jun 2015 22:54:48 -  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 willi...@gentoo.org go-text-.ebuild:
+  make live ebuild copyable
 
 *go-text-1.4.2_p20150604 (09 Jun 2015)
 






[gentoo-commits] gentoo-x86 commit in dev-go/go-text: go-text-9999.ebuild ChangeLog

2015-05-20 Thread Zac Medico (zmedico)
zmedico 15/05/21 05:31:35

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

Revision  ChangesPath
1.2  dev-go/go-text/go-text-.ebuild

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

Index: go-text-.ebuild
===
RCS file: /var/cvsroot/gentoo-x86/dev-go/go-text/go-text-.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- go-text-.ebuild 18 May 2015 07:48:30 -  1.1
+++ go-text-.ebuild 21 May 2015 05:31:35 -  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-.ebuild,v 1.1 
2015/05/18 07:48:30 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-text/go-text-.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.2view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/ChangeLog?rev=1.2content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/ChangeLog?r1=1.1r2=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 -  1.1
+++ ChangeLog   21 May 2015 05:31:35 -  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 zmed...@gentoo.org go-text-.ebuild:
+  Add src_test.
 
 *go-text- (18 May 2015)