Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/acme/
Date: Sun, 06 Dec 2015 18:32:43
Message-Id: 1449426605.496bb925650636af90c52e08e2a1f08399f4c295.mrueg@gentoo
1 commit: 496bb925650636af90c52e08e2a1f08399f4c295
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 6 18:30:05 2015 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 6 18:30:05 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=496bb925
7
8 app-crypt/acme: Add support for regular releases
9
10 Package-Manager: portage-2.2.26
11
12 app-crypt/acme/acme-9999.ebuild | 18 ++++++++++++------
13 1 file changed, 12 insertions(+), 6 deletions(-)
14
15 diff --git a/app-crypt/acme/acme-9999.ebuild b/app-crypt/acme/acme-9999.ebuild
16 index 1f93640..1df4590 100644
17 --- a/app-crypt/acme/acme-9999.ebuild
18 +++ b/app-crypt/acme/acme-9999.ebuild
19 @@ -5,16 +5,24 @@
20 EAPI=5
21 PYTHON_COMPAT=(python{2_7,3_4,3_5})
22
23 -EGIT_REPO_URI="https://github.com/letsencrypt/letsencrypt.git"
24 -
25 -inherit git-r3 distutils-r1
26 +if [[ ${PV} == 9999* ]]; then
27 + EGIT_REPO_URI="https://github.com/letsencrypt/letsencrypt.git"
28 + inherit git-r3
29 + KEYWORDS=""
30 + S=${WORKDIR}/${P}/${PN}
31 +else
32 + SRC_URI="https://github.com/letsencrypt/archive/v${PV}.tar.gz -> letsencrypt-${PV}.tar.gz"
33 + KEYWORDS="~amd64"
34 + S=${WORKDIR}/letsencrypt-${PV}/acme
35 +fi
36 +
37 +inherit distutils-r1
38
39 DESCRIPTION="An implementation of the ACME protocol"
40 HOMEPAGE="https://github.com/letsencrypt/letsencrypt https://letsencrypt.org/"
41
42 LICENSE="Apache-2.0"
43 SLOT="0"
44 -KEYWORDS=""
45 IUSE="test"
46
47 RDEPEND=">=dev-python/cryptography-0.8[${PYTHON_USEDEP}]
48 @@ -30,8 +38,6 @@ RDEPEND=">=dev-python/cryptography-0.8[${PYTHON_USEDEP}]
49 DEPEND="test? ( ${RDEPEND} dev-python/nose[${PYTHON_USEDEP}] )
50 dev-python/setuptools[${PYTHON_USEDEP}]"
51
52 -S=${WORKDIR}/${P}/${PN}
53 -
54 python_test() {
55 nosetests -w ${PN} || die
56 }