Gentoo Archives: gentoo-commits

From: Guilherme Amadio <amadio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/m2crypto/
Date: Mon, 28 Aug 2017 17:34:06
Message-Id: 1503941200.996c239647552cf44de1eda5be28d97744ab46e8.amadio@gentoo
1 commit: 996c239647552cf44de1eda5be28d97744ab46e8
2 Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 28 17:26:09 2017 +0000
4 Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 28 17:26:40 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=996c2396
7
8 dev-python/m2crypto: add prefix support
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11
12 dev-python/m2crypto/m2crypto-0.26.0.ebuild | 7 ++++++-
13 1 file changed, 6 insertions(+), 1 deletion(-)
14
15 diff --git a/dev-python/m2crypto/m2crypto-0.26.0.ebuild b/dev-python/m2crypto/m2crypto-0.26.0.ebuild
16 index f6ebb3ee901..55a09e51160 100644
17 --- a/dev-python/m2crypto/m2crypto-0.26.0.ebuild
18 +++ b/dev-python/m2crypto/m2crypto-0.26.0.ebuild
19 @@ -16,7 +16,8 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
20
21 LICENSE="BSD"
22 SLOT="0"
23 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64"
24 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
25 +
26 IUSE="libressl"
27
28 RDEPEND="
29 @@ -34,6 +35,10 @@ S="${WORKDIR}/${MY_PN}-${PV}"
30 # Tests access network, and fail randomly. Bug #431458.
31 RESTRICT=test
32
33 +python_compile() {
34 + distutils-r1_python_compile --openssl="${EPREFIX}"/usr
35 +}
36 +
37 python_test() {
38 esetup.py test
39 }