1 |
tomjbe 13/06/03 18:02:22 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: wspr-2.00-r2.ebuild |
5 |
Removed: wspr-2.00-r1.ebuild |
6 |
Log: |
7 |
Make last patch a rev bump. Thanks Arfrever for pointing out |
8 |
|
9 |
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0x762053D5) |
10 |
|
11 |
Revision Changes Path |
12 |
1.11 media-radio/wspr/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/wspr/ChangeLog?rev=1.11&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/wspr/ChangeLog?rev=1.11&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/wspr/ChangeLog?r1=1.10&r2=1.11 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/media-radio/wspr/ChangeLog,v |
21 |
retrieving revision 1.10 |
22 |
retrieving revision 1.11 |
23 |
diff -u -r1.10 -r1.11 |
24 |
--- ChangeLog 2 Jun 2013 16:34:53 -0000 1.10 |
25 |
+++ ChangeLog 3 Jun 2013 18:02:21 -0000 1.11 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for media-radio/wspr |
28 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/media-radio/wspr/ChangeLog,v 1.10 2013/06/02 16:34:53 tomjbe Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/media-radio/wspr/ChangeLog,v 1.11 2013/06/03 18:02:21 tomjbe Exp $ |
31 |
+ |
32 |
+*wspr-2.00-r2 (03 Jun 2013) |
33 |
+ |
34 |
+ 03 Jun 2013; Thomas Beierlein <tomjbe@g.o> -wspr-2.00-r1.ebuild, |
35 |
+ +wspr-2.00-r2.ebuild: |
36 |
+ Make last patch a rev bump. Thanks Arfrever for pointing out |
37 |
+ |
38 |
|
39 |
02 Jun 2013; Thomas Beierlein <tomjbe@g.o> wspr-2.00-r1.ebuild, |
40 |
+files/wspr-2.00-PIL.patch: |
41 |
|
42 |
|
43 |
|
44 |
1.1 media-radio/wspr/wspr-2.00-r2.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/wspr/wspr-2.00-r2.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/wspr/wspr-2.00-r2.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: wspr-2.00-r2.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2013 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/media-radio/wspr/wspr-2.00-r2.ebuild,v 1.1 2013/06/03 18:02:21 tomjbe Exp $ |
54 |
|
55 |
EAPI="5" |
56 |
PYTHON_COMPAT=( python2_{6,7} ) |
57 |
PYTHON_REQ_USE="tk" |
58 |
|
59 |
inherit autotools fortran-2 distutils-r1 flag-o-matic multilib toolchain-funcs |
60 |
|
61 |
MY_P=${P}.r1714 |
62 |
|
63 |
DESCRIPTION="Weak Signal Propagation Reporter" |
64 |
HOMEPAGE="http://www.physics.princeton.edu/pulsar/K1JT/wspr.html" |
65 |
SRC_URI="http://www.physics.princeton.edu/pulsar/K1JT/${MY_P}.tgz" |
66 |
LICENSE="GPL-2" |
67 |
|
68 |
SLOT="0" |
69 |
KEYWORDS="~amd64 ~x86" |
70 |
IUSE="" |
71 |
|
72 |
RDEPEND=" |
73 |
dev-python/imaging[tk,${PYTHON_USEDEP}] |
74 |
dev-python/numpy[${PYTHON_USEDEP}] |
75 |
virtual/pmw[${PYTHON_USEDEP}] |
76 |
sci-libs/fftw:3.0 |
77 |
media-libs/hamlib |
78 |
media-libs/portaudio |
79 |
media-libs/libsamplerate" |
80 |
DEPEND="${RDEPEND}" |
81 |
|
82 |
S="${WORKDIR}/${MY_P}" |
83 |
|
84 |
DOCS=( BUGS WSPR_Announcement.TXT WSPR_Instructions.TXT WSPR_Quick_Start.TXT ) |
85 |
|
86 |
pkg_setup() { |
87 |
fortran-2_pkg_setup |
88 |
} |
89 |
|
90 |
get_fcomp() { |
91 |
case $(tc-getFC) in |
92 |
*gfortran* ) FCOMP="gfortran" ;; |
93 |
* ) FCOMP=$(tc-getFC) ;; |
94 |
esac |
95 |
} |
96 |
|
97 |
python_prepare_all() { |
98 |
tc-export FC |
99 |
get_fcomp |
100 |
export FC="${FCOMP}" |
101 |
|
102 |
local PATCHES=( |
103 |
"${FILESDIR}"/${P}-libdir.patch |
104 |
"${FILESDIR}"/${P}-verbose.patch |
105 |
"${FILESDIR}"/${P}-script.patch |
106 |
"${FILESDIR}"/${P}-PIL.patch |
107 |
) |
108 |
|
109 |
distutils-r1_python_prepare_all |
110 |
|
111 |
sed -i -e "s#/usr/local/lib#/usr/$(get_libdir)#" configure.ac || die |
112 |
sed -i -e '/makedirs/d' setup.py || die |
113 |
eautoreconf |
114 |
} |
115 |
|
116 |
# Note: very hacky build system. |
117 |
# autoconf which doesn't really need Python |
118 |
# then custom Makefile which compiles the Python module with f2py |
119 |
# and finally hacked setup.py which relies on w.so created by make |
120 |
|
121 |
src_configure() { |
122 |
# configure the build of the fortran module |
123 |
econf --with-portaudio-lib-dir=/usr/$(get_libdir) |
124 |
|
125 |
# then fork the sources |
126 |
python_copy_sources |
127 |
DISTUTILS_IN_SOURCE_BUILD=1 |
128 |
} |
129 |
|
130 |
python_compile() { |
131 |
# -shared is neded by f2py but cannot be set earlier as configure does |
132 |
# not like it |
133 |
local LDFLAGS=${LDFLAGS} |
134 |
append-ldflags -shared |
135 |
emake |
136 |
} |
137 |
|
138 |
python_install_all() { |
139 |
distutils-r1_python_install_all |
140 |
|
141 |
dobin wspr |
142 |
insinto /usr/share/${PN} |
143 |
doins hamlib_rig_numbers |
144 |
} |