summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-05 17:10:13 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-05 17:10:13 +0000
commit960a6851ae2f44e7b882344cd6861275684c27a0 (patch)
tree285efacca58a7f2b941ecaa9de39e3a7f95324ed /dev-python/storm
parentSet SUPPORT_PYTHON_ABIS. (diff)
downloadhistorical-960a6851ae2f44e7b882344cd6861275684c27a0.tar.gz
historical-960a6851ae2f44e7b882344cd6861275684c27a0.tar.bz2
historical-960a6851ae2f44e7b882344cd6861275684c27a0.zip
Set SUPPORT_PYTHON_ABIS.
Package-Manager: portage-14200-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python/storm')
-rw-r--r--dev-python/storm/ChangeLog6
-rw-r--r--dev-python/storm/Manifest4
-rw-r--r--dev-python/storm/storm-0.15.ebuild21
3 files changed, 21 insertions, 10 deletions
diff --git a/dev-python/storm/ChangeLog b/dev-python/storm/ChangeLog
index 6cbdc2a41aeb..74c055b17a5b 100644
--- a/dev-python/storm/ChangeLog
+++ b/dev-python/storm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/storm
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/ChangeLog,v 1.5 2009/09/04 15:45:46 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/ChangeLog,v 1.6 2009/09/05 17:10:13 arfrever Exp $
+
+ 05 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ storm-0.15.ebuild:
+ Set SUPPORT_PYTHON_ABIS.
*storm-0.15 (04 Sep 2009)
diff --git a/dev-python/storm/Manifest b/dev-python/storm/Manifest
index 61e1fa85f690..ad64421697fb 100644
--- a/dev-python/storm/Manifest
+++ b/dev-python/storm/Manifest
@@ -1,6 +1,6 @@
DIST storm-0.14.tar.bz2 165197 RMD160 a2aac2a690e5f2e36544d9b74dc374fd53791f7d SHA1 23f8354f7e79ce817a6a2e4233f826ae2039c513 SHA256 ae5b8e7a6b1e0f0f284d4eb169e583bd8ef5e7ccfc8a8ff17587cc906e664f3d
DIST storm-0.15.tar.bz2 173020 RMD160 825caf33a7248f6b65c6d41ace83f80fe2eaaf77 SHA1 bf67ac73f925d67f28c7dda9f2c75d215e9f22ba SHA256 512396787c4361927bdab223e959486150e20a258c1f713b20373dd0ca6cf713
EBUILD storm-0.14.ebuild 1517 RMD160 954801e85e9eecdbcc55a6aca05410b1bd376c70 SHA1 694b8d9832b7927e4a11709b1f74855650ea3b08 SHA256 7a3a501def01cf387f1dccb7e79419af5264ba1252d56349d102660255a0194e
-EBUILD storm-0.15.ebuild 1517 RMD160 d1b2b350f19661beb09ad0234ab93ddd999f6fc6 SHA1 2e0cf1c2e343f6e4839145ed2e18609a052e549b SHA256 0a2aebec79e114007e076f2e40f6a6e30aab9057e97ed14c9f309b64a7d3958f
-MISC ChangeLog 974 RMD160 a8938da1c181fdbcddf2b5bb0a72ad54bfcf37f1 SHA1 560a00aad287ba76909a090498c9aca8e98cc6bd SHA256 c6359e5294fc4c4dfd4f89e9d874c131cfd606f44b67fec4777993e6a3dd0379
+EBUILD storm-0.15.ebuild 1657 RMD160 02b274aad954a20c7db36b92c21c64edabb3f7e7 SHA1 f4e35bc09e92f57ad9df44ea408555fee18fd728 SHA256 23cc8b78b8ef086048e55410e1087c38b675655ba07464ee32e944111ea335c6
+MISC ChangeLog 1097 RMD160 7ebb5d42d479d8724f1e89117ce1a851c0b8292e SHA1 ffdae585d15de2b52e35f97daf76918c4094268d SHA256 44c79727471a8cb1619e6c4e9af00c3b01aa19f7a4a2f9f2bf09e7f1007ee19e
MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
diff --git a/dev-python/storm/storm-0.15.ebuild b/dev-python/storm/storm-0.15.ebuild
index d80263dcf41a..b2a2260b1474 100644
--- a/dev-python/storm/storm-0.15.ebuild
+++ b/dev-python/storm/storm-0.15.ebuild
@@ -1,8 +1,11 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/storm-0.15.ebuild,v 1.1 2009/09/04 15:45:46 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/storm-0.15.ebuild,v 1.2 2009/09/05 17:10:13 arfrever Exp $
-NEED_PYTHON=2.4
+EAPI="2"
+
+NEED_PYTHON="2.4"
+SUPPORT_PYTHON_ABIS="1"
inherit distutils
@@ -16,21 +19,22 @@ IUSE="mysql postgres sqlite test"
RDEPEND="mysql? ( dev-python/mysql-python )
postgres? ( =dev-python/psycopg-2* )
- sqlite? ( || ( dev-python/pysqlite >=dev-lang/python-2.5 ) )"
+ sqlite? ( || ( >=dev-lang/python-2.5[sqlite] dev-python/pysqlite ) )"
DEPEND="dev-python/setuptools
- test? ( || ( dev-python/pysqlite >=dev-lang/python-2.5 ) )"
+ test? ( || ( >=dev-lang/python-2.5[sqlite] dev-python/pysqlite ) )"
+RESTRICT_PYTHON_ABIS="3.*"
DOCS="tests/tutorial.txt"
src_test() {
- if use postgres ; then
+ if use postgres; then
elog "To run the PostgreSQL-tests, you need:"
elog " - a running postgresql-server"
elog " - an already existing database 'db'"
elog " - a user 'user' with full permissions on that database"
elog " - and an environment variable STORM_POSTGRES_URI=\"postgres://user:password@host:1234/db\""
fi
- if use mysql ; then
+ if use mysql; then
elog "To run the MySQL-tests, you need:"
elog " - a running mysql-server"
elog " - an already existing database 'db'"
@@ -38,5 +42,8 @@ src_test() {
elog " - and an environment variable STORM_MYSQL_URI=\"mysql://user:password@host:1234/db\""
fi
- PYTHONPATH=. "${python}" test || die "tests failed"
+ testing() {
+ PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" test
+ }
+ python_execute_function testing
}