Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/gentoo-retirement-scripts/
Date: Sun, 05 Jun 2022 09:14:36
Message-Id: 1654420468.14d44c5e99a80115f6cb466d336305e0a2c8488c.mgorny@gentoo
1 commit: 14d44c5e99a80115f6cb466d336305e0a2c8488c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 5 08:15:55 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 5 09:14:28 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14d44c5e
7
8 app-admin/gentoo-retirement-scripts: Bump to v2
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 app-admin/gentoo-retirement-scripts/Manifest | 1 +
13 .../gentoo-retirement-scripts-2.ebuild | 38 ++++++++++++++++++++++
14 2 files changed, 39 insertions(+)
15
16 diff --git a/app-admin/gentoo-retirement-scripts/Manifest b/app-admin/gentoo-retirement-scripts/Manifest
17 index 4cbfee2c0a9f..1990713be9b1 100644
18 --- a/app-admin/gentoo-retirement-scripts/Manifest
19 +++ b/app-admin/gentoo-retirement-scripts/Manifest
20 @@ -1 +1,2 @@
21 +DIST gentoo-retirement-scripts-2.tar.gz 6614 BLAKE2B 9ad448c57cbfc51214023d49b5c36f65071aa27bdcad5146d2f78ff457465f35f3430699c51befffe7a22a47057891c085b1b7cc77fbf76877c5fd99fc3cbe9f SHA512 d884d5a11d498fd7e0bca3d72f915002c43de1bebe283d6628229de0c0d8af3b819e0410cc12269c06c7fcd7af087faa9366590e13aa5db3eae353e7d35c1438
22 DIST undertaker-scripts-1.tar.gz 6608 BLAKE2B 82aaf4395f480b2ac7194c9d0022a1001e0f6e3fd137db030bac8d0d0fa80e7f51a086dbdc611c6698a765b467178d9c85518947fd26cc062904142babec3d72 SHA512 a946e669628f1dba4ff6846fa79a5eb1ea44cf19b3ec2d5d24d6792f0d621e262514d346379be88c1abc529373e0cfadb83eed9ba1cd4d4e2f73a078fc20fe04
23
24 diff --git a/app-admin/gentoo-retirement-scripts/gentoo-retirement-scripts-2.ebuild b/app-admin/gentoo-retirement-scripts/gentoo-retirement-scripts-2.ebuild
25 new file mode 100644
26 index 000000000000..4267e6014067
27 --- /dev/null
28 +++ b/app-admin/gentoo-retirement-scripts/gentoo-retirement-scripts-2.ebuild
29 @@ -0,0 +1,38 @@
30 +# Copyright 2021-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..11} )
36 +inherit python-single-r1
37 +
38 +DESCRIPTION="Scripts to help retiring Gentoo developers"
39 +HOMEPAGE="https://github.com/mgorny/gentoo-retirement-scripts/"
40 +SRC_URI="
41 + https://github.com/mgorny/gentoo-retirement-scripts/archive/v${PV}.tar.gz
42 + -> ${P}.tar.gz
43 +"
44 +
45 +LICENSE="BSD-2"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
48 +REQUIRED_USE=${PYTHON_REQUIRED_USE}
49 +
50 +RDEPEND="
51 + ${PYTHON_DEPS}
52 + $(python_gen_cond_dep '
53 + dev-python/jinja[${PYTHON_USEDEP}]
54 + dev-python/lxml[${PYTHON_USEDEP}]
55 + dev-python/python-bugzilla[${PYTHON_USEDEP}]
56 + ')"
57 +
58 +src_compile() {
59 + python_fix_shebang .
60 +}
61 +
62 +src_install() {
63 + exeinto /opt/gentoo-retirement-scripts
64 + doexe *.py
65 + insinto /opt/gentoo-retirement-scripts
66 + doins *.template
67 +}