Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/acme/, app-crypt/letsencrypt/
Date: Thu, 03 Dec 2015 09:16:13
Message-Id: 1449134143.c37dff06cc5632de78ff283857f211c0361d5582.vapier@gentoo
1 commit: c37dff06cc5632de78ff283857f211c0361d5582
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 3 09:15:25 2015 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 3 09:15:43 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c37dff06
7
8 app-crypt/{acme,letsencrypt}: add ebuilds for latest snapshot
9
10 app-crypt/acme/Manifest | 1 +
11 ...e-9999.ebuild => acme-0.0.0_pre20151123.ebuild} | 27 ++++++++++++++------
12 app-crypt/acme/acme-9999.ebuild | 29 ++++++++++++++++------
13 app-crypt/letsencrypt/Manifest | 1 +
14 ...ebuild => letsencrypt-0.0.0_pre20151123.ebuild} | 27 ++++++++++++++------
15 app-crypt/letsencrypt/letsencrypt-9999.ebuild | 29 ++++++++++++++++------
16 6 files changed, 83 insertions(+), 31 deletions(-)
17
18 diff --git a/app-crypt/acme/Manifest b/app-crypt/acme/Manifest
19 new file mode 100644
20 index 0000000..78c4d51
21 --- /dev/null
22 +++ b/app-crypt/acme/Manifest
23 @@ -0,0 +1 @@
24 +DIST letsencrypt-0.0.0.dev20151123.tar.gz 403690 SHA256 3f909ef521ab91eade4fa83f1f72c4b1cb74c9192144bc072d999248eb25e902 SHA512 e62cd4bf966b75e159949d84eda1005649dd4f11efbb1515601a5c6690e09ea1cc73bb3f535b6b20655752b7218fa3f02cf50e4cb12a335d76b10461e385aa96 WHIRLPOOL 5352083e3eabe69ea07b830fcdd3d9de2f431d5b8681c3484288feb2f6394d1c4dd9d46feffe08f7733015755e39df24e61293915877b97470339a3fa11c668c
25
26 diff --git a/app-crypt/acme/acme-9999.ebuild b/app-crypt/acme/acme-0.0.0_pre20151123.ebuild
27 similarity index 59%
28 copy from app-crypt/acme/acme-9999.ebuild
29 copy to app-crypt/acme/acme-0.0.0_pre20151123.ebuild
30 index 1f93640..cdd87cd 100644
31 --- a/app-crypt/acme/acme-9999.ebuild
32 +++ b/app-crypt/acme/acme-0.0.0_pre20151123.ebuild
33 @@ -3,18 +3,28 @@
34 # $Id$
35
36 EAPI=5
37 -PYTHON_COMPAT=(python{2_7,3_4,3_5})
38
39 -EGIT_REPO_URI="https://github.com/letsencrypt/letsencrypt.git"
40 +PYTHON_COMPAT=( python{2_7,3_4,3_5} )
41
42 -inherit git-r3 distutils-r1
43 +inherit distutils-r1
44 +
45 +MY_PN="letsencrypt"
46 +MY_PV="${PV/_pre/.dev}"
47 +MY_P="${MY_PN}-${MY_PV}"
48 +
49 +if [[ ${PV} == "9999" ]] ; then
50 + EGIT_REPO_URI="https://github.com/letsencrypt/letsencrypt.git"
51 + inherit git-r3 distutils-r1
52 +else
53 + SRC_URI="https://github.com/letsencrypt/letsencrypt/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
54 + KEYWORDS="~amd64 ~arm ~x86"
55 +fi
56
57 DESCRIPTION="An implementation of the ACME protocol"
58 HOMEPAGE="https://github.com/letsencrypt/letsencrypt https://letsencrypt.org/"
59
60 LICENSE="Apache-2.0"
61 SLOT="0"
62 -KEYWORDS=""
63 IUSE="test"
64
65 RDEPEND=">=dev-python/cryptography-0.8[${PYTHON_USEDEP}]
66 @@ -27,10 +37,13 @@ RDEPEND=">=dev-python/cryptography-0.8[${PYTHON_USEDEP}]
67 dev-python/requests[${PYTHON_USEDEP}]
68 dev-python/six[${PYTHON_USEDEP}]
69 dev-python/werkzeug[${PYTHON_USEDEP}]"
70 -DEPEND="test? ( ${RDEPEND} dev-python/nose[${PYTHON_USEDEP}] )
71 - dev-python/setuptools[${PYTHON_USEDEP}]"
72 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
73 + test? (
74 + ${RDEPEND}
75 + dev-python/nose[${PYTHON_USEDEP}]
76 + )"
77
78 -S=${WORKDIR}/${P}/${PN}
79 +S="${WORKDIR}/${MY_P}/${PN}"
80
81 python_test() {
82 nosetests -w ${PN} || die
83
84 diff --git a/app-crypt/acme/acme-9999.ebuild b/app-crypt/acme/acme-9999.ebuild
85 index 1f93640..050f571 100644
86 --- a/app-crypt/acme/acme-9999.ebuild
87 +++ b/app-crypt/acme/acme-9999.ebuild
88 @@ -3,18 +3,28 @@
89 # $Id$
90
91 EAPI=5
92 -PYTHON_COMPAT=(python{2_7,3_4,3_5})
93
94 -EGIT_REPO_URI="https://github.com/letsencrypt/letsencrypt.git"
95 +PYTHON_COMPAT=( python{2_7,3_4,3_5} )
96
97 -inherit git-r3 distutils-r1
98 +inherit distutils-r1
99
100 -DESCRIPTION="An implementation of the ACME protocol"
101 +MY_PN="letsencrypt"
102 +MY_PV="${PV/_pre/.dev}"
103 +MY_P="${MY_PN}-${MY_PV}"
104 +
105 +if [[ ${PV} == "9999" ]] ; then
106 + EGIT_REPO_URI="https://github.com/letsencrypt/letsencrypt.git"
107 + inherit git-r3 distutils-r1
108 +else
109 + SRC_URI="https://github.com/letsencrypt/letsencrypt/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
110 + KEYWORDS="~amd64 ~arm ~x86"
111 +fi
112 +
113 +DESCRIPTION="An implementation of the Automatic Certificate Management Environment (ACME) protocol"
114 HOMEPAGE="https://github.com/letsencrypt/letsencrypt https://letsencrypt.org/"
115
116 LICENSE="Apache-2.0"
117 SLOT="0"
118 -KEYWORDS=""
119 IUSE="test"
120
121 RDEPEND=">=dev-python/cryptography-0.8[${PYTHON_USEDEP}]
122 @@ -27,10 +37,13 @@ RDEPEND=">=dev-python/cryptography-0.8[${PYTHON_USEDEP}]
123 dev-python/requests[${PYTHON_USEDEP}]
124 dev-python/six[${PYTHON_USEDEP}]
125 dev-python/werkzeug[${PYTHON_USEDEP}]"
126 -DEPEND="test? ( ${RDEPEND} dev-python/nose[${PYTHON_USEDEP}] )
127 - dev-python/setuptools[${PYTHON_USEDEP}]"
128 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
129 + test? (
130 + ${RDEPEND}
131 + dev-python/nose[${PYTHON_USEDEP}]
132 + )"
133
134 -S=${WORKDIR}/${P}/${PN}
135 +S="${WORKDIR}/${MY_P}/${PN}"
136
137 python_test() {
138 nosetests -w ${PN} || die
139
140 diff --git a/app-crypt/letsencrypt/Manifest b/app-crypt/letsencrypt/Manifest
141 new file mode 100644
142 index 0000000..78c4d51
143 --- /dev/null
144 +++ b/app-crypt/letsencrypt/Manifest
145 @@ -0,0 +1 @@
146 +DIST letsencrypt-0.0.0.dev20151123.tar.gz 403690 SHA256 3f909ef521ab91eade4fa83f1f72c4b1cb74c9192144bc072d999248eb25e902 SHA512 e62cd4bf966b75e159949d84eda1005649dd4f11efbb1515601a5c6690e09ea1cc73bb3f535b6b20655752b7218fa3f02cf50e4cb12a335d76b10461e385aa96 WHIRLPOOL 5352083e3eabe69ea07b830fcdd3d9de2f431d5b8681c3484288feb2f6394d1c4dd9d46feffe08f7733015755e39df24e61293915877b97470339a3fa11c668c
147
148 diff --git a/app-crypt/letsencrypt/letsencrypt-9999.ebuild b/app-crypt/letsencrypt/letsencrypt-0.0.0_pre20151123.ebuild
149 similarity index 63%
150 copy from app-crypt/letsencrypt/letsencrypt-9999.ebuild
151 copy to app-crypt/letsencrypt/letsencrypt-0.0.0_pre20151123.ebuild
152 index c271da7..ed22257 100644
153 --- a/app-crypt/letsencrypt/letsencrypt-9999.ebuild
154 +++ b/app-crypt/letsencrypt/letsencrypt-0.0.0_pre20151123.ebuild
155 @@ -3,18 +3,27 @@
156 # $Id$
157
158 EAPI=5
159 -PYTHON_COMPAT=(python2_7)
160
161 -EGIT_REPO_URI="https://github.com/letsencrypt/letsencrypt.git"
162 +PYTHON_COMPAT=( python2_7 )
163
164 -inherit git-r3 distutils-r1
165 +inherit distutils-r1
166
167 -DESCRIPTION="Let's encrypt client to automate deployment of X.509 certificates"
168 +if [[ ${PV} == "9999" ]] ; then
169 + EGIT_REPO_URI="https://github.com/letsencrypt/letsencrypt.git"
170 + inherit git-r3
171 +else
172 + MY_PV="${PV/_pre/.dev}"
173 + MY_P="${PN}-${MY_PV}"
174 + SRC_URI="https://github.com/letsencrypt/letsencrypt/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
175 + KEYWORDS="~amd64 ~arm ~x86"
176 + S="${WORKDIR}/${MY_P}"
177 +fi
178 +
179 +DESCRIPTION="Let's Encrypt client to automate deployment of X.509 certificates"
180 HOMEPAGE="https://github.com/letsencrypt/letsencrypt https://letsencrypt.org/"
181
182 LICENSE="Apache-2.0"
183 SLOT="0"
184 -KEYWORDS=""
185 IUSE="test"
186
187 RDEPEND=">=app-crypt/acme-${PV}[${PYTHON_USEDEP}]
188 @@ -31,9 +40,11 @@ RDEPEND=">=app-crypt/acme-${PV}[${PYTHON_USEDEP}]
189 dev-python/requests[${PYTHON_USEDEP}]
190 dev-python/zope-component[${PYTHON_USEDEP}]
191 dev-python/zope-interface[${PYTHON_USEDEP}]"
192 -DEPEND="test? ( ${RDEPEND}
193 - dev-python/nose[${PYTHON_USEDEP}] )
194 - dev-python/setuptools[${PYTHON_USEDEP}]"
195 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
196 + test? (
197 + ${RDEPEND}
198 + dev-python/nose[${PYTHON_USEDEP}]
199 + )"
200
201 python_test() {
202 nosetests -w ${PN}/tests || die
203
204 diff --git a/app-crypt/letsencrypt/letsencrypt-9999.ebuild b/app-crypt/letsencrypt/letsencrypt-9999.ebuild
205 index c271da7..f62f8df 100644
206 --- a/app-crypt/letsencrypt/letsencrypt-9999.ebuild
207 +++ b/app-crypt/letsencrypt/letsencrypt-9999.ebuild
208 @@ -3,18 +3,27 @@
209 # $Id$
210
211 EAPI=5
212 -PYTHON_COMPAT=(python2_7)
213
214 -EGIT_REPO_URI="https://github.com/letsencrypt/letsencrypt.git"
215 +PYTHON_COMPAT=( python2_7 )
216
217 -inherit git-r3 distutils-r1
218 +inherit distutils-r1
219
220 -DESCRIPTION="Let's encrypt client to automate deployment of X.509 certificates"
221 +MY_PV="${PV/_pre/.dev}"
222 +MY_P="${PN}-${MY_PV}"
223 +
224 +if [[ ${PV} == "9999" ]] ; then
225 + EGIT_REPO_URI="https://github.com/letsencrypt/letsencrypt.git"
226 + inherit git-r3
227 +else
228 + SRC_URI="https://github.com/letsencrypt/letsencrypt/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
229 + KEYWORDS="~amd64 ~arm ~x86"
230 +fi
231 +
232 +DESCRIPTION="Let's Encrypt client to automate deployment of X.509 certificates"
233 HOMEPAGE="https://github.com/letsencrypt/letsencrypt https://letsencrypt.org/"
234
235 LICENSE="Apache-2.0"
236 SLOT="0"
237 -KEYWORDS=""
238 IUSE="test"
239
240 RDEPEND=">=app-crypt/acme-${PV}[${PYTHON_USEDEP}]
241 @@ -31,9 +40,13 @@ RDEPEND=">=app-crypt/acme-${PV}[${PYTHON_USEDEP}]
242 dev-python/requests[${PYTHON_USEDEP}]
243 dev-python/zope-component[${PYTHON_USEDEP}]
244 dev-python/zope-interface[${PYTHON_USEDEP}]"
245 -DEPEND="test? ( ${RDEPEND}
246 - dev-python/nose[${PYTHON_USEDEP}] )
247 - dev-python/setuptools[${PYTHON_USEDEP}]"
248 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
249 + test? (
250 + ${RDEPEND}
251 + dev-python/nose[${PYTHON_USEDEP}]
252 + )"
253 +
254 +S="${WORKDIR}/${MY_P}"
255
256 python_test() {
257 nosetests -w ${PN}/tests || die