From 46bb7e748dbbeb0437025dac19be6cc08cae3e9e Mon Sep 17 00:00:00 2001 From: Michael Cummings Date: Tue, 27 Mar 2007 19:34:45 +0000 Subject: [PATCH] Bug 169189, gsl as a use flag Package-Manager: portage-2.1.2.2 --- dev-perl/PDL/ChangeLog | 7 ++- dev-perl/PDL/Manifest | 25 ++++++-- dev-perl/PDL/PDL-2.4.3-r1.ebuild | 82 ++++++++++++++++++++++++++ dev-perl/PDL/files/digest-PDL-2.4.3-r1 | 3 + 4 files changed, 112 insertions(+), 5 deletions(-) create mode 100644 dev-perl/PDL/PDL-2.4.3-r1.ebuild create mode 100644 dev-perl/PDL/files/digest-PDL-2.4.3-r1 diff --git a/dev-perl/PDL/ChangeLog b/dev-perl/PDL/ChangeLog index 8a4b14dc42bd..68834cf2523c 100644 --- a/dev-perl/PDL/ChangeLog +++ b/dev-perl/PDL/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-perl/PDL # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/ChangeLog,v 1.63 2007/03/26 17:43:29 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/ChangeLog,v 1.64 2007/03/27 19:34:45 mcummings Exp $ + +*PDL-2.4.3-r1 (27 Mar 2007) + + 27 Mar 2007; Michael Cummings +PDL-2.4.3-r1.ebuild: + Bug 169189, gsl as a use flag 26 Mar 2007; Raúl Porcel PDL-2.4.3.ebuild: Add ~ia64 wrt bug 165651 diff --git a/dev-perl/PDL/Manifest b/dev-perl/PDL/Manifest index f6a4b9467732..da9f00c44d33 100644 --- a/dev-perl/PDL/Manifest +++ b/dev-perl/PDL/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX PDL-2.4.2-makemakerfix.patch 425 RMD160 dea21a20bbd8a857c59e79472ace63743980f418 SHA1 70b596978e68e2df62628b5c56236caae9f348c4 SHA256 c9abca98e5d046a35f097c8d0ede0cd9a548c1645c02778748efe6388c960db0 MD5 e941bf4ceb1fce0936bcc67d26bbf50f files/PDL-2.4.2-makemakerfix.patch 425 RMD160 dea21a20bbd8a857c59e79472ace63743980f418 files/PDL-2.4.2-makemakerfix.patch 425 @@ -16,14 +19,18 @@ EBUILD PDL-2.4.2-r1.ebuild 2599 RMD160 5bafcd87977dc751b95c2450dcceb872337e79e7 MD5 01d710df0c403ce780b736f51a14f2a0 PDL-2.4.2-r1.ebuild 2599 RMD160 5bafcd87977dc751b95c2450dcceb872337e79e7 PDL-2.4.2-r1.ebuild 2599 SHA256 b54e73ffb298b4695728e07f523c96f783281294eb4f49172a5469ab8056bbfd PDL-2.4.2-r1.ebuild 2599 +EBUILD PDL-2.4.3-r1.ebuild 2549 RMD160 b3b680bd156c02f1e71db0f176d8985308a1bd18 SHA1 7d209b43ad732af230fc2b85c6d7b922c2fd97e8 SHA256 7af85ba6cb72b7c2abe16830b8d0930c3177c3583c5685f41d762b60699c318e +MD5 89f6571c64869ec1fb0c1659f3429110 PDL-2.4.3-r1.ebuild 2549 +RMD160 b3b680bd156c02f1e71db0f176d8985308a1bd18 PDL-2.4.3-r1.ebuild 2549 +SHA256 7af85ba6cb72b7c2abe16830b8d0930c3177c3583c5685f41d762b60699c318e PDL-2.4.3-r1.ebuild 2549 EBUILD PDL-2.4.3.ebuild 2647 RMD160 787fb9553282d75db2b6dea278a1f9d420f5b02f SHA1 6e84ae849b5ece92c10eecff05ac8917c025f107 SHA256 ec0e8f20ea11533cf95f421cc9a1e04a356da790bafdc2e03885cf0076e92d54 MD5 4cf1a3734ab075e292493b88eec1b87b PDL-2.4.3.ebuild 2647 RMD160 787fb9553282d75db2b6dea278a1f9d420f5b02f PDL-2.4.3.ebuild 2647 SHA256 ec0e8f20ea11533cf95f421cc9a1e04a356da790bafdc2e03885cf0076e92d54 PDL-2.4.3.ebuild 2647 -MISC ChangeLog 7823 RMD160 826299d1a51796ed4a9f3332ba0910ea42dba688 SHA1 ea6c589e0ba0d39b3a0d499141bf4f649965ea1d SHA256 89cbc6cfd8ce18386452f9b5d92c6a76b37e383df1f217c0bc03b5acab316d00 -MD5 258bf5d4de31ff3f17efc9959758865a ChangeLog 7823 -RMD160 826299d1a51796ed4a9f3332ba0910ea42dba688 ChangeLog 7823 -SHA256 89cbc6cfd8ce18386452f9b5d92c6a76b37e383df1f217c0bc03b5acab316d00 ChangeLog 7823 +MISC ChangeLog 7964 RMD160 fe597f80cfbd672695eb6f858fe6c41f242aa9e7 SHA1 83b405793bb5fb574c6a616608ea6e4b61aa3340 SHA256 82190192dc819fd37d090ed12a3a420e7edcf927224774326293daeeba32479e +MD5 8a1ac661978a913e1066311dd1662ae2 ChangeLog 7964 +RMD160 fe597f80cfbd672695eb6f858fe6c41f242aa9e7 ChangeLog 7964 +SHA256 82190192dc819fd37d090ed12a3a420e7edcf927224774326293daeeba32479e ChangeLog 7964 MISC metadata.xml 305 RMD160 647980838c590f54441a053916ea629e53e551c0 SHA1 99ef1deeae9a934fb6e46cf5fc4a5fcb8379a74a SHA256 f05dbef15061919972882cab07057e102760a542beba17d131194091401cd7ca MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305 RMD160 647980838c590f54441a053916ea629e53e551c0 metadata.xml 305 @@ -34,3 +41,13 @@ SHA256 c7d1737c0ae952ef35ff6ba0b6e3cf3c0adb55a8527d05a702bc8c61f1c943d2 files/di MD5 b858da30482df03adbc96bb3662294d4 files/digest-PDL-2.4.3 232 RMD160 e133ff3b80eb2d89a452182ea0838ad7b4c43d5c files/digest-PDL-2.4.3 232 SHA256 4a9b6f8acc042e13bf1c7d87a5eb4c22d3245eeb36970ade95b6f074b8734533 files/digest-PDL-2.4.3 232 +MD5 b858da30482df03adbc96bb3662294d4 files/digest-PDL-2.4.3-r1 232 +RMD160 e133ff3b80eb2d89a452182ea0838ad7b4c43d5c files/digest-PDL-2.4.3-r1 232 +SHA256 4a9b6f8acc042e13bf1c7d87a5eb4c22d3245eeb36970ade95b6f074b8734533 files/digest-PDL-2.4.3-r1 232 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.3 (GNU/Linux) + +iD8DBQFGCXHbtG5z4I8BtQoRAopGAJwJFRS8ArJy0Jv9Hd2meFvMLb/5+gCcDZfu +fdJpyXkh9p2dQXHQaEiiNb0= +=AB93 +-----END PGP SIGNATURE----- diff --git a/dev-perl/PDL/PDL-2.4.3-r1.ebuild b/dev-perl/PDL/PDL-2.4.3-r1.ebuild new file mode 100644 index 000000000000..6fc9598057a5 --- /dev/null +++ b/dev-perl/PDL/PDL-2.4.3-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/PDL-2.4.3-r1.ebuild,v 1.1 2007/03/27 19:34:45 mcummings Exp $ + +inherit perl-module eutils multilib + +DESCRIPTION="PDL Perl Module" +HOMEPAGE="http://search.cpan.org/~csoe/" +SRC_URI="mirror://cpan/authors/id/C/CS/CSOE/${P}.tar.gz" + +LICENSE="Artistic as-is" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~sh ~sparc ~x86" +IUSE="opengl badval gsl" + +DEPEND=">=sys-libs/ncurses-5.2 + perl-core/Filter + virtual/perl-File-Spec + dev-perl/Inline + dev-perl/Astro-FITS-Header + >=dev-perl/ExtUtils-F77-1.13 + virtual/perl-Text-Balanced + opengl? ( virtual/opengl virtual/glu ) + dev-perl/Term-ReadLine-Perl + gsl? ( sci-libs/gsl ) + >=sys-apps/sed-4" + +mydoc="DEPENDENCIES DEVELOPMENT MANIFEST* Release_Notes TODO" + +#SRC_TEST="do" + +src_unpack() { + unpack ${A} + + cd ${S}; epatch ${FILESDIR}/PDL-2.4.2-makemakerfix.patch + # This 'fix' breaks compiles for non-opengl users + #if ! use opengl ; then + # sed -e "s:WITH_3D => undef:WITH_3D => 0:" \ + # ${FILESDIR}/perldl.conf > ${S}/perldl.conf + #fi + + if use badval ; then + sed -i -e "s:WITH_BADVAL => 0:WITH_BADVAL => 1:" \ + ${S}/perldl.conf + fi + + + # Unconditional -fPIC for the lib (#55238) + sed -i -e "s/mycompiler -c -o/mycompiler -fPIC -c -o/" ${S}/Lib/Slatec/Makefile.PL +} + +src_install() { + perl-module_src_install + dodir /usr/share/doc/${PF}/html + eval `perl '-V:version'` + PERLVERSION=${version} + eval `perl '-V:archname'` + ARCHVERSION=${archname} + mv ${D}/usr/$(get_libdir)/perl5/vendor_perl/${PERLVERSION}/${ARCHVERSION}/PDL/HtmlDocs/PDL \ + ${D}/usr/share/doc/${PF}/html + + mydir=${D}/usr/share/doc/${PF}/html/PDL + + for i in ${mydir}/* ${mydir}/IO/* ${mydir}/Fit/* ${mydir}/Pod/* ${mydir}/Graphics/* + do + dosed ${i/${D}} + done + cp ${S}/Doc/scantree.pl ${D}/usr/$(get_libdir)/perl5/vendor_perl/${PERLVERSION}/${ARCHVERSION}/PDL/Doc/ + cp ${S}/Doc/mkhtmldoc.pl ${D}/usr/$(get_libdir)/perl5/vendor_perl/${PERLVERSION}/${ARCHVERSION}/PDL/Doc/ +} + +pkg_postinst() { + perl /usr/$(get_libdir)/perl5/vendor_perl/${PERLVERSION}/${ARCHVERSION}/PDL/Doc/scantree.pl + elog "Building perldl.db done. You can recreate this at any time" + elog "by running" + elog "perl /usr/$(get_libdir)/perl5/vendor_perl/${PERLVERSION}/${ARCHVERSION}/PDL/Doc/scantree.pl" + epause 3 + elog "PDL requires that glx and dri support be enabled in" + elog "your X configuration for certain parts of the graphics" + elog "engine to work. See your X's documentation for futher" + elog "information." +} diff --git a/dev-perl/PDL/files/digest-PDL-2.4.3-r1 b/dev-perl/PDL/files/digest-PDL-2.4.3-r1 new file mode 100644 index 000000000000..be86cc885706 --- /dev/null +++ b/dev-perl/PDL/files/digest-PDL-2.4.3-r1 @@ -0,0 +1,3 @@ +MD5 8fa453a4ac90d5c0382020d5635ad90a PDL-2.4.3.tar.gz 2247010 +RMD160 346a4effabcc363de134a94681175126266fca73 PDL-2.4.3.tar.gz 2247010 +SHA256 c1687e74f8304223ddcec59a0d0cc6322f0db43153bd00a8b9ed9fdf0eb7bcae PDL-2.4.3.tar.gz 2247010 -- 2.26.2