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:44
Message-Id: 1449426652.8c9cc9d942542bc4767b741fecafb4cb0f8716f1.mrueg@gentoo
1 commit: 8c9cc9d942542bc4767b741fecafb4cb0f8716f1
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 6 18:30:52 2015 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 6 18:30:52 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c9cc9d9
7
8 app-crypt/acme: Add version 0.1.0
9
10 Package-Manager: portage-2.2.26
11
12 app-crypt/acme/Manifest | 1 +
13 app-crypt/acme/acme-0.1.0-r1.ebuild | 43 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 44 insertions(+)
15
16 diff --git a/app-crypt/acme/Manifest b/app-crypt/acme/Manifest
17 new file mode 100644
18 index 0000000..327e5a2
19 --- /dev/null
20 +++ b/app-crypt/acme/Manifest
21 @@ -0,0 +1 @@
22 +DIST letsencrypt-0.1.0.tar.gz 524821 SHA256 1c1ac7b41e5e0fc0e41a7ef159ac9147a4aafff54453d57b519eb05bf52ade14 SHA512 6a786290362741ac97dcb4b59bc4cba56f3e8b5193bbc10be19086d462f76e6124259c42bac36afe9eb818f4bb9edec34f8e2a02bd8c855e3b35404f4ee81f96 WHIRLPOOL cdc41a3466de54ab8ddfeedea9935205d78383028769dcfbc876be0c2ef80c2d14f5d0e4a9c56a751163718f5ababb07848822989a060de7031ea8ebdf6424a0
23
24 diff --git a/app-crypt/acme/acme-0.1.0-r1.ebuild b/app-crypt/acme/acme-0.1.0-r1.ebuild
25 new file mode 100644
26 index 0000000..1df4590
27 --- /dev/null
28 +++ b/app-crypt/acme/acme-0.1.0-r1.ebuild
29 @@ -0,0 +1,43 @@
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 +PYTHON_COMPAT=(python{2_7,3_4,3_5})
36 +
37 +if [[ ${PV} == 9999* ]]; then
38 + EGIT_REPO_URI="https://github.com/letsencrypt/letsencrypt.git"
39 + inherit git-r3
40 + KEYWORDS=""
41 + S=${WORKDIR}/${P}/${PN}
42 +else
43 + SRC_URI="https://github.com/letsencrypt/archive/v${PV}.tar.gz -> letsencrypt-${PV}.tar.gz"
44 + KEYWORDS="~amd64"
45 + S=${WORKDIR}/letsencrypt-${PV}/acme
46 +fi
47 +
48 +inherit distutils-r1
49 +
50 +DESCRIPTION="An implementation of the ACME protocol"
51 +HOMEPAGE="https://github.com/letsencrypt/letsencrypt https://letsencrypt.org/"
52 +
53 +LICENSE="Apache-2.0"
54 +SLOT="0"
55 +IUSE="test"
56 +
57 +RDEPEND=">=dev-python/cryptography-0.8[${PYTHON_USEDEP}]
58 + dev-python/mock[${PYTHON_USEDEP}]
59 + >=dev-python/ndg-httpsclient-0.4[${PYTHON_USEDEP}]
60 + dev-python/pyasn1[${PYTHON_USEDEP}]
61 + >=dev-python/pyopenssl-0.15[${PYTHON_USEDEP}]
62 + dev-python/pyrfc3339[${PYTHON_USEDEP}]
63 + dev-python/pytz[${PYTHON_USEDEP}]
64 + dev-python/requests[${PYTHON_USEDEP}]
65 + dev-python/six[${PYTHON_USEDEP}]
66 + dev-python/werkzeug[${PYTHON_USEDEP}]"
67 +DEPEND="test? ( ${RDEPEND} dev-python/nose[${PYTHON_USEDEP}] )
68 + dev-python/setuptools[${PYTHON_USEDEP}]"
69 +
70 +python_test() {
71 + nosetests -w ${PN} || die
72 +}