diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-07-18 15:07:29 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-07-18 15:07:29 +0000 |
commit | e7da6eac1850080df5f7524a39f6b4c9149186eb (patch) | |
tree | 09ef8d7e9113820f0b6e803728db9e550e3fff3c /dev-python/python-levenshtein | |
parent | sparc stable wrt #324283 (diff) | |
download | historical-e7da6eac1850080df5f7524a39f6b4c9149186eb.tar.gz historical-e7da6eac1850080df5f7524a39f6b4c9149186eb.tar.bz2 historical-e7da6eac1850080df5f7524a39f6b4c9149186eb.zip |
Set SUPPORT_PYTHON_ABIS.
Package-Manager: portage-HEAD/cvs/Linux x86_64
Diffstat (limited to 'dev-python/python-levenshtein')
-rw-r--r-- | dev-python/python-levenshtein/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/python-levenshtein/Manifest | 4 | ||||
-rw-r--r-- | dev-python/python-levenshtein/python-levenshtein-0.10.ebuild | 42 |
3 files changed, 36 insertions, 18 deletions
diff --git a/dev-python/python-levenshtein/ChangeLog b/dev-python/python-levenshtein/ChangeLog index 2ba699e9d943..4d93ca42ce89 100644 --- a/dev-python/python-levenshtein/ChangeLog +++ b/dev-python/python-levenshtein/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/python-levenshtein -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-levenshtein/ChangeLog,v 1.5 2009/01/31 23:46:59 patrick Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-levenshtein/ChangeLog,v 1.6 2010/07/18 15:07:29 arfrever Exp $ + + 18 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-levenshtein-0.10.ebuild: + Set SUPPORT_PYTHON_ABIS. 31 Jan 2009; Patrick Lauer <patrick@gentoo.org> python-levenshtein-0.10.ebuild: diff --git a/dev-python/python-levenshtein/Manifest b/dev-python/python-levenshtein/Manifest index 77c8a3ed7918..72735a3649c3 100644 --- a/dev-python/python-levenshtein/Manifest +++ b/dev-python/python-levenshtein/Manifest @@ -1,5 +1,5 @@ AUX genextdoc.py 7030 RMD160 e00cf334b442c943baa16f10099e134825f60712 SHA1 3f0055897c75e41b200ef7b7c78b02806716fd2b SHA256 dbead639bf081a8016a5abddf91a24ff3da8ef825a7fa7c5dc37a16da7fd0be8 DIST python-Levenshtein-0.10.tar.bz2 36998 RMD160 d542b9a73e1b20de1f7f8360ce51ae142c324605 SHA1 67c71e26a0d33c5f2d60b63004019df6cf38e2de SHA256 bf23cf07f1d55c69402f5f54c62e07546bf713ac567b18c9f9b880a915a1ade9 -EBUILD python-levenshtein-0.10.ebuild 861 RMD160 346e6efd98da7f282cab99b7e8358af125a91bd4 SHA1 0949bcc3dad79caafc79ee507b211da234bac180 SHA256 7cf3d6a92fc0d289b2417ef71f41c6821751af4ac1f7e065500014871d93c7ab -MISC ChangeLog 640 RMD160 5b485ad5675a06c6025ae88f46ca3e906cacf1b5 SHA1 6ddce09cd2181b14fe7a745620d0bb8a0186bd69 SHA256 60fbff2ff0b95ebef63f3eb6d705619051e620b0894862ab839158c5455ab255 +EBUILD python-levenshtein-0.10.ebuild 1149 RMD160 7dd1b2dba7e8849babea56322ee08b19da20abc8 SHA1 d0e858a1274704c2ecf4f4384607dd01914f6ed8 SHA256 7c50049c223c286efa40c96ccd97070d450315c41b057d90ae69e2c1733f3ccb +MISC ChangeLog 776 RMD160 6fa25651ef756bb0a33f2abb9c4caa09034609b3 SHA1 194aeb6417d408213926034c2649c611ed7d158a SHA256 b190d40381b402a9016274c2d513a70e4d1c9b34df925bba113e35c3a3b45503 MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 diff --git a/dev-python/python-levenshtein/python-levenshtein-0.10.ebuild b/dev-python/python-levenshtein/python-levenshtein-0.10.ebuild index 221e2aa76781..9aa755f2f976 100644 --- a/dev-python/python-levenshtein/python-levenshtein-0.10.ebuild +++ b/dev-python/python-levenshtein/python-levenshtein-0.10.ebuild @@ -1,30 +1,44 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-levenshtein/python-levenshtein-0.10.ebuild,v 1.5 2009/01/31 23:46:59 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-levenshtein/python-levenshtein-0.10.ebuild,v 1.6 2010/07/18 15:07:29 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" inherit distutils -MY_P=${P/l/L} -S=${WORKDIR}/${MY_P} +MY_PN="python-Levenshtein" +MY_P="${MY_PN}-${PV}" DESCRIPTION="Levenshtein contains functions for fast computation of Levenshtein (edit) distance, and edit operations" -SRC_URI="http://trific.ath.cx/Ftp//python/levenshtein/${MY_P}.tar.bz2" HOMEPAGE="http://trific.ath.cx/resources/python/levenshtein/" -IUSE="doc" +SRC_URI="http://trific.ath.cx/Ftp//python/levenshtein/${MY_P}.tar.bz2" + LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ia64 ~x86" +IUSE="doc" + +DEPEND="" +RDEPEND="" -DEPEND="virtual/python" +S="${WORKDIR}/${MY_P}" -src_unpack(){ - unpack ${A} - use doc && ( cp ${FILESDIR}/genextdoc.py ${T} - chmod +x ${T}/genextdoc.py ) +src_compile() { + distutils_src_compile + + if use doc; then + einfo "Generation of documentation" + PYTHONPATH="$(ls -d build-$(PYTHON -f --ABI)/lib.*)" "$(PYTHON -f)" "${FILESDIR}/genextdoc.py" Levenshtein || die "Generation of documentation failed" + fi } -src_install(){ +src_install() { distutils_src_install - use doc && ( ${T}/genextdoc.py Levenshtein - dohtml Levenshtein.html ) + + if use doc; then + dohtml Levenshtein.html || die "Installation of documentation failed" + fi } |