1 |
robbat2 09/11/10 10:27:05 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: PDL-2.4.5.ebuild |
5 |
Log: |
6 |
Version bump via perl-bump experimental tool. |
7 |
(Portage version: 2.2_rc49/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.84 dev-perl/PDL/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/PDL/ChangeLog?rev=1.84&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/PDL/ChangeLog?rev=1.84&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/PDL/ChangeLog?r1=1.83&r2=1.84 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-perl/PDL/ChangeLog,v |
19 |
retrieving revision 1.83 |
20 |
retrieving revision 1.84 |
21 |
diff -p -w -b -B -u -u -r1.83 -r1.84 |
22 |
--- ChangeLog 10 Aug 2009 19:57:18 -0000 1.83 |
23 |
+++ ChangeLog 10 Nov 2009 10:27:04 -0000 1.84 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-perl/PDL |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/ChangeLog,v 1.83 2009/08/10 19:57:18 tove Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/ChangeLog,v 1.84 2009/11/10 10:27:04 robbat2 Exp $ |
29 |
+ |
30 |
+*PDL-2.4.5 (10 Nov 2009) |
31 |
+ |
32 |
+ 10 Nov 2009; Robin H. Johnson <robbat2@g.o> +PDL-2.4.5.ebuild: |
33 |
+ Version bump via perl-bump experimental tool. |
34 |
|
35 |
10 Aug 2009; Torsten Veller <tove@g.o> PDL-2.4.3-r1.ebuild, |
36 |
PDL-2.4.4.ebuild: |
37 |
|
38 |
|
39 |
|
40 |
1.1 dev-perl/PDL/PDL-2.4.5.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/PDL/PDL-2.4.5.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/PDL/PDL-2.4.5.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: PDL-2.4.5.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2009 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.5.ebuild,v 1.1 2009/11/10 10:27:04 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 ~mips ~ppc ~s390 ~sh ~sparc ~x86" |
61 |
IUSE="badval fftw gsl opengl" |
62 |
|
63 |
DEPEND=">=sys-libs/ncurses-5.2 |
64 |
virtual/perl-Filter |
65 |
virtual/perl-File-Spec |
66 |
dev-perl/Inline |
67 |
dev-perl/Astro-FITS-Header |
68 |
>=dev-perl/ExtUtils-F77-1.13 |
69 |
virtual/perl-Text-Balanced |
70 |
opengl? ( virtual/opengl virtual/glu ) |
71 |
dev-perl/Term-ReadLine-Perl |
72 |
gsl? ( sci-libs/gsl ) |
73 |
fftw? ( sci-libs/fftw:2.1 )" |
74 |
|
75 |
mydoc="DEPENDENCIES DEVELOPMENT MANIFEST* Release_Notes TODO" |
76 |
|
77 |
#SRC_TEST="do" |
78 |
|
79 |
src_prepare() { |
80 |
epatch "${FILESDIR}/PDL-2.4.2-makemakerfix.patch" |
81 |
|
82 |
# Unconditional -fPIC for the lib (#55238, #180807, #250335) |
83 |
epatch "${FILESDIR}/${PN}-2.4.4-PIC.patch" |
84 |
|
85 |
# TODO: everything in this function below this |
86 |
# TODO: line really belongs in src_compile() : |
87 |
|
88 |
# This 'fix' breaks compiles for non-opengl users |
89 |
#if ! use opengl ; then |
90 |
# sed -e "s:WITH_3D => undef:WITH_3D => 0:" \ |
91 |
# ${FILESDIR}/perldl.conf > ${S}/perldl.conf |
92 |
#fi |
93 |
|
94 |
if use badval ; then |
95 |
sed -i -e "s:WITH_BADVAL => 0:WITH_BADVAL => 1:" "${S}/perldl.conf" |
96 |
fi |
97 |
|
98 |
# Turn off GSL automagic: |
99 |
if use gsl ; then |
100 |
sed -i -e "s:WITH_GSL => undef:WITH_GSL => 1:" "${S}/perldl.conf" |
101 |
else |
102 |
sed -i -e "s:WITH_GSL => undef:WITH_GSL => 0:" "${S}/perldl.conf" |
103 |
fi |
104 |
# Turn off FFTW automagic too: |
105 |
if use fftw ; then |
106 |
sed -i -e "s:WITH_FFTW => undef:WITH_FFTW => 1:" "${S}/perldl.conf" |
107 |
else |
108 |
sed -i -e "s:WITH_FFTW => undef:WITH_FFTW => 0:" "${S}/perldl.conf" |
109 |
fi |
110 |
} |
111 |
|
112 |
src_install() { |
113 |
perl-module_src_install |
114 |
dodir /usr/share/doc/${PF}/html |
115 |
eval `perl '-V:version'` |
116 |
PERLVERSION=${version} |
117 |
eval `perl '-V:archname'` |
118 |
ARCHVERSION=${archname} |
119 |
mv "${D}"/usr/$(get_libdir)/perl5/vendor_perl/${PERLVERSION}/${ARCHVERSION}/PDL/HtmlDocs/PDL \ |
120 |
"${D}"/usr/share/doc/${PF}/html |
121 |
|
122 |
mydir=${D}/usr/share/doc/${PF}/html/PDL |
123 |
|
124 |
for i in "${mydir}"/* "${mydir}"/IO/* "${mydir}"/Fit/* "${mydir}"/Pod/* "${mydir}"/Graphics/* |
125 |
do |
126 |
dosed "${i/${D}}" |
127 |
done |
128 |
cp "${S}"/Doc/scantree.pl "${D}"/usr/$(get_libdir)/perl5/vendor_perl/${PERLVERSION}/${ARCHVERSION}/PDL/Doc/ |
129 |
cp "${S}"/Doc/mkhtmldoc.pl "${D}"/usr/$(get_libdir)/perl5/vendor_perl/${PERLVERSION}/${ARCHVERSION}/PDL/Doc/ |
130 |
} |
131 |
|
132 |
pkg_postinst() { |
133 |
perl /usr/$(get_libdir)/perl5/vendor_perl/${PERLVERSION}/${ARCHVERSION}/PDL/Doc/scantree.pl |
134 |
elog "Building perldl.db done. You can recreate this at any time" |
135 |
elog "by running" |
136 |
elog "perl /usr/$(get_libdir)/perl5/vendor_perl/${PERLVERSION}/${ARCHVERSION}/PDL/Doc/scantree.pl" |
137 |
epause 3 |
138 |
elog "PDL requires that glx and dri support be enabled in" |
139 |
elog "your X configuration for certain parts of the graphics" |
140 |
elog "engine to work. See your X's documentation for futher" |
141 |
elog "information." |
142 |
} |