1 |
commit: 5a259c088a0ab975497449e177dc8e725451d4e7 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 30 18:07:16 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 30 18:13:41 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a259c08 |
7 |
|
8 |
app-eselect/eselect-repository: Bump to v5 |
9 |
|
10 |
v5 fixes listing local repositories. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/666368 |
13 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
14 |
|
15 |
app-eselect/eselect-repository/Manifest | 1 + |
16 |
.../eselect-repository/eselect-repository-5.ebuild | 40 ++++++++++++++++++++++ |
17 |
2 files changed, 41 insertions(+) |
18 |
|
19 |
diff --git a/app-eselect/eselect-repository/Manifest b/app-eselect/eselect-repository/Manifest |
20 |
index 85d7e2db135..3069b62380d 100644 |
21 |
--- a/app-eselect/eselect-repository/Manifest |
22 |
+++ b/app-eselect/eselect-repository/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST eselect-repository-4.tar.gz 5535 BLAKE2B 4dce6c0136ec9394c9bf4128ec26ab67260d4b96a165825ae7b15b8476d10d23fcc5190946fc54013d6eb8e4f18988b07df4c849ba50844571986a6823511547 SHA512 0d3c204d73bb4314bc24fdf6cd837f2a56ac00d1d11fbec7f072af874bc468777676bba40e0cc17553f6dec7a907f10865f9c356a6390372e0734173465ac483 |
25 |
+DIST eselect-repository-5.tar.gz 5607 BLAKE2B cc007474b51873b7fa7f9c56572be717e7b8dff0d46c21d838911bcf9ecea99549da8e9f2d63c8101c0bc9c2ca230bfaba46f8bd770488d6566a62b2ac2ab0a6 SHA512 b5cf1701cc1d0cb50afcb9403f5c6f41223240891029f51ff899144eecee6fa3d7cfad23c477fae23733f9005413facd2cb8e9e1dea70931abc691a225fa83b4 |
26 |
|
27 |
diff --git a/app-eselect/eselect-repository/eselect-repository-5.ebuild b/app-eselect/eselect-repository/eselect-repository-5.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..06ccc47c631 |
30 |
--- /dev/null |
31 |
+++ b/app-eselect/eselect-repository/eselect-repository-5.ebuild |
32 |
@@ -0,0 +1,40 @@ |
33 |
+# Copyright 1999-2018 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python{3_4,3_5,3_6,3_7} ) |
39 |
+inherit python-single-r1 |
40 |
+ |
41 |
+DESCRIPTION="Manage repos.conf via eselect" |
42 |
+HOMEPAGE="https://github.com/mgorny/eselect-repository" |
43 |
+SRC_URI="https://github.com/mgorny/eselect-repository/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="BSD-2" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
48 |
+IUSE="" |
49 |
+REQUIRED_USE=${PYTHON_REQUIRED_USE} |
50 |
+ |
51 |
+RDEPEND="${PYTHON_DEPS} |
52 |
+ app-admin/eselect |
53 |
+ dev-python/lxml[${PYTHON_USEDEP}] |
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 |
+} |