summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-02-28 22:28:05 +0100
committerMichał Górny <mgorny@gentoo.org>2021-02-28 22:30:02 +0100
commitfb76a7f0967edd42897026cb7b766e10000e3eb6 (patch)
tree4e59ad666994c810f99ac1c934a1f98ef01a2567 /app-eselect/eselect-repository/eselect-repository-9.ebuild
parentsci-electronics/klayout: Remove old (diff)
downloadgentoo-fb76a7f0967edd42897026cb7b766e10000e3eb6.tar.gz
gentoo-fb76a7f0967edd42897026cb7b766e10000e3eb6.tar.bz2
gentoo-fb76a7f0967edd42897026cb7b766e10000e3eb6.zip
app-eselect/eselect-repository: Bump to v9
Closes: https://bugs.gentoo.org/773361 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-eselect/eselect-repository/eselect-repository-9.ebuild')
-rw-r--r--app-eselect/eselect-repository/eselect-repository-9.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/app-eselect/eselect-repository/eselect-repository-9.ebuild b/app-eselect/eselect-repository/eselect-repository-9.ebuild
new file mode 100644
index 00000000000..7c8b5ce44d5
--- /dev/null
+++ b/app-eselect/eselect-repository/eselect-repository-9.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+inherit python-single-r1
+
+DESCRIPTION="Manage repos.conf via eselect"
+HOMEPAGE="https://github.com/mgorny/eselect-repository"
+SRC_URI="https://github.com/mgorny/eselect-repository/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-macos"
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+
+RDEPEND="${PYTHON_DEPS}
+ app-admin/eselect
+ $(python_gen_cond_dep '
+ dev-python/lxml[${PYTHON_MULTI_USEDEP}]
+ ')
+ 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
+}