1 |
commit: fb76a7f0967edd42897026cb7b766e10000e3eb6 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 28 21:28:05 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 28 21:30:02 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb76a7f0 |
7 |
|
8 |
app-eselect/eselect-repository: Bump to v9 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/773361 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
app-eselect/eselect-repository/Manifest | 1 + |
14 |
.../eselect-repository/eselect-repository-9.ebuild | 41 ++++++++++++++++++++++ |
15 |
2 files changed, 42 insertions(+) |
16 |
|
17 |
diff --git a/app-eselect/eselect-repository/Manifest b/app-eselect/eselect-repository/Manifest |
18 |
index d90d541db04..357d791f520 100644 |
19 |
--- a/app-eselect/eselect-repository/Manifest |
20 |
+++ b/app-eselect/eselect-repository/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST eselect-repository-8.tar.gz 6774 BLAKE2B d22c2befc744e21b7619a490e9c41f1052c4077135ba5247ea9558f15f7dc5c06642dd934c41ad8cb3bedb40398876ea9d508276bde6f214fe06d5f80b19911b SHA512 b1fd13e3bfa323dea7fec53a33865352545a070df472c9db0b2901945a795833eb8a2b7b264005d94fe6e92dce57414a7e995157d28c8d26048bedcbf42adf96 |
23 |
+DIST eselect-repository-9.tar.gz 6791 BLAKE2B 66ca783b66ead0bef0e85839723844147919ca7caf4e66f962a869118bd0f7484ec183c5c7ab0327d960cb8ec9c5aae0d46b5565c121f9df9d3fe90a19426354 SHA512 9bd1f1ce15da01f76248d93d368c133e22ed77aa6dfd778d10295db649783583c203bc6c0388dec712eea5cc38b76b7527528a1e27a6a526f024eaf73e06b6ab |
24 |
|
25 |
diff --git a/app-eselect/eselect-repository/eselect-repository-9.ebuild b/app-eselect/eselect-repository/eselect-repository-9.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..7c8b5ce44d5 |
28 |
--- /dev/null |
29 |
+++ b/app-eselect/eselect-repository/eselect-repository-9.ebuild |
30 |
@@ -0,0 +1,41 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{7..9} ) |
37 |
+inherit python-single-r1 |
38 |
+ |
39 |
+DESCRIPTION="Manage repos.conf via eselect" |
40 |
+HOMEPAGE="https://github.com/mgorny/eselect-repository" |
41 |
+SRC_URI="https://github.com/mgorny/eselect-repository/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="BSD-2" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-macos" |
46 |
+REQUIRED_USE=${PYTHON_REQUIRED_USE} |
47 |
+ |
48 |
+RDEPEND="${PYTHON_DEPS} |
49 |
+ app-admin/eselect |
50 |
+ $(python_gen_cond_dep ' |
51 |
+ dev-python/lxml[${PYTHON_MULTI_USEDEP}] |
52 |
+ ') |
53 |
+ net-misc/wget" |
54 |
+ |
55 |
+src_compile() { |
56 |
+ MAKEARGS=( |
57 |
+ PREFIX="${EPREFIX}/usr" |
58 |
+ SYSCONFDIR="${EPREFIX}/etc" |
59 |
+ SHAREDSTATEDIR="${EPREFIX}/var" |
60 |
+ ESELECTDIR="${EPREFIX}/usr/share/eselect/modules" |
61 |
+ ) |
62 |
+ |
63 |
+ emake "${MAKEARGS[@]}" |
64 |
+ python_fix_shebang eselect-repo-helper |
65 |
+} |
66 |
+ |
67 |
+src_install() { |
68 |
+ emake "${MAKEARGS[@]}" DESTDIR="${D}" install |
69 |
+ keepdir /var/db/repos |
70 |
+ einstalldocs |
71 |
+} |