diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-02 05:47:26 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-02 05:47:26 +0000 |
commit | 2551863e91d7d547552e2b9224f1b83e72349ded (patch) | |
tree | 750fa6a13e45bde6abb89bb429bcffedeb573ba9 /dev-python/pyopenssl | |
parent | s/aac/faac/ (diff) | |
download | historical-2551863e91d7d547552e2b9224f1b83e72349ded.tar.gz historical-2551863e91d7d547552e2b9224f1b83e72349ded.tar.bz2 historical-2551863e91d7d547552e2b9224f1b83e72349ded.zip |
Set SUPPORT_PYTHON_ABIS.
Package-Manager: portage-13874-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pyopenssl')
-rw-r--r-- | dev-python/pyopenssl/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/pyopenssl/Manifest | 3 | ||||
-rw-r--r-- | dev-python/pyopenssl/pyopenssl-0.9-r1.ebuild | 77 |
3 files changed, 86 insertions, 2 deletions
diff --git a/dev-python/pyopenssl/ChangeLog b/dev-python/pyopenssl/ChangeLog index e76dd99a276a..48d78f2ab9bc 100644 --- a/dev-python/pyopenssl/ChangeLog +++ b/dev-python/pyopenssl/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/pyopenssl # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopenssl/ChangeLog,v 1.32 2009/07/17 18:14:05 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopenssl/ChangeLog,v 1.33 2009/08/02 05:47:26 arfrever Exp $ + +*pyopenssl-0.9-r1 (02 Aug 2009) + + 02 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +pyopenssl-0.9-r1.ebuild: + Set SUPPORT_PYTHON_ABIS. 17 Jul 2009; nixnut <nixnut@gentoo.org> pyopenssl-0.9.ebuild: ppc stable #274897 diff --git a/dev-python/pyopenssl/Manifest b/dev-python/pyopenssl/Manifest index 52bcacb56b43..cc16b2ecabaf 100644 --- a/dev-python/pyopenssl/Manifest +++ b/dev-python/pyopenssl/Manifest @@ -10,6 +10,7 @@ EBUILD pyopenssl-0.6-r1.ebuild 1249 RMD160 c5c026f7d9447d83e96b04effd4d869309d3d EBUILD pyopenssl-0.6.ebuild 1075 RMD160 0b1bc7f04c3fbf21efa3daddc94580bbae01bc54 SHA1 0baa6f21ab3a6cb3ffc10d5459cdca501a9a259e SHA256 994c1af3147f1f9135980641280fcc7534ca8c3167e48f3aee34ddf68502d17a EBUILD pyopenssl-0.7.ebuild 1537 RMD160 4c9db518d3eaedd55cb4831cd30e129aa835be2a SHA1 64ffaabbf8a72c16f7d56bdf1b879586dc04a8bb SHA256 becc729538c93dfc671b5a4281e2960ac48398829c1904842511c4a622a4d3ec EBUILD pyopenssl-0.8.ebuild 1458 RMD160 3baca46eec9c31a56fbe7c829131bef55f974e90 SHA1 6607f4a9f0b1615853a096598ce0313ebe25a3aa SHA256 0deec973e495a4b0e8e45e36aaea9a4d09122920cdad00446de7af66fcba6ca7 +EBUILD pyopenssl-0.9-r1.ebuild 1798 RMD160 bafe9cf06bfeeea3fa51a4beca44b25fe9dd0bac SHA1 2088a6b69c88e9a458d8fe363996c12a951a7a63 SHA256 f4d9f6bdfe02c7fb6c27358682631838641cb4c72c3f5561f75d6a617ec0cd6f EBUILD pyopenssl-0.9.ebuild 1504 RMD160 e3491c42d6d886489b7103d8ec725e3c36dcc6d0 SHA1 0365e9e588844e8939d77abb1085250a0adad7d6 SHA256 396a4f20574054e92dd02d500a22bd31e686fce5dd225c8737bd28923bc02075 -MISC ChangeLog 4806 RMD160 e8e4e436f9feec4d12281ca58a5136140e07f69b SHA1 c43bd1a8e950581d6bea14cc6e6a7fe7340d07f8 SHA256 f1e9d161a5b62c62af5718a71ffe58e899c9744c43aff7188e24daf26d0a6bee +MISC ChangeLog 4970 RMD160 1204ce7962420e66c028b5a3cc1ec2a42d9cdba0 SHA1 fc4778930ee6adbb4163b6e5f882121c0388838e SHA256 0eabc4e66065ea790dd2b09d9f2a4a3447b3a363a061bb4edb52bdcc0ddaec21 MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 diff --git a/dev-python/pyopenssl/pyopenssl-0.9-r1.ebuild b/dev-python/pyopenssl/pyopenssl-0.9-r1.ebuild new file mode 100644 index 000000000000..2998be8e871c --- /dev/null +++ b/dev-python/pyopenssl/pyopenssl-0.9-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopenssl/pyopenssl-0.9-r1.ebuild,v 1.1 2009/08/02 05:47:26 arfrever Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils eutils + +MY_P=${P/openssl/OpenSSL} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="Python interface to the OpenSSL library" +HOMEPAGE="http://pyopenssl.sourceforge.net/" +SRC_URI="mirror://sourceforge/pyopenssl/${MY_P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="doc" + +RDEPEND=">=dev-libs/openssl-0.9.6g" +DEPEND="${RDEPEND} + doc? ( >=dev-tex/latex2html-2002.2 )" + +RESTRICT_PYTHON_ABIS="3*" + +src_prepare() { + epatch "${FILESDIR}/${P}-tests.patch" +} + +src_compile() { + distutils_src_compile + if use doc; then + addwrite /var/cache/fonts + # This one seems to be unnecessary with a recent tetex, but + # according to bugs it was definitely necessary in the past, + # so leaving it in. + addwrite /usr/share/texmf/fonts/pk + + cd "${S}"/doc + make html ps dvi + fi +} + +src_test() { + test_package() { + pushd test > /dev/null + PYTHONPATH="$(ls -d ../build-${PYTHON_ABI}/lib.*)" "$(get_python)" test_crypto.py || die "test_crypto.py failed" + PYTHONPATH="$(ls -d ../build-${PYTHON_ABI}/lib.*)" "$(get_python)" test_ssl.py || die "test_ssl.py failed" + popd > /dev/null + } + python_execute_function test_package +} + +src_install() { + distutils_src_install + + if use doc; then + dohtml "${S}"/doc/html/* + dodoc "${S}"/doc/pyOpenSSL.* + fi + + # Install examples + docinto examples + dodoc "${S}"/examples/* + docinto examples/simple + dodoc "${S}"/examples/simple/* +} + +pkg_postinst() { + python_mod_optimize OpenSSL +} + +pkg_postrm() { + python_mod_cleanup OpenSSL +} |