diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-09-09 11:53:49 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-09-09 11:59:19 +0200 |
commit | 550b95086d518bb4678aef24b5475e484a97f0ca (patch) | |
tree | 669f06884fac45e5fdb3c7e90a25cb63346db15e /app-eselect | |
parent | net-analyzer/tcpdump: Disable nbns-valgrind test (bug #630394). (diff) | |
download | gentoo-550b95086d518bb4678aef24b5475e484a97f0ca.tar.gz gentoo-550b95086d518bb4678aef24b5475e484a97f0ca.tar.bz2 gentoo-550b95086d518bb4678aef24b5475e484a97f0ca.zip |
app-eselect/eselect-repository: A simple manager for repos.conf
Diffstat (limited to 'app-eselect')
-rw-r--r-- | app-eselect/eselect-repository/eselect-repository-9999.ebuild | 39 | ||||
-rw-r--r-- | app-eselect/eselect-repository/metadata.xml | 9 |
2 files changed, 48 insertions, 0 deletions
diff --git a/app-eselect/eselect-repository/eselect-repository-9999.ebuild b/app-eselect/eselect-repository/eselect-repository-9999.ebuild new file mode 100644 index 000000000000..b22e3150d3c0 --- /dev/null +++ b/app-eselect/eselect-repository/eselect-repository-9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_REPO_URI="https://github.com/mgorny/eselect-repository.git" +PYTHON_COMPAT=( python{3_4,3_5,3_6} ) +inherit git-r3 python-single-r1 + +DESCRIPTION="Manage repos.conf via eselect" +HOMEPAGE="https://github.com/mgorny/eselect-repository" +SRC_URI="" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="" +IUSE="" + +RDEPEND="${PYTHON_DEPS} + app-admin/eselect + net-misc/wget" + +src_compile() { + MAKEARGS=( + PREFIX="${EPREFIX}/usr" + SYSCONFDIR="${EPREFIX}/etc" + SHAREDSTATEDIR="${EPREFIX}/var" + ESELECTDIR="${EPREFIX}/usr/share/eselect/modules" + ) + + emake "${MAKEARGS[@]}" + python_fix_shebang eselect-repo-helper +} + +src_install() { + emake "${MAKEARGS[@]}" DESTDIR="${D}" install + keepdir /var/db/repos + einstalldocs +} diff --git a/app-eselect/eselect-repository/metadata.xml b/app-eselect/eselect-repository/metadata.xml new file mode 100644 index 000000000000..4125495d9eee --- /dev/null +++ b/app-eselect/eselect-repository/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> + </maintainer> + <remote-id type="github">mgorny/eselect-repository</remote-id> +</pkgmetadata> |