summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2013-07-30 13:22:05 +0000
committerThomas Beierlein <tomjbe@gentoo.org>2013-07-30 13:22:05 +0000
commitadb1d7bed5d1f13e32281e2d18b96de83461bc16 (patch)
treef7414ca5174d23dc069040be56394ed2c51dfd60 /media-radio
parentgit submodule updates cause patchsets to not apply, go with the latest releas... (diff)
downloadgentoo-2-adb1d7bed5d1f13e32281e2d18b96de83461bc16.tar.gz
gentoo-2-adb1d7bed5d1f13e32281e2d18b96de83461bc16.tar.bz2
gentoo-2-adb1d7bed5d1f13e32281e2d18b96de83461bc16.zip
Drop pre EAPI=4 version wrt bug #478576
(Portage version: 2.1.13.1/cvs/Linux x86_64, signed Manifest commit with key 0x762053D5)
Diffstat (limited to 'media-radio')
-rw-r--r--media-radio/wspr/ChangeLog5
-rw-r--r--media-radio/wspr/wspr-2.00.ebuild82
2 files changed, 4 insertions, 83 deletions
diff --git a/media-radio/wspr/ChangeLog b/media-radio/wspr/ChangeLog
index 310c51b5ea42..9b3af59ac518 100644
--- a/media-radio/wspr/ChangeLog
+++ b/media-radio/wspr/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-radio/wspr
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-radio/wspr/ChangeLog,v 1.12 2013/06/09 18:15:39 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-radio/wspr/ChangeLog,v 1.13 2013/07/30 13:22:04 tomjbe Exp $
+
+ 30 Jul 2013; Thomas Beierlein <tomjbe@gentoo.org> -wspr-2.00.ebuild:
+ Drop pre EAPI=4 version wrt bug #478576
09 Jun 2013; Mike Gilbert <floppym@gentoo.org> wspr-2.00-r2.ebuild:
Depend on virtual/python-imaging.
diff --git a/media-radio/wspr/wspr-2.00.ebuild b/media-radio/wspr/wspr-2.00.ebuild
deleted file mode 100644
index b9f0bc9f022c..000000000000
--- a/media-radio/wspr/wspr-2.00.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-radio/wspr/wspr-2.00.ebuild,v 1.6 2013/01/22 19:07:31 jlec Exp $
-
-EAPI="3"
-PYTHON_DEPEND="2"
-PYTHON_USE_WITH="tk"
-
-inherit autotools fortran-2 distutils flag-o-matic multilib toolchain-funcs
-
-MY_P=${P}.r1714
-
-DESCRIPTION="Weak Signal Propagation Reporter"
-HOMEPAGE="http://www.physics.princeton.edu/pulsar/K1JT/wspr.html"
-SRC_URI="http://www.physics.princeton.edu/pulsar/K1JT/${MY_P}.tgz"
-LICENSE="GPL-2"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="
- dev-python/imaging[tk]
- dev-python/numpy
- dev-python/pmw:0
- sci-libs/fftw:3.0
- media-libs/hamlib
- media-libs/portaudio
- media-libs/libsamplerate"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-get_fcomp() {
- case $(tc-getFC) in
- *gfortran* )
- FCOMP="gfortran" ;;
- * )
- FCOMP=$(tc-getFC) ;;
- esac
-}
-
-pkg_setup() {
- fortran-2_pkg_setup
- python_set_active_version 2
- python_pkg_setup
-}
-
-src_prepare() {
- tc-export FC
- get_fcomp
- export FC="${FCOMP}"
- # upstream confused LIBDIRS with LDFLAGS in Makefile. f2py wants only
- # LIBDIRS as parameter and takes LDFLAGS only from environment.
- sed -i \
- -e "s/LDFLAGS/LIBDIRS/g" \
- Makefile.in || die "sed failed"
-
- # drop hardcoded libdir path,
- # switch LDFLAGS naming to LIBDIRS (see above comment).
- sed -i -e "s/, f2py/, f2py$(python_get_version)/" \
- -e "s:-L/usr/local/lib:-L/usr/$(get_libdir):" \
- -e "s/LDFLAGS/LIBDIRS/g" \
- configure.ac || die "sed failed"
- eautoreconf
-}
-
-src_compile() {
- # -shared is neded by f2py but cannot be set earlier as configure does
- # not like it
- append-ldflags -shared
- emake || die "emake failed."
-}
-
-src_install() {
- rm -rf build || die "removing build directory failed"
- distutils_src_install
- dobin wspr || die "dobin failed"
- dodoc BUGS WSPR_*.TXT || die "dodoc failed"
- insinto /usr/share/${PN}
- doins hamlib_rig_numbers || die "doins failed"
-}