1 |
commit: 954ba3c866b9e9a91509970553b9c397ecbd0c2e |
2 |
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 18 20:28:54 2016 +0000 |
4 |
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 18 20:43:53 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=954ba3c8 |
7 |
|
8 |
dev-python/m2crypto: Bump |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
|
12 |
dev-python/m2crypto/Manifest | 1 + |
13 |
dev-python/m2crypto/m2crypto-0.23.0.ebuild | 39 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/m2crypto/Manifest b/dev-python/m2crypto/Manifest |
17 |
index 5ceb0d4..e2ea80b 100644 |
18 |
--- a/dev-python/m2crypto/Manifest |
19 |
+++ b/dev-python/m2crypto/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST M2Crypto-0.22.3.tar.gz 74795 SHA256 6071bfc817d94723e9b458a010d565365104f84aa73f7fe11919871f7562ff72 SHA512 c179d3cf03ced77aed24285ca3f1527d5e05bbfe091a1522bff94a940fd390213fbb9b83d7ccd43ceae49626b427ae8790782cf93ead85be1e063bc4121c62e0 WHIRLPOOL 66a9a6e7c9b195814048a1bcecf6ef71a269bebb9dbda73801c88b3ba27330b555a46d05c53bbd0778f9c1e1bb5f9c6e7e860de443bf16baffc2072ee5996e31 |
22 |
+DIST M2Crypto-0.23.0.tar.gz 183590 SHA256 1ac3b6eafa5ff7e2a0796675316d7569b28aada45a7ab74042ad089d15a9567f SHA512 b1c57328c60cb82fdc196c491d9518d58a996fbae35e32b0bd20d3d38ec8f72d0981ba7dde154f7684224ce9ee38e69460328f1bd8931b16210233c8199e6c51 WHIRLPOOL a618c294e59ede845cec02cc28146fa05b8ac68959e10c19eb2d6b97b113cf87620d89226ff9453f66fc7f4592e7a106ddf75b946cd4042f754c0c6dd9759fbd |
23 |
|
24 |
diff --git a/dev-python/m2crypto/m2crypto-0.23.0.ebuild b/dev-python/m2crypto/m2crypto-0.23.0.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..5700645 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/m2crypto/m2crypto-0.23.0.ebuild |
29 |
@@ -0,0 +1,39 @@ |
30 |
+# Copyright 1999-2015 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=5 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python2_7 ) |
37 |
+PYTHON_REQ_USE="threads(+)" |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+MY_PN="M2Crypto" |
42 |
+ |
43 |
+DESCRIPTION="M2Crypto: A Python crypto and SSL toolkit" |
44 |
+HOMEPAGE="https://github.com/martinpaljak/M2Crypto https://pypi.python.org/pypi/M2Crypto" |
45 |
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" |
46 |
+ |
47 |
+LICENSE="BSD" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
50 |
+IUSE="libressl" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ !libressl? ( >=dev-libs/openssl-0.9.8:0= ) |
54 |
+ libressl? ( dev-libs/libressl:= ) |
55 |
+" |
56 |
+DEPEND="${RDEPEND} |
57 |
+ >=dev-lang/swig-1.3.28:0 |
58 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
59 |
+" |
60 |
+ |
61 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
62 |
+ |
63 |
+# Tests access network, and fail randomly. Bug #431458. |
64 |
+RESTRICT=test |
65 |
+ |
66 |
+python_test() { |
67 |
+ esetup.py test |
68 |
+} |