1 |
commit: 5103c19abe1066682b655cd732c9c2c4486b91e1 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 22 04:17:48 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 22 04:24:24 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5103c19a |
7 |
|
8 |
app-eselect/eselect-repository: Bump to v1 |
9 |
|
10 |
app-eselect/eselect-repository/Manifest | 1 + |
11 |
.../eselect-repository/eselect-repository-1.ebuild | 38 ++++++++++++++++++++++ |
12 |
2 files changed, 39 insertions(+) |
13 |
|
14 |
diff --git a/app-eselect/eselect-repository/Manifest b/app-eselect/eselect-repository/Manifest |
15 |
new file mode 100644 |
16 |
index 00000000000..2392ccdf09c |
17 |
--- /dev/null |
18 |
+++ b/app-eselect/eselect-repository/Manifest |
19 |
@@ -0,0 +1 @@ |
20 |
+DIST eselect-repository-1.tar.gz 5378 SHA256 d73d4ab5fd525f3504814b25087a051bde1b358033f996e10eca3d5eeeeabf22 SHA512 7f985c3abe3fa02dfe44aade71583e7280c4757470fe8bf43de8fcc2403e8b924d9b0af104e926a2b3cd79a92b440570347db511767c908dda087ccc9f3aba6e WHIRLPOOL 8ad0d21452a0094007b795aa105312110404dca33ee8c8e3c189b08f9fbad7759c2f1fe6572839c06cb7bdbaa39740195d674e72dc72debf6f118570d40daec2 |
21 |
|
22 |
diff --git a/app-eselect/eselect-repository/eselect-repository-1.ebuild b/app-eselect/eselect-repository/eselect-repository-1.ebuild |
23 |
new file mode 100644 |
24 |
index 00000000000..6a49b07e7fa |
25 |
--- /dev/null |
26 |
+++ b/app-eselect/eselect-repository/eselect-repository-1.ebuild |
27 |
@@ -0,0 +1,38 @@ |
28 |
+# Copyright 1999-2017 Gentoo Foundation |
29 |
+# Distributed under the terms of the GNU General Public License v2 |
30 |
+ |
31 |
+EAPI=6 |
32 |
+ |
33 |
+PYTHON_COMPAT=( python{3_4,3_5,3_6} ) |
34 |
+inherit python-single-r1 |
35 |
+ |
36 |
+DESCRIPTION="Manage repos.conf via eselect" |
37 |
+HOMEPAGE="https://github.com/mgorny/eselect-repository" |
38 |
+SRC_URI="https://github.com/mgorny/eselect-repository/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
39 |
+ |
40 |
+LICENSE="BSD-2" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~amd64 ~x86" |
43 |
+IUSE="" |
44 |
+ |
45 |
+RDEPEND="${PYTHON_DEPS} |
46 |
+ app-admin/eselect |
47 |
+ net-misc/wget" |
48 |
+ |
49 |
+src_compile() { |
50 |
+ MAKEARGS=( |
51 |
+ PREFIX="${EPREFIX}/usr" |
52 |
+ SYSCONFDIR="${EPREFIX}/etc" |
53 |
+ SHAREDSTATEDIR="${EPREFIX}/var" |
54 |
+ ESELECTDIR="${EPREFIX}/usr/share/eselect/modules" |
55 |
+ ) |
56 |
+ |
57 |
+ emake "${MAKEARGS[@]}" |
58 |
+ python_fix_shebang eselect-repo-helper |
59 |
+} |
60 |
+ |
61 |
+src_install() { |
62 |
+ emake "${MAKEARGS[@]}" DESTDIR="${D}" install |
63 |
+ keepdir /var/db/repos |
64 |
+ einstalldocs |
65 |
+} |