summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2013-02-03 18:18:32 +0000
committerMike Gilbert <floppym@gentoo.org>2013-02-03 18:18:32 +0000
commit54a0bbb0c1eb137cab1d2ac78b1ab5708cc7f26d (patch)
treecb24baac8e9f54e361a4a6dbc2461a661f329e7a /dev-python/alembic
parentStable for ppc, wrt bug #427550 (diff)
downloadhistorical-54a0bbb0c1eb137cab1d2ac78b1ab5708cc7f26d.tar.gz
historical-54a0bbb0c1eb137cab1d2ac78b1ab5708cc7f26d.tar.bz2
historical-54a0bbb0c1eb137cab1d2ac78b1ab5708cc7f26d.zip
Add support for python2.6, 3.1, 3.2.
Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64 Manifest-Sign-Key: 0x0BBEEA1FEA4843A4
Diffstat (limited to 'dev-python/alembic')
-rw-r--r--dev-python/alembic/ChangeLog5
-rw-r--r--dev-python/alembic/Manifest10
-rw-r--r--dev-python/alembic/alembic-0.4.2.ebuild18
3 files changed, 17 insertions, 16 deletions
diff --git a/dev-python/alembic/ChangeLog b/dev-python/alembic/ChangeLog
index b35750379211..bb8ada94228b 100644
--- a/dev-python/alembic/ChangeLog
+++ b/dev-python/alembic/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/alembic
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/alembic/ChangeLog,v 1.1 2013/02/03 03:41:02 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/alembic/ChangeLog,v 1.2 2013/02/03 18:18:30 floppym Exp $
+
+ 03 Feb 2013; Mike Gilbert <floppym@gentoo.org> alembic-0.4.2.ebuild:
+ Add support for python2.6, 3.1, 3.2.
*alembic-0.4.2 (03 Feb 2013)
diff --git a/dev-python/alembic/Manifest b/dev-python/alembic/Manifest
index e8295a6ffaa5..d820af87aa66 100644
--- a/dev-python/alembic/Manifest
+++ b/dev-python/alembic/Manifest
@@ -2,13 +2,13 @@
Hash: SHA256
DIST alembic-0.4.2.tar.gz 377522 SHA256 2a9426d0e22bc566707b709d753acd4e41b4147e780499f5958c30a31b0f5523 SHA512 502b89cc810bd9f456f60e461adb9bdc17c689e126e7e615530e6173e3673b2ccf522894106411634ee3bdde596496da2296f079551b680050a029239d37e25a WHIRLPOOL f5ef3a0cbdc1dc6da745f81eafc47f1ec8f0fe8355a504d141700eb3486e04186f587864b6f32a1d58341e04d8518e20e446d082d20b335513eae414ae383256
-EBUILD alembic-0.4.2.ebuild 1298 SHA256 add5745146ef68bb4cf65c6f03ec6aed9a76922973cfdd86a28c02b21cca3b0d SHA512 0bf345aeb728cea8ceb1411af20b72b88df41c8153149cf1046789c1860642c6a957202bc88f5b87b46b20aa3952ea073d2669f2940990044f4e4294a618c842 WHIRLPOOL ae7e24ec0be0c89e3343be5651fa817d2369a7eeba52591baa904d6146db36cbd2eb8e7694e9b9118e0e9383945687695dbd25dbdf563a28a685d69a59378ee3
-MISC ChangeLog 434 SHA256 98e47b811986dae6ba686e63121f7d6ed72fe7239f1e5d19522d543d22cde4d8 SHA512 d492987a3521b1d49fffaf25d26eabc796f893b64a8644b1f434bd585e0c403e97344cc77b17da800866c244f3d6d1852e89f1d4640163a142acc806c2d7b65f WHIRLPOOL 131d9574c5dfe4177f9d7220aec90b5af7b8fb74aaed2432810a414162932d4996dcb629073066bf5d7fefc4f61836d99a163324ba7720e55de73d009699b089
+EBUILD alembic-0.4.2.ebuild 1049 SHA256 675fdf4d80ceae10db25bee718d7cf3076d84a949cd98269faa13d63d70526dc SHA512 55047708ab428a819cb8b6881a76738efdaec365b6fb381419527012e7e29db867f5526f811041250f3d208f6c5e941c3eac7f473185967be5ebc6a20df52f48 WHIRLPOOL 781ede6207b2dfc19531dee7ce3579651c7b1f90226f70d66a565704551f2131db539b7f16f6295bdf122a1547aa0e13d25e98449119e1c04daa34537f67e3a4
+MISC ChangeLog 545 SHA256 800c8d1ee7f83aff8adaf6d03c10c285b902d9903bfb1a170f8172b7fbea5c57 SHA512 94da539a6d175bb7b7001553bf2d5ba4f1844b6f50d0f62773695982986c0402906f2935154dd5d6e58467ad900258c39872b4cb383ad6e5ddbbd4910bbb4468 WHIRLPOOL 4963e7fafcfeb0479376c47761d6a11946f229f50e856e129798182da838fad8f12c26c8eb9d340e74bbec73a64b66cb422381ee130d38823128eb768de2990a
MISC metadata.xml 389 SHA256 b806e422fd556295827b95056fbc19439e2ac5a48038757c1f839d2ef13db779 SHA512 8dd5fab6375a1a6e2ff2b4789152f4c54a396bca0d5a0c74adef569b67b501191d1b37c48946586872af536052366e3706ec484bcf1bef2db28166ad8aa4f50c WHIRLPOOL 383c481007b86677aa5c4e6b933a279a15f8cdb7e18930e3c2b58c3404fd15bd607e1c64a7cf07bd6c989e75e49f3b9b26c2a7313bf111e79291e59b66696c13
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlEOvMQACgkQso7CE7gHKw3JRwCgl+OPQQL7sCoY5tFRp/ZZjukY
-7/sAoLoPGkoisrJQlw4F7iVPUiYMdenP
-=jGzO
+iF4EAREIAAYFAlEOqfcACgkQC77qH+pIQ6T9dAD/dBhKb1UHQm2kNxsiT2VsIZou
+yImpyrW7ujKwHu5pM1AA/jyEyIpLfHFNbmk16uAepm0kpurBGl5XbiTclcWOa2Sl
+=42Mk
-----END PGP SIGNATURE-----
diff --git a/dev-python/alembic/alembic-0.4.2.ebuild b/dev-python/alembic/alembic-0.4.2.ebuild
index 9014becaa307..8bcb5660a4bd 100644
--- a/dev-python/alembic/alembic-0.4.2.ebuild
+++ b/dev-python/alembic/alembic-0.4.2.ebuild
@@ -1,15 +1,9 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/alembic/alembic-0.4.2.ebuild,v 1.1 2013/02/03 03:41:02 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/alembic/alembic-0.4.2.ebuild,v 1.2 2013/02/03 18:18:30 floppym Exp $
EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-# NOTE: I haven't tested if python <2.7 works.
-# TODO: python 3.x support bugs:
-# https://bitbucket.org/zzzeek/alembic/issue/102/alembic-042-tests-does-not-pass-on-python
-# TODO: dependency on sqlalchemy <0.7.9 does not pass test suite bugs:
-# https://bitbucket.org/zzzeek/alembic/issue/96/testsuite-does-not-pass not pass
+PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2} )
inherit distutils-r1
@@ -36,6 +30,10 @@ python_install_all() {
}
python_test() {
- nosetests || die
- # NOTE: don't use setup.py test bugs: https://bitbucket.org/zzzeek/alembic/issue/96/testsuite-does-not-pass
+ cp -r test.cfg tests "${BUILD_DIR}" || die
+ cd "${BUILD_DIR}" || die
+ if [[ ${EPYTHON} == python3* ]]; then
+ 2to3 -w -n tests || die
+ fi
+ nosetests || die "Testing failed with ${EPYTHON}"
}