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 1FD60139083 for ; Sat, 9 Sep 2017 09:59:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5AD3FE0DC4; Sat, 9 Sep 2017 09:59:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 3B4A6E0DC4 for ; Sat, 9 Sep 2017 09:59:34 +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 15D663417CD for ; Sat, 9 Sep 2017 09:59:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5FC538E5B for ; Sat, 9 Sep 2017 09:59:31 +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: <1504951159.550b95086d518bb4678aef24b5475e484a97f0ca.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/eselect-repository-9999.ebuild app-eselect/eselect-repository/metadata.xml X-VCS-Directories: app-eselect/eselect-repository/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 550b95086d518bb4678aef24b5475e484a97f0ca X-VCS-Branch: master Date: Sat, 9 Sep 2017 09:59:31 +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: 72baa893-3322-453f-9e66-a39f0cbfa3ac X-Archives-Hash: dbe3729eb330301def05303332d80890 commit: 550b95086d518bb4678aef24b5475e484a97f0ca Author: Michał Górny gentoo org> AuthorDate: Sat Sep 9 09:53:49 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Sep 9 09:59:19 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=550b9508 app-eselect/eselect-repository: A simple manager for repos.conf .../eselect-repository-9999.ebuild | 39 ++++++++++++++++++++++ app-eselect/eselect-repository/metadata.xml | 9 +++++ 2 files changed, 48 insertions(+) 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 00000000000..b22e3150d3c --- /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 00000000000..4125495d9ee --- /dev/null +++ b/app-eselect/eselect-repository/metadata.xml @@ -0,0 +1,9 @@ + + + + + mgorny@gentoo.org + Michał Górny + + mgorny/eselect-repository +