summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-07-21 19:32:26 +0200
committerMichał Górny <mgorny@gentoo.org>2019-07-21 19:34:48 +0200
commit29516c2f08b7ef19e5508f7a2fd9c6862bdb4aa4 (patch)
treea6bae9a605f040ee0b0748954e2f84805ae76f52 /app-crypt/acmebot
parentx11-misc/xkeyboard-config: arm64 stable (bug #689510) (diff)
downloadgentoo-29516c2f08b7ef19e5508f7a2fd9c6862bdb4aa4.tar.gz
gentoo-29516c2f08b7ef19e5508f7a2fd9c6862bdb4aa4.tar.bz2
gentoo-29516c2f08b7ef19e5508f7a2fd9c6862bdb4aa4.zip
app-crypt/acmebot: Fix python-r1 usage
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-crypt/acmebot')
-rw-r--r--app-crypt/acmebot/acmebot-2.3.0-r1.ebuild (renamed from app-crypt/acmebot/acmebot-2.3.0.ebuild)5
-rw-r--r--app-crypt/acmebot/acmebot-9999.ebuild5
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
index 80bd249ecd73..a179ed4c74a8 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 80bd249ecd73..a179ed4c74a8 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