commit: 29516c2f08b7ef19e5508f7a2fd9c6862bdb4aa4
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 21 17:32:26 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jul 21 17:34:48 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29516c2f
app-crypt/acmebot: Fix python-r1 usage
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
app-crypt/acmebot/{acmebot-2.3.0.ebuild => acmebot-2.3.0-r1.ebuild} | 5 ++---
app-crypt/acmebot/acmebot-9999.ebuild | 5 ++---
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/app-crypt/acmebot/acmebot-2.3.0.ebuild
b/app-crypt/acmebot/acmebot-2.3.0-r1.ebuild
similarity index 93%
rename from app-crypt/acmebot/acmebot-2.3.0.ebuild
rename to app-crypt/acmebot/acmebot-2.3.0-r1.ebuild
index 80bd249ecd7..a179ed4c74a 100644
--- a/app-crypt/acmebot/acmebot-2.3.0.ebuild
+++ b/app-crypt/acmebot/acmebot-2.3.0-r1.ebuild
@@ -20,7 +20,7 @@ SLOT="0"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-CDEPEND="
+CDEPEND="${PYTHON_DEPS}
>=dev-python/appdirs-1.4.3[${PYTHON_USEDEP}]
>=dev-python/pyparsing-2.2.0[${PYTHON_USEDEP}]
>=dev-python/packaging-16.8[${PYTHON_USEDEP}]
@@ -34,8 +34,7 @@ RDEPEND="${CDEPEND}"
DEPEND=""
src_install() {
- dobin acmebot
- python_replicate_script "${ED}"/usr/bin/acmebot
+ python_foreach_impl python_doscript acmebot
insinto /etc/logrotate.d
doins logrotate.d/acmebot
insinto /etc/acmebot
diff --git a/app-crypt/acmebot/acmebot-9999.ebuild
b/app-crypt/acmebot/acmebot-9999.ebuild
index 80bd249ecd7..a179ed4c74a 100644
--- a/app-crypt/acmebot/acmebot-9999.ebuild
+++ b/app-crypt/acmebot/acmebot-9999.ebuild
@@ -20,7 +20,7 @@ SLOT="0"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-CDEPEND="
+CDEPEND="${PYTHON_DEPS}
>=dev-python/appdirs-1.4.3[${PYTHON_USEDEP}]
>=dev-python/pyparsing-2.2.0[${PYTHON_USEDEP}]
>=dev-python/packaging-16.8[${PYTHON_USEDEP}]
@@ -34,8 +34,7 @@ RDEPEND="${CDEPEND}"
DEPEND=""
src_install() {
- dobin acmebot
- python_replicate_script "${ED}"/usr/bin/acmebot
+ python_foreach_impl python_doscript acmebot
insinto /etc/logrotate.d
doins logrotate.d/acmebot
insinto /etc/acmebot