From: | "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/pycrypto: ChangeLog pycrypto-2.1.0_beta1.ebuild |
Date: | Mon, 02 Nov 2009 23:32:16 |
Message-Id: | E1N56Nc-0003Vv-Jk@stork.gentoo.org |
1 | arfrever 09/11/02 23:32:08 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pycrypto-2.1.0_beta1.ebuild |
5 | Log: |
6 | Version bump. |
7 | (Portage version: 14774-svn/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.76 dev-python/pycrypto/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pycrypto/ChangeLog?rev=1.76&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pycrypto/ChangeLog?rev=1.76&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pycrypto/ChangeLog?r1=1.75&r2=1.76 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-python/pycrypto/ChangeLog,v |
19 | retrieving revision 1.75 |
20 | retrieving revision 1.76 |
21 | diff -u -r1.75 -r1.76 |
22 | --- ChangeLog 11 Oct 2009 09:42:42 -0000 1.75 |
23 | +++ ChangeLog 2 Nov 2009 23:32:07 -0000 1.76 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for dev-python/pycrypto |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/pycrypto/ChangeLog,v 1.75 2009/10/11 09:42:42 grobian Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycrypto/ChangeLog,v 1.76 2009/11/02 23:32:07 arfrever Exp $ |
29 | + |
30 | +*pycrypto-2.1.0_beta1 (03 Nov 2009) |
31 | + |
32 | + 03 Nov 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
33 | + +pycrypto-2.1.0_beta1.ebuild, +files/pycrypto-2.1.0-gmp.patch: |
34 | + Version bump. |
35 | |
36 | 11 Oct 2009; Fabian Groffen <grobian@g.o> pycrypto-2.0.1-r8.ebuild, |
37 | +files/pycrypto-2.0.1-caseimport.patch: |
38 | |
39 | |
40 | |
41 | 1.1 dev-python/pycrypto/pycrypto-2.1.0_beta1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pycrypto/pycrypto-2.1.0_beta1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pycrypto/pycrypto-2.1.0_beta1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: pycrypto-2.1.0_beta1.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/pycrypto/pycrypto-2.1.0_beta1.ebuild,v 1.1 2009/11/02 23:32:07 arfrever Exp $ |
51 | |
52 | EAPI="2" |
53 | SUPPORT_PYTHON_ABIS="1" |
54 | |
55 | inherit distutils flag-o-matic |
56 | |
57 | MY_PV="${PV/_beta/b}" |
58 | |
59 | DESCRIPTION="Python Cryptography Toolkit" |
60 | HOMEPAGE="http://www.dlitz.net/software/pycrypto/" |
61 | SRC_URI="http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/${PN}-${MY_PV}.tar.gz" |
62 | |
63 | LICENSE="freedist" |
64 | SLOT="0" |
65 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
66 | IUSE="doc +gmp" |
67 | |
68 | RDEPEND="gmp? ( dev-libs/gmp )" |
69 | DEPEND="${RDEPEND} |
70 | doc? ( dev-python/docutils dev-python/epydoc )" |
71 | RESTRICT_PYTHON_ABIS="3.*" |
72 | |
73 | S="${WORKDIR}/${PN}-${MY_PV}" |
74 | |
75 | DOCS="ACKS ChangeLog README TODO" |
76 | |
77 | pkg_setup() { |
78 | # Some tests fail with some limit of inlining of functions. |
79 | append-flags -fno-inline-functions |
80 | } |
81 | |
82 | src_prepare() { |
83 | distutils_src_prepare |
84 | epatch "${FILESDIR}/${PN}-2.1.0-gmp.patch" |
85 | } |
86 | |
87 | src_configure() { |
88 | use gmp \ |
89 | && export USE_GMP="1" \ |
90 | || export USE_GMP="0" |
91 | } |
92 | |
93 | src_compile() { |
94 | distutils_src_compile |
95 | |
96 | if use doc; then |
97 | rst2html.py Doc/pycrypt.rst > Doc/index.html |
98 | |
99 | # Build documentation only once. |
100 | documentation_built="0" |
101 | generate_documentation() { |
102 | [[ "${documentation_built}" == "1" ]] && return |
103 | PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" epydoc --config=Doc/epydoc-config --exclude-introspect="^Crypto\.(Random\.OSRNG\.nt|Util\.winrandom)$" || die "Generation of documentation failed" |
104 | documentation_built="1" |
105 | } |
106 | python_execute_function -q generate_documentation |
107 | unset documentation_built |
108 | fi |
109 | } |
110 | |
111 | src_test() { |
112 | testing() { |
113 | PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" test |
114 | } |
115 | python_execute_function testing |
116 | } |
117 | |
118 | src_install() { |
119 | distutils_src_install |
120 | |
121 | if use doc; then |
122 | dohtml Doc/index.html || die "dohtml failed" |
123 | dohtml Doc/apidoc/* || die "dohtml failed" |
124 | fi |
125 | } |