diff options
author | Johan Bergström (jbergstroem) <bugs@bergstroem.nu> | 2009-12-30 14:36:22 +0000 |
---|---|---|
committer | Johan Bergström (jbergstroem) <bugs@bergstroem.nu> | 2009-12-30 14:36:22 +0000 |
commit | 0fd9ceb4ea7771d07fc39f4b749daf77762fb566 (patch) | |
tree | baab99c008af59601255b8e296514ae7101d8944 /dev-python/pylibmc | |
parent | Automatic update to use.local.desc (diff) | |
download | sunrise-0fd9ceb4ea7771d07fc39f4b749daf77762fb566.tar.gz sunrise-0fd9ceb4ea7771d07fc39f4b749daf77762fb566.tar.bz2 sunrise-0fd9ceb4ea7771d07fc39f4b749daf77762fb566.zip |
dev-python/pylibmc: Version bump. Add Python ABI support
svn path=/sunrise/; revision=9794
Diffstat (limited to 'dev-python/pylibmc')
-rw-r--r-- | dev-python/pylibmc/ChangeLog | 4 | ||||
-rw-r--r-- | dev-python/pylibmc/Manifest | 6 | ||||
-rw-r--r-- | dev-python/pylibmc/pylibmc-1.0_alpha.ebuild (renamed from dev-python/pylibmc/pylibmc-0.9.2.ebuild) | 24 |
3 files changed, 23 insertions, 11 deletions
diff --git a/dev-python/pylibmc/ChangeLog b/dev-python/pylibmc/ChangeLog index 96a6ea49b..6a9701e79 100644 --- a/dev-python/pylibmc/ChangeLog +++ b/dev-python/pylibmc/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 30 Dec 2009; Johan Bergström (jbergstroem) <bugs@bergstroem.nu> + -pylibmc-0.9.2.ebuild, +pylibmc-1.0_alpha.ebuild: + Version bump. Add Python ABI support + 25 Nov 2009; Johan Bergström (jbergstroem) <bugs@bergstroem.nu> -pylibmc-0.9.1.ebuild, +pylibmc-0.9.2.ebuild: Version bump diff --git a/dev-python/pylibmc/Manifest b/dev-python/pylibmc/Manifest index 5bb28d651..8fb1b3160 100644 --- a/dev-python/pylibmc/Manifest +++ b/dev-python/pylibmc/Manifest @@ -1,4 +1,4 @@ -DIST pylibmc-0.9.2.tar.gz 20901 RMD160 d4bccc55a1cfed796e3547c7bcd57ce99bede638 SHA1 ce6f18757ff4b5d262f857ecc9035f41cde48cc1 SHA256 21cf60c56d4ceb466e74e9699377e89e520bb63a74dd327447eb95ec7747cf58 -EBUILD pylibmc-0.9.2.ebuild 558 RMD160 34ebc6b989f49b67ba3ee4900bb2cf952f90a813 SHA1 ba03260245085ae91b72721106c1cde3b0833a8b SHA256 5cea4731c7962369f72118f2251ca3a3cfac4f55fab92805f063247e7d51d911 -MISC ChangeLog 1253 RMD160 0b48f6e62e28b0528374f6387fd2aaee5c6a8110 SHA1 7c493a58185b87dda000f7b3c61029bcecf0d004 SHA256 86dece6674c12273356b4dc9cac48d554157b3059b39ed892ce7440fc72ccdd2 +DIST pylibmc-1.0-alpha.tar.gz 23057 RMD160 ff54762ef11f229c9625ab301f3a325db0cafe54 SHA1 e2ada8d7d0f737378d6d261490c75ca5b921dacf SHA256 ea6ddeb9bfce7d341ce0c22ae3d6223afa90a3630f7a83cf929265d940541365 +EBUILD pylibmc-1.0_alpha.ebuild 791 RMD160 53a44acee0ac6e2ce55d66df1e871c6c8730006f SHA1 373d9912f8575912b132e4af950c7f4a58a10bf8 SHA256 455a5050595464ccb334f271e1a5704c5ab614602e5b2c1f3cd7a93267bc11ec +MISC ChangeLog 1412 RMD160 a36da299f349709429e02d85080fe9d2658c1e2f SHA1 14e6eaac11a2f0eab97dac74595d2d46f1b5d7fc SHA256 2b909e60d3ee316b85e5d1c0ba798df2c4aa5ffef674c45401403cb7f12119b4 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/dev-python/pylibmc/pylibmc-0.9.2.ebuild b/dev-python/pylibmc/pylibmc-1.0_alpha.ebuild index d38c4c321..2da4601ef 100644 --- a/dev-python/pylibmc/pylibmc-0.9.2.ebuild +++ b/dev-python/pylibmc/pylibmc-1.0_alpha.ebuild @@ -2,22 +2,30 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -inherit distutils +inherit distutils versionator +SUPPORT_PYTHON_ABIS="1" +MY_P=${PN}-$(replace_version_separator 2 '-') DESCRIPTION="Libmemcached wrapper written as a Python extension" HOMEPAGE="http://lericson.blogg.se/code/category/pylibmc.html" -SRC_URI="http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz" +SRC_URI="http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" RDEPEND=">=dev-libs/libmemcached-0.26 dev-lang/python" DEPEND="${RDEPEND} dev-python/setuptools" +RESTRICT_PYTHON_ABIS="3.*" -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" +S=${WORKDIR}/${MY_P} src_test() { - ${python} tests.py || die "Tests failed" -} + testing() { + PYTHONPATH="$(dir -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" tests.py || die "Tests failed" + } + python_execute_function testing +}
\ No newline at end of file |