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 80C2D139694 for ; Sun, 23 Apr 2017 21:01:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3ED3821C139; Sun, 23 Apr 2017 21:01:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 084CA21C139 for ; Sun, 23 Apr 2017 21:01:25 +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 0500D341694 for ; Sun, 23 Apr 2017 21:01:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D8D38744A for ; Sun, 23 Apr 2017 21:01:11 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1492981211.0cca1dbe3d74aa1f453b8779feb6d4a62d6f256e.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/http-replicator/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-proxy/http-replicator/http-replicator-3.0-r7.ebuild net-proxy/http-replicator/http-replicator-4.0_alpha2-r5.ebuild X-VCS-Directories: net-proxy/http-replicator/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 0cca1dbe3d74aa1f453b8779feb6d4a62d6f256e X-VCS-Branch: master Date: Sun, 23 Apr 2017 21:01:11 +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: ae2ecd1c-0aec-4724-9c5b-eac0937dd74d X-Archives-Hash: b5485e984b9297410e331ea2a1caac56 commit: 0cca1dbe3d74aa1f453b8779feb6d4a62d6f256e Author: David Seifert gentoo org> AuthorDate: Sun Apr 23 20:31:43 2017 +0000 Commit: David Seifert gentoo org> CommitDate: Sun Apr 23 21:00:11 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cca1dbe net-proxy/http-replicator: [QA] Add missing python metadata variables Package-Manager: Portage-2.3.5, Repoman-2.3.2 net-proxy/http-replicator/http-replicator-3.0-r7.ebuild | 13 +++++++++++-- .../http-replicator/http-replicator-4.0_alpha2-r5.ebuild | 10 +++++++--- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/net-proxy/http-replicator/http-replicator-3.0-r7.ebuild b/net-proxy/http-replicator/http-replicator-3.0-r7.ebuild index 5b29f048344..68405a1f8c1 100644 --- a/net-proxy/http-replicator/http-replicator-3.0-r7.ebuild +++ b/net-proxy/http-replicator/http-replicator-3.0-r7.ebuild @@ -2,7 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 + PYTHON_COMPAT=( python2_7 ) # not 2.6 bug #33907, not 3.0 bug #411083 + inherit eutils python-single-r1 systemd MY_P="${PN}_${PV}" @@ -10,11 +12,16 @@ MY_P="${PN}_${PV}" DESCRIPTION="Proxy cache for Gentoo packages" HOMEPAGE="https://sourceforge.net/projects/http-replicator" SRC_URI="mirror://sourceforge/http-replicator/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha amd64 hppa ppc ~sparc x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS}" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" PATCHES=( "${FILESDIR}/http-replicator-3.0-sighup.patch" @@ -22,9 +29,11 @@ PATCHES=( "${FILESDIR}/http-replicator-3-missing-directory.patch" ) -src_install(){ +pkg_setup() { python-single-r1_pkg_setup +} +src_install() { # Daemon and repcacheman into /usr/bin python_scriptinto /usr/bin python_doscript http-replicator diff --git a/net-proxy/http-replicator/http-replicator-4.0_alpha2-r5.ebuild b/net-proxy/http-replicator/http-replicator-4.0_alpha2-r5.ebuild index 0eea7f1f1e7..6810108b67b 100644 --- a/net-proxy/http-replicator/http-replicator-4.0_alpha2-r5.ebuild +++ b/net-proxy/http-replicator/http-replicator-4.0_alpha2-r5.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="5" +EAPI=5 PYTHON_COMPAT=( python2_7 ) @@ -16,6 +16,10 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS}" +DEPEND="${RDEPEND}" S="${WORKDIR}/${MY_P}" @@ -30,7 +34,7 @@ src_test() { ./unit-test && die } -src_install(){ +src_install() { python_foreach_impl python_doscript http-replicator newbin "${FILESDIR}"/${PN}-3.0-callrepcacheman-0.1 repcacheman