1 |
commit: e08f675d1d6d66b806a8010ee6114baae4b7c864 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 15 19:33:51 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 15 19:37:13 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e08f675d |
7 |
|
8 |
app-eselect/eselect-repository: Bump to v6 |
9 |
|
10 |
Bump to v6 which includes fix for missing cache error when adding |
11 |
new repository as the first action post-install. |
12 |
|
13 |
Closes: https://bugs.gentoo.org/667884 |
14 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
15 |
|
16 |
app-eselect/eselect-repository/Manifest | 1 + |
17 |
.../eselect-repository/eselect-repository-6.ebuild | 40 ++++++++++++++++++++++ |
18 |
2 files changed, 41 insertions(+) |
19 |
|
20 |
diff --git a/app-eselect/eselect-repository/Manifest b/app-eselect/eselect-repository/Manifest |
21 |
index 3069b62380d..b4eb48811b7 100644 |
22 |
--- a/app-eselect/eselect-repository/Manifest |
23 |
+++ b/app-eselect/eselect-repository/Manifest |
24 |
@@ -1,2 +1,3 @@ |
25 |
DIST eselect-repository-4.tar.gz 5535 BLAKE2B 4dce6c0136ec9394c9bf4128ec26ab67260d4b96a165825ae7b15b8476d10d23fcc5190946fc54013d6eb8e4f18988b07df4c849ba50844571986a6823511547 SHA512 0d3c204d73bb4314bc24fdf6cd837f2a56ac00d1d11fbec7f072af874bc468777676bba40e0cc17553f6dec7a907f10865f9c356a6390372e0734173465ac483 |
26 |
DIST eselect-repository-5.tar.gz 5607 BLAKE2B cc007474b51873b7fa7f9c56572be717e7b8dff0d46c21d838911bcf9ecea99549da8e9f2d63c8101c0bc9c2ca230bfaba46f8bd770488d6566a62b2ac2ab0a6 SHA512 b5cf1701cc1d0cb50afcb9403f5c6f41223240891029f51ff899144eecee6fa3d7cfad23c477fae23733f9005413facd2cb8e9e1dea70931abc691a225fa83b4 |
27 |
+DIST eselect-repository-6.tar.gz 5605 BLAKE2B 4a6dbb3f573cb1c4e212d02d011e79d8522828b8928bf28016b616c8eefd3beb08db8b555728d4e7f83473f2d36395eb1e2f1d8d21ccd5817e38a5d555cf6f09 SHA512 02ca2d66a6cfe4c68dea780440bf7fd431c575e535139a43c2b6201e833e43d174772486c97dc4154fc2d813935079d36c116ee907db115f7cb281db3d72add7 |
28 |
|
29 |
diff --git a/app-eselect/eselect-repository/eselect-repository-6.ebuild b/app-eselect/eselect-repository/eselect-repository-6.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..06ccc47c631 |
32 |
--- /dev/null |
33 |
+++ b/app-eselect/eselect-repository/eselect-repository-6.ebuild |
34 |
@@ -0,0 +1,40 @@ |
35 |
+# Copyright 1999-2018 Gentoo Foundation |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=6 |
39 |
+ |
40 |
+PYTHON_COMPAT=( python{3_4,3_5,3_6,3_7} ) |
41 |
+inherit python-single-r1 |
42 |
+ |
43 |
+DESCRIPTION="Manage repos.conf via eselect" |
44 |
+HOMEPAGE="https://github.com/mgorny/eselect-repository" |
45 |
+SRC_URI="https://github.com/mgorny/eselect-repository/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="BSD-2" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
50 |
+IUSE="" |
51 |
+REQUIRED_USE=${PYTHON_REQUIRED_USE} |
52 |
+ |
53 |
+RDEPEND="${PYTHON_DEPS} |
54 |
+ app-admin/eselect |
55 |
+ dev-python/lxml[${PYTHON_USEDEP}] |
56 |
+ net-misc/wget" |
57 |
+ |
58 |
+src_compile() { |
59 |
+ MAKEARGS=( |
60 |
+ PREFIX="${EPREFIX}/usr" |
61 |
+ SYSCONFDIR="${EPREFIX}/etc" |
62 |
+ SHAREDSTATEDIR="${EPREFIX}/var" |
63 |
+ ESELECTDIR="${EPREFIX}/usr/share/eselect/modules" |
64 |
+ ) |
65 |
+ |
66 |
+ emake "${MAKEARGS[@]}" |
67 |
+ python_fix_shebang eselect-repo-helper |
68 |
+} |
69 |
+ |
70 |
+src_install() { |
71 |
+ emake "${MAKEARGS[@]}" DESTDIR="${D}" install |
72 |
+ keepdir /var/db/repos |
73 |
+ einstalldocs |
74 |
+} |