From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9330C138334 for ; Sun, 30 Sep 2018 18:13:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 75398E0831; Sun, 30 Sep 2018 18:13:58 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 31717E0831 for ; Sun, 30 Sep 2018 18:13:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1CE7A335CB7 for ; Sun, 30 Sep 2018 18:13:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 692BC2C6 for ; Sun, 30 Sep 2018 18:13:49 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1538331221.5a259c088a0ab975497449e177dc8e725451d4e7.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-eselect/eselect-repository/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-eselect/eselect-repository/Manifest app-eselect/eselect-repository/eselect-repository-5.ebuild X-VCS-Directories: app-eselect/eselect-repository/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 5a259c088a0ab975497449e177dc8e725451d4e7 X-VCS-Branch: master Date: Sun, 30 Sep 2018 18:13:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b1de5b76-fa6c-4ca8-8adb-56d4d1ece87b X-Archives-Hash: 532349cbe1ab4442c310c8877a7c6f00 commit: 5a259c088a0ab975497449e177dc8e725451d4e7 Author: Michał Górny gentoo org> AuthorDate: Sun Sep 30 18:07:16 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Sep 30 18:13:41 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a259c08 app-eselect/eselect-repository: Bump to v5 v5 fixes listing local repositories. Closes: https://bugs.gentoo.org/666368 Signed-off-by: Michał Górny gentoo.org> app-eselect/eselect-repository/Manifest | 1 + .../eselect-repository/eselect-repository-5.ebuild | 40 ++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/app-eselect/eselect-repository/Manifest b/app-eselect/eselect-repository/Manifest index 85d7e2db135..3069b62380d 100644 --- a/app-eselect/eselect-repository/Manifest +++ b/app-eselect/eselect-repository/Manifest @@ -1 +1,2 @@ DIST eselect-repository-4.tar.gz 5535 BLAKE2B 4dce6c0136ec9394c9bf4128ec26ab67260d4b96a165825ae7b15b8476d10d23fcc5190946fc54013d6eb8e4f18988b07df4c849ba50844571986a6823511547 SHA512 0d3c204d73bb4314bc24fdf6cd837f2a56ac00d1d11fbec7f072af874bc468777676bba40e0cc17553f6dec7a907f10865f9c356a6390372e0734173465ac483 +DIST eselect-repository-5.tar.gz 5607 BLAKE2B cc007474b51873b7fa7f9c56572be717e7b8dff0d46c21d838911bcf9ecea99549da8e9f2d63c8101c0bc9c2ca230bfaba46f8bd770488d6566a62b2ac2ab0a6 SHA512 b5cf1701cc1d0cb50afcb9403f5c6f41223240891029f51ff899144eecee6fa3d7cfad23c477fae23733f9005413facd2cb8e9e1dea70931abc691a225fa83b4 diff --git a/app-eselect/eselect-repository/eselect-repository-5.ebuild b/app-eselect/eselect-repository/eselect-repository-5.ebuild new file mode 100644 index 00000000000..06ccc47c631 --- /dev/null +++ b/app-eselect/eselect-repository/eselect-repository-5.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,3_7} ) +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 ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~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 +}