diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-06-02 20:07:27 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-06-02 20:40:42 +0200 |
commit | 24b6098e323f37886fa0572c32e3d44d83e6a752 (patch) | |
tree | 46febfee0622570094d12c6fc81a0ea82adec993 /app-eselect/eselect-repository | |
parent | media-video/vcsi: new package (diff) | |
download | gentoo-24b6098e323f37886fa0572c32e3d44d83e6a752.tar.gz gentoo-24b6098e323f37886fa0572c32e3d44d83e6a752.tar.bz2 gentoo-24b6098e323f37886fa0572c32e3d44d83e6a752.zip |
app-eselect/eselect-repository: Bump to v4
Diffstat (limited to 'app-eselect/eselect-repository')
-rw-r--r-- | app-eselect/eselect-repository/Manifest | 1 | ||||
-rw-r--r-- | app-eselect/eselect-repository/eselect-repository-4.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/app-eselect/eselect-repository/Manifest b/app-eselect/eselect-repository/Manifest index ddabee955d0e..ebe0c3f8d0c6 100644 --- a/app-eselect/eselect-repository/Manifest +++ b/app-eselect/eselect-repository/Manifest @@ -1 +1,2 @@ DIST eselect-repository-3.tar.gz 5448 BLAKE2B 36a079f2a876709a2cc045e0c113f44f9feaa491c49d3773eb3e123ee7e7a7ffa2ad05060ffa62ac39ff8091a64ff995ea948f3c784ffbb7d8ddca5e468364d3 SHA512 ac3396a6d14fcc7d4df1f9b058bc3025875707f3febdf4d1e03122445d0e6273759b8a66443525c94daaf19f91b411c469aabc0e0082cd53980886a91f38a062 +DIST eselect-repository-4.tar.gz 5535 BLAKE2B 4dce6c0136ec9394c9bf4128ec26ab67260d4b96a165825ae7b15b8476d10d23fcc5190946fc54013d6eb8e4f18988b07df4c849ba50844571986a6823511547 SHA512 0d3c204d73bb4314bc24fdf6cd837f2a56ac00d1d11fbec7f072af874bc468777676bba40e0cc17553f6dec7a907f10865f9c356a6390372e0734173465ac483 diff --git a/app-eselect/eselect-repository/eselect-repository-4.ebuild b/app-eselect/eselect-repository/eselect-repository-4.ebuild new file mode 100644 index 000000000000..8b88032d1ad9 --- /dev/null +++ b/app-eselect/eselect-repository/eselect-repository-4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{3_4,3_5,3_6} ) +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="~amd64 ~arm ~x86" +IUSE="" +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +RDEPEND="${PYTHON_DEPS} + app-admin/eselect + dev-python/lxml[${PYTHON_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 +} |