public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Hüttel" <dilfridge@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/PortageXS/
Date: Sat, 12 Dec 2015 12:10:27 +0000 (UTC)	[thread overview]
Message-ID: <1449922221.f5f4104c558646f9c7746cc146ccb0e9493d2112.dilfridge@gentoo> (raw)

commit:     f5f4104c558646f9c7746cc146ccb0e9493d2112
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 12 12:07:34 2015 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> 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


             reply	other threads:[~2015-12-12 12:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-12 12:10 Andreas Hüttel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-08-16  1:37 [gentoo-commits] repo/gentoo:master commit in: dev-perl/PortageXS/ Kent Fredric
2016-08-16  1:37 Kent Fredric
2017-01-29 16:45 Fabian Groffen
2018-02-11 10:36 Michał Górny
2018-05-01 11:09 Mikle Kolyada
2020-07-23 11:11 Kent Fredric
2021-02-28 23:28 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1449922221.f5f4104c558646f9c7746cc146ccb0e9493d2112.dilfridge@gentoo \
    --to=dilfridge@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox