From: | "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/pyopenssl: pyopenssl-0.9-r1.ebuild ChangeLog |
Date: | Sun, 02 Aug 2009 05:47:29 |
Message-Id: | E1MXTuo-0000jh-Qd@stork.gentoo.org |
1 | arfrever 09/08/02 05:47:26 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pyopenssl-0.9-r1.ebuild |
5 | Log: |
6 | Set SUPPORT_PYTHON_ABIS. |
7 | (Portage version: 13874-svn/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.33 dev-python/pyopenssl/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyopenssl/ChangeLog?rev=1.33&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyopenssl/ChangeLog?rev=1.33&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyopenssl/ChangeLog?r1=1.32&r2=1.33 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-python/pyopenssl/ChangeLog,v |
19 | retrieving revision 1.32 |
20 | retrieving revision 1.33 |
21 | diff -u -r1.32 -r1.33 |
22 | --- ChangeLog 17 Jul 2009 18:14:05 -0000 1.32 |
23 | +++ ChangeLog 2 Aug 2009 05:47:26 -0000 1.33 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for dev-python/pyopenssl |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopenssl/ChangeLog,v 1.32 2009/07/17 18:14:05 nixnut Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopenssl/ChangeLog,v 1.33 2009/08/02 05:47:26 arfrever Exp $ |
29 | + |
30 | +*pyopenssl-0.9-r1 (02 Aug 2009) |
31 | + |
32 | + 02 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
33 | + +pyopenssl-0.9-r1.ebuild: |
34 | + Set SUPPORT_PYTHON_ABIS. |
35 | |
36 | 17 Jul 2009; nixnut <nixnut@g.o> pyopenssl-0.9.ebuild: |
37 | ppc stable #274897 |
38 | |
39 | |
40 | |
41 | 1.1 dev-python/pyopenssl/pyopenssl-0.9-r1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyopenssl/pyopenssl-0.9-r1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyopenssl/pyopenssl-0.9-r1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: pyopenssl-0.9-r1.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2009 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-python/pyopenssl/pyopenssl-0.9-r1.ebuild,v 1.1 2009/08/02 05:47:26 arfrever Exp $ |
51 | |
52 | EAPI="2" |
53 | SUPPORT_PYTHON_ABIS="1" |
54 | |
55 | inherit distutils eutils |
56 | |
57 | MY_P=${P/openssl/OpenSSL} |
58 | S=${WORKDIR}/${MY_P} |
59 | |
60 | DESCRIPTION="Python interface to the OpenSSL library" |
61 | HOMEPAGE="http://pyopenssl.sourceforge.net/" |
62 | SRC_URI="mirror://sourceforge/pyopenssl/${MY_P}.tar.gz" |
63 | |
64 | LICENSE="LGPL-2.1" |
65 | SLOT="0" |
66 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
67 | IUSE="doc" |
68 | |
69 | RDEPEND=">=dev-libs/openssl-0.9.6g" |
70 | DEPEND="${RDEPEND} |
71 | doc? ( >=dev-tex/latex2html-2002.2 )" |
72 | |
73 | RESTRICT_PYTHON_ABIS="3*" |
74 | |
75 | src_prepare() { |
76 | epatch "${FILESDIR}/${P}-tests.patch" |
77 | } |
78 | |
79 | src_compile() { |
80 | distutils_src_compile |
81 | if use doc; then |
82 | addwrite /var/cache/fonts |
83 | # This one seems to be unnecessary with a recent tetex, but |
84 | # according to bugs it was definitely necessary in the past, |
85 | # so leaving it in. |
86 | addwrite /usr/share/texmf/fonts/pk |
87 | |
88 | cd "${S}"/doc |
89 | make html ps dvi |
90 | fi |
91 | } |
92 | |
93 | src_test() { |
94 | test_package() { |
95 | pushd test > /dev/null |
96 | PYTHONPATH="$(ls -d ../build-${PYTHON_ABI}/lib.*)" "$(get_python)" test_crypto.py || die "test_crypto.py failed" |
97 | PYTHONPATH="$(ls -d ../build-${PYTHON_ABI}/lib.*)" "$(get_python)" test_ssl.py || die "test_ssl.py failed" |
98 | popd > /dev/null |
99 | } |
100 | python_execute_function test_package |
101 | } |
102 | |
103 | src_install() { |
104 | distutils_src_install |
105 | |
106 | if use doc; then |
107 | dohtml "${S}"/doc/html/* |
108 | dodoc "${S}"/doc/pyOpenSSL.* |
109 | fi |
110 | |
111 | # Install examples |
112 | docinto examples |
113 | dodoc "${S}"/examples/* |
114 | docinto examples/simple |
115 | dodoc "${S}"/examples/simple/* |
116 | } |
117 | |
118 | pkg_postinst() { |
119 | python_mod_optimize OpenSSL |
120 | } |
121 | |
122 | pkg_postrm() { |
123 | python_mod_cleanup OpenSSL |
124 | } |