1 |
robbat2 10/08/20 21:15:49 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: PDL-2.4.7.ebuild |
5 |
Log: |
6 |
Version bump via perl-bump experimental tool. |
7 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.93 dev-perl/PDL/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/PDL/ChangeLog?rev=1.93&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/PDL/ChangeLog?rev=1.93&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/PDL/ChangeLog?r1=1.92&r2=1.93 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-perl/PDL/ChangeLog,v |
19 |
retrieving revision 1.92 |
20 |
retrieving revision 1.93 |
21 |
diff -p -w -b -B -u -u -r1.92 -r1.93 |
22 |
--- ChangeLog 15 Mar 2010 08:24:45 -0000 1.92 |
23 |
+++ ChangeLog 20 Aug 2010 21:15:48 -0000 1.93 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-perl/PDL |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/ChangeLog,v 1.92 2010/03/15 08:24:45 tove Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/ChangeLog,v 1.93 2010/08/20 21:15:48 robbat2 Exp $ |
29 |
+ |
30 |
+*PDL-2.4.7 (20 Aug 2010) |
31 |
+ |
32 |
+ 20 Aug 2010; Robin H. Johnson <robbat2@g.o> +PDL-2.4.7.ebuild: |
33 |
+ Version bump via perl-bump experimental tool. |
34 |
|
35 |
15 Mar 2010; Torsten Veller <tove@g.o> -PDL-2.4.5.ebuild: |
36 |
Cleanup |
37 |
|
38 |
|
39 |
|
40 |
1.1 dev-perl/PDL/PDL-2.4.7.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/PDL/PDL-2.4.7.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/PDL/PDL-2.4.7.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: PDL-2.4.7.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2010 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/PDL-2.4.7.ebuild,v 1.1 2010/08/20 21:15:48 robbat2 Exp $ |
50 |
|
51 |
EAPI=2 |
52 |
|
53 |
MODULE_AUTHOR=CHM |
54 |
inherit perl-module eutils multilib |
55 |
|
56 |
DESCRIPTION="PDL Perl Module" |
57 |
|
58 |
LICENSE="Artistic as-is" |
59 |
SLOT="0" |
60 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~s390 ~sh ~sparc ~x86" |
61 |
IUSE="badval fftw gsl" |
62 |
|
63 |
DEPEND=">=sys-libs/ncurses-5.2 |
64 |
virtual/perl-Filter |
65 |
virtual/perl-File-Spec |
66 |
virtual/perl-PodParser |
67 |
dev-perl/Inline |
68 |
dev-perl/Astro-FITS-Header |
69 |
>=dev-perl/ExtUtils-F77-1.13 |
70 |
virtual/perl-Text-Balanced |
71 |
dev-perl/Term-ReadLine-Perl |
72 |
gsl? ( sci-libs/gsl ) |
73 |
fftw? ( sci-libs/fftw:2.1 )" |
74 |
#opengl? ( virtual/opengl virtual/glu ) |
75 |
|
76 |
mydoc="DEPENDENCIES DEVELOPMENT MANIFEST* Release_Notes TODO" |
77 |
|
78 |
SRC_TEST="do" |
79 |
|
80 |
src_prepare() { |
81 |
epatch "${FILESDIR}/PDL-2.4.2-makemakerfix.patch" |
82 |
|
83 |
# Unconditional -fPIC for the lib (#55238, #180807, #250335) |
84 |
epatch "${FILESDIR}/${PN}-2.4.4-PIC.patch" |
85 |
|
86 |
# TODO: everything in this function below this |
87 |
# TODO: line really belongs in src_compile() : |
88 |
|
89 |
# This 'fix' breaks compiles for non-opengl users |
90 |
#if ! use opengl ; then |
91 |
# sed -e "s:WITH_3D => undef:WITH_3D => 0:" \ |
92 |
# ${FILESDIR}/perldl.conf > ${S}/perldl.conf |
93 |
#fi |
94 |
sed -i \ |
95 |
-e "s:WITH_HDF => undef:WITH_HDF => 0:" \ |
96 |
-e "s:USE_POGL => undef:USE_POGL => 0:" \ |
97 |
-e "s:WITH_3D => undef:WITH_3D => 0:" "${S}/perldl.conf" || die |
98 |
|
99 |
if use badval ; then |
100 |
sed -i -e "s:WITH_BADVAL => 0:WITH_BADVAL => 1:" "${S}/perldl.conf" || die |
101 |
fi |
102 |
|
103 |
# Turn off GSL automagic: |
104 |
if use gsl ; then |
105 |
sed -i -e "s:WITH_GSL => undef:WITH_GSL => 1:" "${S}/perldl.conf" || die |
106 |
else |
107 |
sed -i -e "s:WITH_GSL => undef:WITH_GSL => 0:" "${S}/perldl.conf" || die |
108 |
fi |
109 |
# Turn off FFTW automagic too: |
110 |
if use fftw ; then |
111 |
sed -i -e "s:WITH_FFTW => undef:WITH_FFTW => 1:" "${S}/perldl.conf" || die |
112 |
else |
113 |
sed -i -e "s:WITH_FFTW => undef:WITH_FFTW => 0:" "${S}/perldl.conf" || die |
114 |
fi |
115 |
} |
116 |
|
117 |
src_install() { |
118 |
perl-module_src_install |
119 |
|
120 |
cp "${S}"/Doc/{scantree.pl,mkhtmldoc.pl} "${D}"/${VENDOR_ARCH}/PDL/Doc/ || die |
121 |
} |
122 |
|
123 |
pkg_postinst() { |
124 |
if [[ ${ROOT} = / ]] ; then |
125 |
perl ${VENDOR_ARCH}/PDL/Doc/scantree.pl |
126 |
elog "Building perldl.db done. You can recreate this at any time" |
127 |
elog "by running" |
128 |
else |
129 |
elog "You must create perldl.db by running" |
130 |
fi |
131 |
elog "perl ${VENDOR_ARCH}/PDL/Doc/scantree.pl" |
132 |
epause 3 |
133 |
elog "PDL requires that glx and dri support be enabled in" |
134 |
elog "your X configuration for certain parts of the graphics" |
135 |
elog "engine to work. See your X's documentation for futher" |
136 |
elog "information." |
137 |
} |