summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-06-05 10:15:55 +0200
committerMichał Górny <mgorny@gentoo.org>2022-06-05 11:14:28 +0200
commit14d44c5e99a80115f6cb466d336305e0a2c8488c (patch)
tree90aeea3001ea8d6aeb919170c7150911bae7f72a /app-admin
parentRename app-admin/{undertaker → gentoo-retirement}-scripts (diff)
downloadgentoo-14d44c5e99a80115f6cb466d336305e0a2c8488c.tar.gz
gentoo-14d44c5e99a80115f6cb466d336305e0a2c8488c.tar.bz2
gentoo-14d44c5e99a80115f6cb466d336305e0a2c8488c.zip
app-admin/gentoo-retirement-scripts: Bump to v2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/gentoo-retirement-scripts/Manifest1
-rw-r--r--app-admin/gentoo-retirement-scripts/gentoo-retirement-scripts-2.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/app-admin/gentoo-retirement-scripts/Manifest b/app-admin/gentoo-retirement-scripts/Manifest
index 4cbfee2c0a9f..1990713be9b1 100644
--- a/app-admin/gentoo-retirement-scripts/Manifest
+++ b/app-admin/gentoo-retirement-scripts/Manifest
@@ -1 +1,2 @@
+DIST gentoo-retirement-scripts-2.tar.gz 6614 BLAKE2B 9ad448c57cbfc51214023d49b5c36f65071aa27bdcad5146d2f78ff457465f35f3430699c51befffe7a22a47057891c085b1b7cc77fbf76877c5fd99fc3cbe9f SHA512 d884d5a11d498fd7e0bca3d72f915002c43de1bebe283d6628229de0c0d8af3b819e0410cc12269c06c7fcd7af087faa9366590e13aa5db3eae353e7d35c1438
DIST undertaker-scripts-1.tar.gz 6608 BLAKE2B 82aaf4395f480b2ac7194c9d0022a1001e0f6e3fd137db030bac8d0d0fa80e7f51a086dbdc611c6698a765b467178d9c85518947fd26cc062904142babec3d72 SHA512 a946e669628f1dba4ff6846fa79a5eb1ea44cf19b3ec2d5d24d6792f0d621e262514d346379be88c1abc529373e0cfadb83eed9ba1cd4d4e2f73a078fc20fe04
diff --git a/app-admin/gentoo-retirement-scripts/gentoo-retirement-scripts-2.ebuild b/app-admin/gentoo-retirement-scripts/gentoo-retirement-scripts-2.ebuild
new file mode 100644
index 000000000000..4267e6014067
--- /dev/null
+++ b/app-admin/gentoo-retirement-scripts/gentoo-retirement-scripts-2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+inherit python-single-r1
+
+DESCRIPTION="Scripts to help retiring Gentoo developers"
+HOMEPAGE="https://github.com/mgorny/gentoo-retirement-scripts/"
+SRC_URI="
+ https://github.com/mgorny/gentoo-retirement-scripts/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz
+"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ $(python_gen_cond_dep '
+ dev-python/jinja[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]
+ dev-python/python-bugzilla[${PYTHON_USEDEP}]
+ ')"
+
+src_compile() {
+ python_fix_shebang .
+}
+
+src_install() {
+ exeinto /opt/gentoo-retirement-scripts
+ doexe *.py
+ insinto /opt/gentoo-retirement-scripts
+ doins *.template
+}