1 |
commit: 550b95086d518bb4678aef24b5475e484a97f0ca |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 9 09:53:49 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 9 09:59:19 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=550b9508 |
7 |
|
8 |
app-eselect/eselect-repository: A simple manager for repos.conf |
9 |
|
10 |
.../eselect-repository-9999.ebuild | 39 ++++++++++++++++++++++ |
11 |
app-eselect/eselect-repository/metadata.xml | 9 +++++ |
12 |
2 files changed, 48 insertions(+) |
13 |
|
14 |
diff --git a/app-eselect/eselect-repository/eselect-repository-9999.ebuild b/app-eselect/eselect-repository/eselect-repository-9999.ebuild |
15 |
new file mode 100644 |
16 |
index 00000000000..b22e3150d3c |
17 |
--- /dev/null |
18 |
+++ b/app-eselect/eselect-repository/eselect-repository-9999.ebuild |
19 |
@@ -0,0 +1,39 @@ |
20 |
+# Copyright 1999-2017 Gentoo Foundation |
21 |
+# Distributed under the terms of the GNU General Public License v2 |
22 |
+ |
23 |
+EAPI=6 |
24 |
+ |
25 |
+EGIT_REPO_URI="https://github.com/mgorny/eselect-repository.git" |
26 |
+PYTHON_COMPAT=( python{3_4,3_5,3_6} ) |
27 |
+inherit git-r3 python-single-r1 |
28 |
+ |
29 |
+DESCRIPTION="Manage repos.conf via eselect" |
30 |
+HOMEPAGE="https://github.com/mgorny/eselect-repository" |
31 |
+SRC_URI="" |
32 |
+ |
33 |
+LICENSE="BSD-2" |
34 |
+SLOT="0" |
35 |
+KEYWORDS="" |
36 |
+IUSE="" |
37 |
+ |
38 |
+RDEPEND="${PYTHON_DEPS} |
39 |
+ app-admin/eselect |
40 |
+ net-misc/wget" |
41 |
+ |
42 |
+src_compile() { |
43 |
+ MAKEARGS=( |
44 |
+ PREFIX="${EPREFIX}/usr" |
45 |
+ SYSCONFDIR="${EPREFIX}/etc" |
46 |
+ SHAREDSTATEDIR="${EPREFIX}/var" |
47 |
+ ESELECTDIR="${EPREFIX}/usr/share/eselect/modules" |
48 |
+ ) |
49 |
+ |
50 |
+ emake "${MAKEARGS[@]}" |
51 |
+ python_fix_shebang eselect-repo-helper |
52 |
+} |
53 |
+ |
54 |
+src_install() { |
55 |
+ emake "${MAKEARGS[@]}" DESTDIR="${D}" install |
56 |
+ keepdir /var/db/repos |
57 |
+ einstalldocs |
58 |
+} |
59 |
|
60 |
diff --git a/app-eselect/eselect-repository/metadata.xml b/app-eselect/eselect-repository/metadata.xml |
61 |
new file mode 100644 |
62 |
index 00000000000..4125495d9ee |
63 |
--- /dev/null |
64 |
+++ b/app-eselect/eselect-repository/metadata.xml |
65 |
@@ -0,0 +1,9 @@ |
66 |
+<?xml version="1.0" encoding="UTF-8"?> |
67 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
68 |
+<pkgmetadata> |
69 |
+ <maintainer type="person"> |
70 |
+ <email>mgorny@g.o</email> |
71 |
+ <name>Michał Górny</name> |
72 |
+ </maintainer> |
73 |
+ <remote-id type="github">mgorny/eselect-repository</remote-id> |
74 |
+</pkgmetadata> |