commit: 04e0db1f4e8822a522d76002ecdd591e6b0ec9a4
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 16 18:41:12 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Aug 16 18:41:12 2020 +0000
URL: https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=04e0db1f
dev-perl/PerlQt: EAPI-5 bump to fix fatal error w/ perl-module.eclass
It *IS* broken by missing =sys-devel/automake-1.9* anyway,
like all the Qt3 stuff.
Package-Manager: Portage-3.0.2, Repoman-2.3.23
RepoMan-Options: --force
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
dev-perl/PerlQt/PerlQt-3.009_beta2.ebuild | 34 ++++++++++++++++---------------
dev-perl/PerlQt/metadata.xml | 9 --------
2 files changed, 18 insertions(+), 25 deletions(-)
diff --git a/dev-perl/PerlQt/PerlQt-3.009_beta2.ebuild
b/dev-perl/PerlQt/PerlQt-3.009_beta2.ebuild
index f0b5be35..fbeeb237 100644
--- a/dev-perl/PerlQt/PerlQt-3.009_beta2.ebuild
+++ b/dev-perl/PerlQt/PerlQt-3.009_beta2.ebuild
@@ -1,6 +1,7 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/PerlQt/PerlQt-3.009_beta2.ebuild,v
1.11 2009/11/11 12:31:31 ssuominen Exp $
+
+EAPI=5
ARTS_REQUIRED=never
inherit perl-module kde
@@ -23,22 +24,23 @@ S=${WORKDIR}/${P/_beta2/}
#if kdebindings is installed compilation is really fast!
# because libsmoke comes with kdebindings-3.1
-DEPEND="=dev-qt/qt-meta-3*
- kde-frameworks/kdelibs
+DEPEND="
+ =dev-qt/qt-meta-3*
+ kde-frameworks/kdelibs:3.5
dev-lang/perl"
src_unpack() {
unpack ${A}
- cd ${S}/PerlQt
+ cd ${S}/PerlQt || die
#cp Makefile.PL.in Makefile.PL.in.orig
#perl -pi -e "s#WriteMakefile\(#WriteMakefile\(\n'PREFIX' =>
'${D}/usr',\n#" Makefile.PL.in
- cd ${S}
+ cd ${S} || die
}
src_compile() {
myconf="${myconf} --without-arts"
addwrite $QTDIR/etc/settings
- perl Makefile.PL ${myconf} --prefix=${D}/usr --exec-prefix=/usr
+ perl Makefile.PL ${myconf} --prefix=${D}/usr --exec-prefix=/usr || die
emake
}
@@ -47,19 +49,19 @@ src_install() {
addwrite $QTDIR/etc/settings
dodir /lib
make PREFIX=/usr DESTDIR=${D} install || die
- mkdir -p ${D}/usr/share/doc/${P}/tutorials
- cp -r ${S}/PerlQt/tutorials/* ${D}/usr/share/doc/${P}/tutorials
- mv ${D}/${D}/usr ${D}/
- rm -rf ${D}/var
+ mkdir -p ${D}/usr/share/doc/${P}/tutorials || die
+ cp -r ${S}/PerlQt/tutorials/* ${D}/usr/share/doc/${P}/tutorials || die
+ mv ${D}/${D}/usr ${D}/ || die
+ rm -rf ${D}/var || die
for file in `find ${D}/usr/share/doc/${P}/tutorials/*/*.pl`;do
- perl -pi -e "s/use blib;/#use blib;/" ${file}
- chmod +x ${file}
+ perl -pi -e "s/use blib;/#use blib;/" ${file} || die
+ chmod +x ${file} || die
done
- mkdir -p ${D}/usr/share/doc/${P}/examples
- cp -r ${S}/PerlQt/examples/* ${D}/usr/share/doc/${P}/examples
+ mkdir -p ${D}/usr/share/doc/${P}/examples || die
+ cp -r ${S}/PerlQt/examples/* ${D}/usr/share/doc/${P}/examples || die
for file in `find ${D}/usr/share/doc/${P}/examples/*/*.pl`;do
- chmod +x ${file}
+ chmod +x ${file} || die
done
}
diff --git a/dev-perl/PerlQt/metadata.xml b/dev-perl/PerlQt/metadata.xml
index 44a2b7f8..7a38bb90 100644
--- a/dev-perl/PerlQt/metadata.xml
+++ b/dev-perl/PerlQt/metadata.xml
@@ -2,13 +2,4 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
- <maintainer>
- <email>[email protected]</email>
- <description>Primary Maintainer</description>
- </maintainer>
- <maintainer>
- <email>[email protected]</email>
- <description>Secondary Maintainer</description>
- </maintainer>
- <longdescription></longdescription>
</pkgmetadata>