From: Michał Górny Date: Sat, 9 Sep 2017 09:53:49 +0000 (+0200) Subject: app-eselect/eselect-repository: A simple manager for repos.conf X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=550b95086d518bb4678aef24b5475e484a97f0ca;p=gentoo.git app-eselect/eselect-repository: A simple manager for repos.conf --- 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 @@ + + + + + mgorny@gentoo.org + Michał Górny + + mgorny/eselect-repository +