summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2012-03-26 16:28:01 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2012-03-26 16:28:01 +0000
commit5687c0d2ace466db5d1937702478f30d02936126 (patch)
tree6203c5cc1258841a96363db687dc448054b5dbea /dev-python/python-gflags
parentInclude only valid values in REQUIRED_USE. (diff)
downloadhistorical-5687c0d2ace466db5d1937702478f30d02936126.tar.gz
historical-5687c0d2ace466db5d1937702478f30d02936126.tar.bz2
historical-5687c0d2ace466db5d1937702478f30d02936126.zip
Migrate to python-distutils-ng.eclass and EAPI 4.
Package-Manager: portage-2.1.10.51/cvs/Linux x86_64
Diffstat (limited to 'dev-python/python-gflags')
-rw-r--r--dev-python/python-gflags/ChangeLog5
-rw-r--r--dev-python/python-gflags/Manifest18
-rw-r--r--dev-python/python-gflags/python-gflags-2.0.ebuild20
3 files changed, 22 insertions, 21 deletions
diff --git a/dev-python/python-gflags/ChangeLog b/dev-python/python-gflags/ChangeLog
index f5e18bbc87ce..49f454487f60 100644
--- a/dev-python/python-gflags/ChangeLog
+++ b/dev-python/python-gflags/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/python-gflags
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-gflags/ChangeLog,v 1.6 2012/02/16 18:57:29 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-gflags/ChangeLog,v 1.7 2012/03/26 16:28:01 nelchael Exp $
+
+ 26 Mar 2012; Krzysztof Pawlik <nelchael@gentoo.org> python-gflags-2.0.ebuild:
+ Migrate to python-distutils-ng.eclass and EAPI 4.
*python-gflags-2.0 (16 Feb 2012)
diff --git a/dev-python/python-gflags/Manifest b/dev-python/python-gflags/Manifest
index 864cab17689a..3413fbb6f96b 100644
--- a/dev-python/python-gflags/Manifest
+++ b/dev-python/python-gflags/Manifest
@@ -4,17 +4,17 @@ Hash: SHA512
DIST python-gflags-1.6.tar.gz 62408 RMD160 ab15c174460d3d78b74d63584098336f35fcf588 SHA1 e937d3bf5f77f12a210e7ae96d44dfa76e3f5a4b SHA256 2727d3a1c9d7a3b28c64550d6c653fcf66fa6927023edcec3b58dcbeab50185f
DIST python-gflags-2.0.tar.gz 64929 RMD160 b54a08bbb4dfb79cea17aef60e65f0847aab0a26 SHA1 db309e6964b102ff36de319ce551db512a78281e SHA256 311066217acb8cd8519a4c872cb3fe64f02bcf105802bb761ab0de55c2386cd6
EBUILD python-gflags-1.6.ebuild 768 RMD160 cd911b6ba34f0a4f1ce5791d20c9a4a7eace90a7 SHA1 9d1875cf5805d516a13706cbedae1fab9c622f5d SHA256 217297eadd410f0bc73aafe7d19a67069f8c33a4aa34cfabbf5d2f2231f7dbe4
-EBUILD python-gflags-2.0.ebuild 768 RMD160 b3dd16000bb5b7ee2245780cdd02f5442ddd6dc2 SHA1 9d2992e4d0920578d58f09f27726ca310fc20384 SHA256 4c12c9376dfef7ec671cf33ec1d28d84290d662fa08e12a32a35964654122fa3
-MISC ChangeLog 1340 RMD160 ffe285bb686b87ee50b3371a633e78cf53cd3777 SHA1 0823ee67b868c9084fd11c2ae101a7d7072685ea SHA256 acb59b37cdab30b3c2ead5224c385c37939917ab3b064f4db76b386fe3dbbf6c
+EBUILD python-gflags-2.0.ebuild 756 RMD160 1116c85c8c6a09d2265ee002634ba0e5e5eef198 SHA1 9aeb59e45227d6f91576ad53e96c0c2794111a37 SHA256 bfa760df89d5e9d55b32f1858f0b89276336ea436383b224179505eccd5e35c7
+MISC ChangeLog 1473 RMD160 5e81ad238b5b36ef0bbb7101bc0585c75e08601a SHA1 f153df9fe555e47e009822f897c4a76e9cc03e43 SHA256 f7b45091c3e24c38531c4ec4a05ddbd92f0e06e99d9909ce29b2f687c6ee79c3
MISC metadata.xml 237 RMD160 3f49f51ad9cc4cd4d9bf47f85453a892b9216431 SHA1 5fa92d17455298e5756fccaa8a008220b3a895d5 SHA256 89a5a7ec54302921156a3af6e4e6afe5d72a5fbf5df95801bf4a57ff171dd84a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iQEcBAEBCgAGBQJPPVGgAAoJEBZyv1r2qA5GAioH/RPskQQDJmU+iLSnEYeQi08r
-420WXlNOQPpM5EbhhmLJomL8i1FGnPFcgl+IvjHE2P7UUI+0lEMS5rQMgiXS9eTW
-gOMKdFpPaDqLSc2gMCNMRRbvgZcaiOdIAZM1xuXJeeBRQXBHDYifoJgdguCPWx9r
-t+dCpScnsHTtSANgLQLzlV+z4xhimSuJ1d0FsHRwU5+f6Ii2hNoFeSh1oinUhW/h
-bLq76j0TZXZk+rMpwzmnm5rnZMM56HgpZBYu/mMlbuXWXkri+SrZQGNQStpVZrxr
-cX3YAJel/uSFutkXKStxeMvicnmob3dcTUjDaMgPc6m6/aL+CGeneqaSsUZLFro=
-=TlsJ
+iQEcBAEBCgAGBQJPcJkYAAoJEBZyv1r2qA5GGlUH/0MhqQOUpZ7Wc+qZC2dQB1/B
+tPm+yQfG9WD7rxSIx+nA6IWleLsv3LODq3vaivCuZ0yjo0tggg2W6y/CWQWsJ9HI
+JZ5V7AoYxug8ImnpJwnY5Asx283c9fLjsjp4ZtE+G1zSnG2jUee48ie6w+jiko3a
+JrKjoEIOPotcVQLcAKbkDz4cvfKiIV4IIhIt5oqQxrrgzsutGt0LlItt7XPuljRk
+gYZn1Uhy8QB6B5gEqvS0pxAW+4xDZNGxB0s/xoOpIRbtXp9zuKK6TJpLbxcItanx
+dJAxlhT/ecL0bUWGRs4fnIiUg0A2cV2oT51wROh7rTMECXs7IXI/Oeufr9ZK35A=
+=hpkY
-----END PGP SIGNATURE-----
diff --git a/dev-python/python-gflags/python-gflags-2.0.ebuild b/dev-python/python-gflags/python-gflags-2.0.ebuild
index 16877a741d7d..6aaed88fd6b7 100644
--- a/dev-python/python-gflags/python-gflags-2.0.ebuild
+++ b/dev-python/python-gflags/python-gflags-2.0.ebuild
@@ -1,13 +1,12 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-gflags/python-gflags-2.0.ebuild,v 1.1 2012/02/16 18:57:29 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-gflags/python-gflags-2.0.ebuild,v 1.2 2012/03/26 16:28:01 nelchael Exp $
-EAPI="3"
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.*"
+EAPI="4"
-inherit distutils
+PYTHON_COMPAT="python2_5 python2_6 python2_7 pypy1_7 pypy1_8"
+
+inherit python-distutils-ng
DESCRIPTION="Google's Python argument parsing library."
HOMEPAGE="http://code.google.com/p/python-gflags/"
@@ -21,9 +20,8 @@ IUSE=""
DEPEND="dev-python/setuptools"
RDEPEND=""
-PYTHON_MODNAME="gflags.py"
-
-src_prepare() {
- distutils_src_prepare
- sed -e 's/data_files=\[("bin", \["gflags2man.py"\])\]/scripts=\["gflags2man.py"\]/' -i setup.py
+python_prepare_all() {
+ sed \
+ -e 's/data_files=\[("bin", \["gflags2man.py"\])\]/scripts=\["gflags2man.py"\]/' \
+ -i setup.py || die "sed failed"
}