1 |
commit: 68da1ed0c9f821a0f89ede6c9fcbb60a32c85185 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 11 07:36:28 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 11 09:31:35 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68da1ed0 |
7 |
|
8 |
app-eselect/eselect-repository: Bump to v8 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/740884 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
app-eselect/eselect-repository/Manifest | 1 + |
14 |
.../eselect-repository/eselect-repository-8.ebuild | 42 ++++++++++++++++++++++ |
15 |
2 files changed, 43 insertions(+) |
16 |
|
17 |
diff --git a/app-eselect/eselect-repository/Manifest b/app-eselect/eselect-repository/Manifest |
18 |
index e15e8d4b381..6e20009df2c 100644 |
19 |
--- a/app-eselect/eselect-repository/Manifest |
20 |
+++ b/app-eselect/eselect-repository/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST eselect-repository-7.tar.gz 6768 BLAKE2B f648b880ab188b5beb21161dd011d8cea0bc9dd124d524d747a1867a37f334667363be9c0ad9f04275aa1534b904a519d7551c25ea547ae2acff625382c35dbd SHA512 87569158dce3acfdd81a469387fe1a7a7c268cae2e15cfdb12d8377984be5feb674c9b385f0171d27dbe8c2066ae98b2c9a74214340e85380cba173ba26d6f0f |
23 |
+DIST eselect-repository-8.tar.gz 6774 BLAKE2B d22c2befc744e21b7619a490e9c41f1052c4077135ba5247ea9558f15f7dc5c06642dd934c41ad8cb3bedb40398876ea9d508276bde6f214fe06d5f80b19911b SHA512 b1fd13e3bfa323dea7fec53a33865352545a070df472c9db0b2901945a795833eb8a2b7b264005d94fe6e92dce57414a7e995157d28c8d26048bedcbf42adf96 |
24 |
|
25 |
diff --git a/app-eselect/eselect-repository/eselect-repository-8.ebuild b/app-eselect/eselect-repository/eselect-repository-8.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..f0bf9cebf26 |
28 |
--- /dev/null |
29 |
+++ b/app-eselect/eselect-repository/eselect-repository-8.ebuild |
30 |
@@ -0,0 +1,42 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python{3_6,3_7,3_8} ) |
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 ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
46 |
+IUSE="" |
47 |
+REQUIRED_USE=${PYTHON_REQUIRED_USE} |
48 |
+ |
49 |
+RDEPEND="${PYTHON_DEPS} |
50 |
+ app-admin/eselect |
51 |
+ $(python_gen_cond_dep ' |
52 |
+ dev-python/lxml[${PYTHON_MULTI_USEDEP}] |
53 |
+ ') |
54 |
+ net-misc/wget" |
55 |
+ |
56 |
+src_compile() { |
57 |
+ MAKEARGS=( |
58 |
+ PREFIX="${EPREFIX}/usr" |
59 |
+ SYSCONFDIR="${EPREFIX}/etc" |
60 |
+ SHAREDSTATEDIR="${EPREFIX}/var" |
61 |
+ ESELECTDIR="${EPREFIX}/usr/share/eselect/modules" |
62 |
+ ) |
63 |
+ |
64 |
+ emake "${MAKEARGS[@]}" |
65 |
+ python_fix_shebang eselect-repo-helper |
66 |
+} |
67 |
+ |
68 |
+src_install() { |
69 |
+ emake "${MAKEARGS[@]}" DESTDIR="${D}" install |
70 |
+ keepdir /var/db/repos |
71 |
+ einstalldocs |
72 |
+} |