diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-08 02:19:30 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-08 02:19:30 +0000 |
commit | 4a5efc0d22dfe443220aa10eb0fa737e9ba48ed3 (patch) | |
tree | e0845e5ac92c956d9fafdf241a2fcf3ebba33f09 /dev-python/m2crypto | |
parent | Version bump. Adds preset interface (diff) | |
download | historical-4a5efc0d22dfe443220aa10eb0fa737e9ba48ed3.tar.gz historical-4a5efc0d22dfe443220aa10eb0fa737e9ba48ed3.tar.bz2 historical-4a5efc0d22dfe443220aa10eb0fa737e9ba48ed3.zip |
Set SUPPORT_PYTHON_ABIS.
Package-Manager: portage-14215-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python/m2crypto')
-rw-r--r-- | dev-python/m2crypto/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/m2crypto/Manifest | 4 | ||||
-rw-r--r-- | dev-python/m2crypto/m2crypto-0.20.1.ebuild | 25 |
3 files changed, 21 insertions, 14 deletions
diff --git a/dev-python/m2crypto/ChangeLog b/dev-python/m2crypto/ChangeLog index 67c8fb7e36fb..cc84ed6ec83a 100644 --- a/dev-python/m2crypto/ChangeLog +++ b/dev-python/m2crypto/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/m2crypto # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/m2crypto/ChangeLog,v 1.44 2009/09/07 19:55:51 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/m2crypto/ChangeLog,v 1.45 2009/09/08 02:19:30 arfrever Exp $ + + 08 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + m2crypto-0.20.1.ebuild: + Set SUPPORT_PYTHON_ABIS. *m2crypto-0.20.1 (07 Sep 2009) diff --git a/dev-python/m2crypto/Manifest b/dev-python/m2crypto/Manifest index 4270b0e09eb1..7994823da4a6 100644 --- a/dev-python/m2crypto/Manifest +++ b/dev-python/m2crypto/Manifest @@ -7,6 +7,6 @@ DIST m2crypto-0.18.2.tar.gz 386148 RMD160 9ba9b84a11eef454fb2483fdaf753b8eb39736 EBUILD m2crypto-0.16.ebuild 1424 RMD160 d8b384a573f553660aa00a90d0bcc6ee04b2c796 SHA1 e4a2794fe75b195edd8954fa721c63c116beddd2 SHA256 1fda869d384d418e9a62d1dade289b47d8919758159253daec4df3ba21d36928 EBUILD m2crypto-0.18.2.ebuild 1422 RMD160 c335b7f1bba6d09f7d5682d65e94405031e30b8b SHA1 bca7ee5aca9683d1157fdd9ba85be95fce2cf949 SHA256 35f6621308a12d7ee55b72ff6241f4247786fc51b725257237fe473775354f86 EBUILD m2crypto-0.19.1.ebuild 1391 RMD160 7f5f291e6195035bec86a06265c2776843421078 SHA1 033962ff97404d62edb3ea26cad2e59bfb9081e7 SHA256 791ff9bd732371de8089ed1d0e097009705675f1d4c4a929b7327d46555e2663 -EBUILD m2crypto-0.20.1.ebuild 1321 RMD160 02dded40524f714008b6f6d79506aec9d248a973 SHA1 2e78d3147e8eb6ce8e7085e5bf1f540a381fae76 SHA256 c1fa4e85d0fa057b7b7d7300e3eece65a8c0880d380cabebd11789bc100ad1dd -MISC ChangeLog 6094 RMD160 e5e69888546fc4203663eff0af92249b651f08c0 SHA1 42fd7b81b8a4a7f0b8180bbf32b6807a91b9e5c4 SHA256 197fbee9c2c4ad57065063b1eb6863b19e5f41ee08c58de9939307424059692d +EBUILD m2crypto-0.20.1.ebuild 1382 RMD160 7b866f24d3bca1f6f95d89cfc90ce8da2046ec09 SHA1 faa524987a79de5bfdec2809384a492fc821c205 SHA256 fb6cf080b63365c256b77fe09137024cd3614c588263eed27b384ee43d1acd14 +MISC ChangeLog 6222 RMD160 39aed5055b7477bb6c842b8b5a01191b3a318102 SHA1 b231a50fd4b74f8a6e57dfd4831acea0c6fa2ee4 SHA256 984ecfe9e64612a0f6f52a120c9ad11aa01773caa4936bca5878be0bc084a846 MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 diff --git a/dev-python/m2crypto/m2crypto-0.20.1.ebuild b/dev-python/m2crypto/m2crypto-0.20.1.ebuild index ffa5bf415c65..a711c47a450b 100644 --- a/dev-python/m2crypto/m2crypto-0.20.1.ebuild +++ b/dev-python/m2crypto/m2crypto-0.20.1.ebuild @@ -1,8 +1,9 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/m2crypto/m2crypto-0.20.1.ebuild,v 1.1 2009/09/07 19:55:51 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/m2crypto/m2crypto-0.20.1.ebuild,v 1.2 2009/09/08 02:19:30 arfrever Exp $ EAPI="2" +SUPPORT_PYTHON_ABIS="1" inherit distutils eutils multilib portability @@ -22,29 +23,31 @@ DEPEND="${RDEPEND} >=dev-lang/swig-1.3.25 doc? ( dev-python/epydoc ) dev-python/setuptools" +RESTRICT_PYTHON_ABIS="3.*" PYTHON_MODNAME="${MY_PN}" S="${WORKDIR}/${MY_PN}-${PV}" +DOCS="CHANGES" + +src_test() { + testing() { + PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" test + } + python_execute_function testing +} + src_install() { - DOCS="CHANGES INSTALL" distutils_src_install if use doc; then cd "${S}/demo" treecopy . "${D}/usr/share/doc/${PF}/example" - einfo "Generating API docs as requested..." + einfo "Generating API documentation..." cd "${S}/doc" - distutils_python_version - export PYTHONPATH="${PYTHONPATH}:${D}/usr/$(get_libdir)/python${PYVER}/site-packages" - einfo "${PYTHONPATH}" - epydoc --html --output=api --name=M2Crypto M2Crypto + PYTHONPATH="${PYTHONPATH}:${D}$(python_get_sitedir)" epydoc --html --output=api --name=M2Crypto M2Crypto fi dohtml -r * } - -src_test() { - "${python}" setup.py test || die "test failed" -} |