Fixes: https://bugs.gentoo.org/703926
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=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
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
}
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
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
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
}