summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2012-02-15 10:11:40 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2012-02-15 10:11:40 +0000
commit8ca700544efd143c9f15ab1889550ea8cf68db26 (patch)
treef87182c761a5b4a54c37cbc2bae9e8e3e1065c42 /dev-python/autopep8
parentVersion bump. Add static-libs use flag (bug #378331). (diff)
downloadhistorical-8ca700544efd143c9f15ab1889550ea8cf68db26.tar.gz
historical-8ca700544efd143c9f15ab1889550ea8cf68db26.tar.bz2
historical-8ca700544efd143c9f15ab1889550ea8cf68db26.zip
Add src_test and missing dependency on dev-python/pep8. Fixes bug 403663 by Nicolas Pinto <nicolas.pinto@gmail.com>
Package-Manager: portage-2.2.0_alpha86/cvs/Linux x86_64
Diffstat (limited to 'dev-python/autopep8')
-rw-r--r--dev-python/autopep8/ChangeLog6
-rw-r--r--dev-python/autopep8/Manifest30
-rw-r--r--dev-python/autopep8/autopep8-0.5.ebuild14
3 files changed, 31 insertions, 19 deletions
diff --git a/dev-python/autopep8/ChangeLog b/dev-python/autopep8/ChangeLog
index e88b040277c4..25fde021fd53 100644
--- a/dev-python/autopep8/ChangeLog
+++ b/dev-python/autopep8/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/autopep8
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/autopep8/ChangeLog,v 1.1 2012/02/11 17:34:55 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/autopep8/ChangeLog,v 1.2 2012/02/15 10:11:40 xarthisius Exp $
+
+ 15 Feb 2012; Kacper Kowalik <xarthisius@gentoo.org> autopep8-0.5.ebuild:
+ Add src_test and missing dependency on dev-python/pep8. Fixes bug 403663 by
+ Nicolas Pinto <nicolas.pinto@gmail.com>
*autopep8-0.5 (11 Feb 2012)
diff --git a/dev-python/autopep8/Manifest b/dev-python/autopep8/Manifest
index b76237d5ea93..2bb40eb4a793 100644
--- a/dev-python/autopep8/Manifest
+++ b/dev-python/autopep8/Manifest
@@ -2,23 +2,23 @@
Hash: SHA256
DIST autopep8-0.5.tar.gz 9123 RMD160 d0946f57dabf182d5025c1dc702d95315d003ca4 SHA1 b1544a168d95a5b858c9a431d38b5ab1d06a4065 SHA256 2e724c71b67639695fcc1dc8ef5cb941856a729fcea0b09442be65dbd68af8a6
-EBUILD autopep8-0.5.ebuild 640 RMD160 9915c4902d5088536ba66c6ee4a8727eddccfb62 SHA1 5a3575759b853aad28bc6cd0ce5b8d8493333b65 SHA256 59a3ff4ea9d6870f3087a7a57ecf38ae7d729bc870bd83726e2268890cec2627
-MISC ChangeLog 453 RMD160 12bb9dc388b159270ee2a22e1fc60e4a163b8df4 SHA1 4abcfa063256bde953ce2126127f1585eaf2da04 SHA256 5664bbe1da8e187ddea93f8f202007799dd0ed660858e7201512b8f95f56081f
+EBUILD autopep8-0.5.ebuild 802 RMD160 9e859786efcf56aa98d8c7f46542d705e75c2402 SHA1 2504c6eca1de5d96a1cebec676b6711a17b831b1 SHA256 873749b1cd1425249258001dcd4a03baf353cee6d5bf6d0d9f6e183a39312936
+MISC ChangeLog 649 RMD160 fbc53556e891306004b42537266d04db9270affd SHA1 735068ed9b808f54717fcf7a796569d9a10fbea9 SHA256 567fa1f9f9f46877e3c1e3dd156eeaa1c7cb36b29c0b19520f362cc12417f1ed
MISC metadata.xml 342 RMD160 8efc97f5e4c6dc00f087f501896d85252ee61cfe SHA1 a08f9c8f15d61a30c79124b988226b819ff53b7d SHA256 9dc7ca5805f9b94afc18e334cc58728961a4aec5e13b71affda84ee814681ced
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iQIcBAEBCAAGBQJPNqbhAAoJEF0huFKJUZL5XOcQAKIux8iZGBLcWDzgfY2DHJen
-vQVh0ZfIVw4LQLr/kvz8vDBsUs0kU5uS6rqYZa0rKmbBrflCmLKFdqysTMEiWvTe
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+r+ergbibzfKWdSyrLMK/EaiQ5RRtvvAoO29u3L0QK70rsOSRCK9BkIOwpbOyLU0J
+NhyvzTWnQ6DCDz3O7qSTjSI0a1ObGbG5aSdEieJJSBkhiIBdW3agGnjRpPeiiTL+
+POngkdmlN8iSu1KX/PFKNysPCv0QFDZgQR+osBXRnR2ljnlN8YQqSjZLncY6Rxcp
+fCFCsnbFJIyiJ+t1jCQlP+orZU5A7R0vknRme1hkQZAcJByMQnOpWhdy2yiwVJOM
+2bu8t76DS3NTF/0+jAIs
+=Axhk
-----END PGP SIGNATURE-----
diff --git a/dev-python/autopep8/autopep8-0.5.ebuild b/dev-python/autopep8/autopep8-0.5.ebuild
index 991f919f2979..fd781905cb82 100644
--- a/dev-python/autopep8/autopep8-0.5.ebuild
+++ b/dev-python/autopep8/autopep8-0.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/autopep8/autopep8-0.5.ebuild,v 1.1 2012/02/11 17:34:55 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/autopep8/autopep8-0.5.ebuild,v 1.2 2012/02/15 10:11:40 xarthisius Exp $
EAPI=4
@@ -18,7 +18,15 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND="dev-python/setuptools"
-RDEPEND=""
+RDEPEND="dev-python/pep8"
+DEPEND="${RDEPEND}
+ dev-python/setuptools"
PYTHON_MODNAME="${PN}.py"
+
+src_test() {
+ testing() {
+ PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test/test_${PN}.py
+ }
+ python_execute_function testing
+}