commit:     dc43abbfdb9598691308eb2ae4eb32394116fb11
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  3 20:00:51 2020 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Fri Jan  3 20:00:51 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc43abbf

app-crypt/certbot: remove acme dir correctly

Fixes: https://bugs.gentoo.org/703926
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 app-crypt/certbot/certbot-1.0.0-r1.ebuild | 7 +++----
 app-crypt/certbot/certbot-9999.ebuild     | 5 +++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/app-crypt/certbot/certbot-1.0.0-r1.ebuild 
b/app-crypt/certbot/certbot-1.0.0-r1.ebuild
index 37c17aa225d..dd227e9e27f 100644
--- a/app-crypt/certbot/certbot-1.0.0-r1.ebuild
+++ b/app-crypt/certbot/certbot-1.0.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -7,12 +7,11 @@ PYTHON_COMPAT=(python{2_7,3_5,3_6,3_7})
 if [[ ${PV} == 9999* ]]; then
        EGIT_REPO_URI="https://github.com/certbot/certbot.git";
        inherit git-r3
-       S=${WORKDIR}/${P}/${PN}
 else
        SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
        KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-       S=${WORKDIR}/certbot-${PV}/certbot
 fi
+S=${WORKDIR}/${P}/${PN}
 
 inherit distutils-r1
 
@@ -47,6 +46,6 @@ DEPEND="
 
 python_test() {
        # acme is not installed, removing it here is fine, the dir just 
confuses tests
-       rm -R acme
+       rm -R ../acme
        pytest -vv ${PN} || die
 }

diff --git a/app-crypt/certbot/certbot-9999.ebuild 
b/app-crypt/certbot/certbot-9999.ebuild
index fba37e4616c..d53164ebcea 100644
--- a/app-crypt/certbot/certbot-9999.ebuild
+++ b/app-crypt/certbot/certbot-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,6 +11,7 @@ else
        SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
        KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 fi
+S=${WORKDIR}/${P}/${PN}
 
 inherit distutils-r1
 
@@ -45,6 +46,6 @@ DEPEND="
 
 python_test() {
        # acme is not installed, removing it here is fine, the dir just 
confuses tests
-       rm -R acme
+       rm -R ../acme
        pytest -vv ${PN} || die
 }

Reply via email to