1 |
commit: 5cb501ebcbcf690f77672d86a1c7117375b50036 |
2 |
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 20 07:02:07 2019 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 20 07:02:27 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cb501eb |
7 |
|
8 |
app-crypt/acme: docs & missing indirect dep on dev-python/idna |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> |
12 |
|
13 |
.../{acme-9999.ebuild => acme-0.33.1-r1.ebuild} | 24 ++++++++++++++++++++-- |
14 |
app-crypt/acme/acme-9999.ebuild | 24 ++++++++++++++++++++-- |
15 |
app-crypt/acme/metadata.xml | 1 + |
16 |
3 files changed, 45 insertions(+), 4 deletions(-) |
17 |
|
18 |
diff --git a/app-crypt/acme/acme-9999.ebuild b/app-crypt/acme/acme-0.33.1-r1.ebuild |
19 |
similarity index 69% |
20 |
copy from app-crypt/acme/acme-9999.ebuild |
21 |
copy to app-crypt/acme/acme-0.33.1-r1.ebuild |
22 |
index 9df5e0dbdae..bfa507fa149 100644 |
23 |
--- a/app-crypt/acme/acme-9999.ebuild |
24 |
+++ b/app-crypt/acme/acme-0.33.1-r1.ebuild |
25 |
@@ -21,10 +21,11 @@ HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/" |
26 |
|
27 |
LICENSE="Apache-2.0" |
28 |
SLOT="0" |
29 |
-IUSE="test" |
30 |
+IUSE="doc test" |
31 |
|
32 |
RDEPEND=" |
33 |
- >=dev-python/cryptography-1.2.3[${PYTHON_USEDEP}] |
34 |
+ >=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}] |
35 |
+ >=dev-python/idna-2.0.0[${PYTHON_USEDEP}] |
36 |
>=dev-python/josepy-1.1.0[${PYTHON_USEDEP}] |
37 |
dev-python/mock[${PYTHON_USEDEP}] |
38 |
>=dev-python/pyopenssl-0.13.1[${PYTHON_USEDEP}] |
39 |
@@ -35,14 +36,33 @@ RDEPEND=" |
40 |
>=dev-python/six-1.9.0[${PYTHON_USEDEP}] |
41 |
" |
42 |
DEPEND=" |
43 |
+ doc? ( |
44 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
45 |
+ dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] |
46 |
+ ) |
47 |
test? ( |
48 |
${RDEPEND} |
49 |
dev-python/pytest[${PYTHON_USEDEP}] |
50 |
dev-python/pytest-xdist[${PYTHON_USEDEP}] |
51 |
+ dev-python/tox[${PYTHON_USEDEP}] |
52 |
) |
53 |
>=dev-python/setuptools-1.0[${PYTHON_USEDEP}] |
54 |
" |
55 |
|
56 |
+src_compile() { |
57 |
+ python_foreach_impl run_in_build_dir default |
58 |
+ if use doc ; then |
59 |
+ cd docs || die |
60 |
+ sphinx-build -b html -d _build/doctrees . _build/html |
61 |
+ fi |
62 |
+} |
63 |
+ |
64 |
python_test() { |
65 |
nosetests -w ${PN} || die |
66 |
} |
67 |
+ |
68 |
+python_install_all() { |
69 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
70 |
+ |
71 |
+ distutils-r1_python_install_all |
72 |
+} |
73 |
|
74 |
diff --git a/app-crypt/acme/acme-9999.ebuild b/app-crypt/acme/acme-9999.ebuild |
75 |
index 9df5e0dbdae..bfa507fa149 100644 |
76 |
--- a/app-crypt/acme/acme-9999.ebuild |
77 |
+++ b/app-crypt/acme/acme-9999.ebuild |
78 |
@@ -21,10 +21,11 @@ HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/" |
79 |
|
80 |
LICENSE="Apache-2.0" |
81 |
SLOT="0" |
82 |
-IUSE="test" |
83 |
+IUSE="doc test" |
84 |
|
85 |
RDEPEND=" |
86 |
- >=dev-python/cryptography-1.2.3[${PYTHON_USEDEP}] |
87 |
+ >=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}] |
88 |
+ >=dev-python/idna-2.0.0[${PYTHON_USEDEP}] |
89 |
>=dev-python/josepy-1.1.0[${PYTHON_USEDEP}] |
90 |
dev-python/mock[${PYTHON_USEDEP}] |
91 |
>=dev-python/pyopenssl-0.13.1[${PYTHON_USEDEP}] |
92 |
@@ -35,14 +36,33 @@ RDEPEND=" |
93 |
>=dev-python/six-1.9.0[${PYTHON_USEDEP}] |
94 |
" |
95 |
DEPEND=" |
96 |
+ doc? ( |
97 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
98 |
+ dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] |
99 |
+ ) |
100 |
test? ( |
101 |
${RDEPEND} |
102 |
dev-python/pytest[${PYTHON_USEDEP}] |
103 |
dev-python/pytest-xdist[${PYTHON_USEDEP}] |
104 |
+ dev-python/tox[${PYTHON_USEDEP}] |
105 |
) |
106 |
>=dev-python/setuptools-1.0[${PYTHON_USEDEP}] |
107 |
" |
108 |
|
109 |
+src_compile() { |
110 |
+ python_foreach_impl run_in_build_dir default |
111 |
+ if use doc ; then |
112 |
+ cd docs || die |
113 |
+ sphinx-build -b html -d _build/doctrees . _build/html |
114 |
+ fi |
115 |
+} |
116 |
+ |
117 |
python_test() { |
118 |
nosetests -w ${PN} || die |
119 |
} |
120 |
+ |
121 |
+python_install_all() { |
122 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
123 |
+ |
124 |
+ distutils-r1_python_install_all |
125 |
+} |
126 |
|
127 |
diff --git a/app-crypt/acme/metadata.xml b/app-crypt/acme/metadata.xml |
128 |
index d18839cc8da..d0f0d1620b5 100644 |
129 |
--- a/app-crypt/acme/metadata.xml |
130 |
+++ b/app-crypt/acme/metadata.xml |
131 |
@@ -6,6 +6,7 @@ |
132 |
<name>Matthew Thode</name> |
133 |
</maintainer> |
134 |
<upstream> |
135 |
+ <remote-id type="pypi">acme</remote-id> |
136 |
<remote-id type="github">letsencrypt/letsencrypt</remote-id> |
137 |
</upstream> |
138 |
</pkgmetadata> |