1 |
commit: dc43abbfdb9598691308eb2ae4eb32394116fb11 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 3 20:00:51 2020 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 3 20:00:51 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc43abbf |
7 |
|
8 |
app-crypt/certbot: remove acme dir correctly |
9 |
|
10 |
Fixes: https://bugs.gentoo.org/703926 |
11 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
12 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
13 |
|
14 |
app-crypt/certbot/certbot-1.0.0-r1.ebuild | 7 +++---- |
15 |
app-crypt/certbot/certbot-9999.ebuild | 5 +++-- |
16 |
2 files changed, 6 insertions(+), 6 deletions(-) |
17 |
|
18 |
diff --git a/app-crypt/certbot/certbot-1.0.0-r1.ebuild b/app-crypt/certbot/certbot-1.0.0-r1.ebuild |
19 |
index 37c17aa225d..dd227e9e27f 100644 |
20 |
--- a/app-crypt/certbot/certbot-1.0.0-r1.ebuild |
21 |
+++ b/app-crypt/certbot/certbot-1.0.0-r1.ebuild |
22 |
@@ -1,4 +1,4 @@ |
23 |
-# Copyright 1999-2019 Gentoo Authors |
24 |
+# Copyright 1999-2020 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI=7 |
28 |
@@ -7,12 +7,11 @@ PYTHON_COMPAT=(python{2_7,3_5,3_6,3_7}) |
29 |
if [[ ${PV} == 9999* ]]; then |
30 |
EGIT_REPO_URI="https://github.com/certbot/certbot.git" |
31 |
inherit git-r3 |
32 |
- S=${WORKDIR}/${P}/${PN} |
33 |
else |
34 |
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
35 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
36 |
- S=${WORKDIR}/certbot-${PV}/certbot |
37 |
fi |
38 |
+S=${WORKDIR}/${P}/${PN} |
39 |
|
40 |
inherit distutils-r1 |
41 |
|
42 |
@@ -47,6 +46,6 @@ DEPEND=" |
43 |
|
44 |
python_test() { |
45 |
# acme is not installed, removing it here is fine, the dir just confuses tests |
46 |
- rm -R acme |
47 |
+ rm -R ../acme |
48 |
pytest -vv ${PN} || die |
49 |
} |
50 |
|
51 |
diff --git a/app-crypt/certbot/certbot-9999.ebuild b/app-crypt/certbot/certbot-9999.ebuild |
52 |
index fba37e4616c..d53164ebcea 100644 |
53 |
--- a/app-crypt/certbot/certbot-9999.ebuild |
54 |
+++ b/app-crypt/certbot/certbot-9999.ebuild |
55 |
@@ -1,4 +1,4 @@ |
56 |
-# Copyright 1999-2019 Gentoo Authors |
57 |
+# Copyright 1999-2020 Gentoo Authors |
58 |
# Distributed under the terms of the GNU General Public License v2 |
59 |
|
60 |
EAPI=7 |
61 |
@@ -11,6 +11,7 @@ else |
62 |
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
63 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
64 |
fi |
65 |
+S=${WORKDIR}/${P}/${PN} |
66 |
|
67 |
inherit distutils-r1 |
68 |
|
69 |
@@ -45,6 +46,6 @@ DEPEND=" |
70 |
|
71 |
python_test() { |
72 |
# acme is not installed, removing it here is fine, the dir just confuses tests |
73 |
- rm -R acme |
74 |
+ rm -R ../acme |
75 |
pytest -vv ${PN} || die |
76 |
} |