From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DE2941384B4 for ; Sat, 12 Dec 2015 12:10:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 40BFBE08E8; Sat, 12 Dec 2015 12:10:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B84A1E08E8 for ; Sat, 12 Dec 2015 12:10:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 54147340967 for ; Sat, 12 Dec 2015 12:10:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BEA2ECB0 for ; Sat, 12 Dec 2015 12:10:27 +0000 (UTC) From: "Andreas Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Hüttel" Message-ID: <1449922221.f5f4104c558646f9c7746cc146ccb0e9493d2112.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/PortageXS/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/PortageXS/PortageXS-0.02.12.ebuild dev-perl/PortageXS/PortageXS-0.2.10-r5.ebuild dev-perl/PortageXS/PortageXS-0.2.12-r1.ebuild X-VCS-Directories: dev-perl/PortageXS/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas Hüttel X-VCS-Revision: f5f4104c558646f9c7746cc146ccb0e9493d2112 X-VCS-Branch: master Date: Sat, 12 Dec 2015 12:10:27 +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: 55d74c4a-9b43-4be0-9adb-e500db1d4325 X-Archives-Hash: 1082c79e785698411af0f1fb748b716f commit: f5f4104c558646f9c7746cc146ccb0e9493d2112 Author: Andreas K. Hüttel gentoo org> AuthorDate: Sat Dec 12 12:07:34 2015 +0000 Commit: Andreas Hüttel gentoo org> CommitDate: Sat Dec 12 12:10:21 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5f4104c dev-perl/PortageXS: Fix build, bug 529246; further cleanups, standardize numbering Package-Manager: portage-2.2.26 ...S-0.02.12.ebuild => PortageXS-0.2.10-r5.ebuild} | 33 ++++++++++++---------- ...S-0.02.12.ebuild => PortageXS-0.2.12-r1.ebuild} | 16 +++++++---- 2 files changed, 29 insertions(+), 20 deletions(-) diff --git a/dev-perl/PortageXS/PortageXS-0.02.12.ebuild b/dev-perl/PortageXS/PortageXS-0.2.10-r5.ebuild similarity index 60% copy from dev-perl/PortageXS/PortageXS-0.02.12.ebuild copy to dev-perl/PortageXS/PortageXS-0.2.10-r5.ebuild index 0e4b60f..a9fe919 100644 --- a/dev-perl/PortageXS/PortageXS-0.02.12.ebuild +++ b/dev-perl/PortageXS/PortageXS-0.2.10-r5.ebuild @@ -1,36 +1,40 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 -MODULE_AUTHOR=KENTNL -MODULE_VERSION=0.2.12 +EAPI=5 +MODULE_VERSION=0.02.10 inherit perl-module eutils prefix DESCRIPTION="Portage abstraction layer for perl" -HOMEPAGE="http://search.cpan.org/~kentnl/PortageXS-0.2.12/" +HOMEPAGE="http://download.mpsna.de/opensource/PortageXS/" +SRC_URI="http://download.mpsna.de/opensource/PortageXS/${PN}-${MODULE_VERSION}.tar.gz" SLOT="0" LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" IUSE="minimal" +SRC_TEST="do" -DEPEND="dev-perl/Module-Build +DEPEND=" virtual/perl-Term-ANSIColor dev-perl/Shell-EnvImporter - !minimal? ( dev-perl/IO-Socket-SSL - virtual/perl-Sys-Syslog )" + !minimal? ( + dev-perl/IO-Socket-SSL + virtual/perl-Sys-Syslog + ) +" +RDEPEND="${DEPEND}" src_prepare() { - epatch "${FILESDIR}"/${PV}/${P}-prefix.patch + epatch "${FILESDIR}"/${PN}-0.02.10-portage_path_fix.patch + epatch "${FILESDIR}"/${PN}-0.02.10-prefix.patch eprefixify \ - lib/PortageXS/examples/getParamFromFile.pl \ lib/PortageXS/Core.pm \ lib/PortageXS.pm \ usr/bin/portagexs_client \ - usr/sbin/portagexsd \ - t/01_Core.t + usr/sbin/portagexsd if use minimal ; then rm -r "${S}"/usr || die @@ -41,7 +45,8 @@ src_prepare() { fi } -pkg_preinst() { +src_install() { + perl-module_src_install if use !minimal ; then cp -r "${S}"/usr "${D}${EPREFIX}" || die fi @@ -54,5 +59,3 @@ pkg_postinst() { elog "to delete old ${EPREFIX}/etc/portagexs directories." fi } - -SRC_TEST="do parallel" diff --git a/dev-perl/PortageXS/PortageXS-0.02.12.ebuild b/dev-perl/PortageXS/PortageXS-0.2.12-r1.ebuild similarity index 87% rename from dev-perl/PortageXS/PortageXS-0.02.12.ebuild rename to dev-perl/PortageXS/PortageXS-0.2.12-r1.ebuild index 0e4b60f..a881665 100644 --- a/dev-perl/PortageXS/PortageXS-0.02.12.ebuild +++ b/dev-perl/PortageXS/PortageXS-0.2.12-r1.ebuild @@ -1,6 +1,7 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ + EAPI=5 MODULE_AUTHOR=KENTNL @@ -15,14 +16,18 @@ LICENSE="GPL-2" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" IUSE="minimal" -DEPEND="dev-perl/Module-Build +DEPEND=" + dev-perl/Module-Build virtual/perl-Term-ANSIColor dev-perl/Shell-EnvImporter - !minimal? ( dev-perl/IO-Socket-SSL - virtual/perl-Sys-Syslog )" + !minimal? ( + dev-perl/IO-Socket-SSL + virtual/perl-Sys-Syslog + ) +" src_prepare() { - epatch "${FILESDIR}"/${PV}/${P}-prefix.patch + epatch "${FILESDIR}"/0.02.12/${PN}-0.02.12-prefix.patch eprefixify \ lib/PortageXS/examples/getParamFromFile.pl \ @@ -41,7 +46,8 @@ src_prepare() { fi } -pkg_preinst() { +src_install() { + perl-module_src_install if use !minimal ; then cp -r "${S}"/usr "${D}${EPREFIX}" || die fi