summaryrefslogtreecommitdiff
path: root/media-radio
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-13 06:19:51 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-13 06:19:51 +0000
commit8be70107efbb417f839292165ee39d07a062046f (patch)
tree013918887ec4a00f0cefdb4b4d1313cbc3054305 /media-radio
parent343a7272d559a21a0e0ed13cb743fabb2bfcc479 (diff)
gentoo resync : 13.01.2018
Diffstat (limited to 'media-radio')
-rw-r--r--media-radio/Manifest.gzbin5016 -> 4848 bytes
-rw-r--r--media-radio/wspr/Manifest14
-rw-r--r--media-radio/wspr/files/wspr-2.00-PIL.patch13
-rw-r--r--media-radio/wspr/files/wspr-2.00-libdir.patch53
-rw-r--r--media-radio/wspr/files/wspr-2.00-script.patch25
-rw-r--r--media-radio/wspr/files/wspr-2.00-verbose.patch12
-rw-r--r--media-radio/wspr/files/wspr-3.01-PIL.patch11
-rw-r--r--media-radio/wspr/files/wspr-3.01-numpy.patch23
-rw-r--r--media-radio/wspr/files/wspr-3.01-script.patch19
-rw-r--r--media-radio/wspr/files/wspr-3.01-verbose.patch12
-rw-r--r--media-radio/wspr/metadata.xml8
-rw-r--r--media-radio/wspr/wspr-2.00-r2.ebuild93
-rw-r--r--media-radio/wspr/wspr-3.01-r1.ebuild96
-rw-r--r--media-radio/wspr/wspr-3.01.ebuild94
14 files changed, 0 insertions, 473 deletions
diff --git a/media-radio/Manifest.gz b/media-radio/Manifest.gz
index a3416b0424ec..eb6385a103db 100644
--- a/media-radio/Manifest.gz
+++ b/media-radio/Manifest.gz
Binary files differ
diff --git a/media-radio/wspr/Manifest b/media-radio/wspr/Manifest
deleted file mode 100644
index f4a6f0355e95..000000000000
--- a/media-radio/wspr/Manifest
+++ /dev/null
@@ -1,14 +0,0 @@
-AUX wspr-2.00-PIL.patch 455 BLAKE2B 711b651556771516ab8cb992162157917bbca26888686826618a6456ad15d04a700c6d91f8e029c8be355f2b00219b21de53ec438fae464d34bae25f0335cb33 SHA512 c54315b6febac2669d0b9327434d718201f7da9ee8fd9e67fc64d74849d4c2453a646328248c5d3791f309005a8b0b221a825f9d4e518a9c59fbd84a9743fd2b
-AUX wspr-2.00-libdir.patch 1675 BLAKE2B 3153f7c6a6e881fdbf3e8fb25ada0cfd8fced0d597089fac057b072cdbda50d1d612f8d0804372a917f8ba5c56ea65d711aca20f392a45592df7429d2a4ab073 SHA512 40912019b0c4605e7fc1ebacd5775927d474cd32cddc5a752df9a21067b78ce629d2cf7095d4aab05f9eeb40fd41e039617be6c803d8f49e8de2b2148770be49
-AUX wspr-2.00-script.patch 666 BLAKE2B c04cadb0ae11146b7d69e9914ed011ac151f212244db433302f6f1c4919e18f4641b3c7e9e950eff4b622a0a832872863c773c07670c5e1c34f0e43a0ba81bea SHA512 6108a94f0acf2fea143817926d570dc103f66d342803295cacd2ff6b6615a2b51ee6d53cc313730daabd4742864468cc99c202efb7d907b5c1f3a556620e8bb9
-AUX wspr-2.00-verbose.patch 457 BLAKE2B b82cb3f33707899fb35101066f2f1b92513264ed2757b095b74a2c3ea78798fac7e9e9a71770d680bee9984cecb974a69e1402a2cafd67414f18afd87f9fa372 SHA512 35d6aa9876bc9de80ab0f9a05616fbe694b6bc51b969bc55cdf5ab961185c41b492232601cf61e592c8cfcf9470b23451219a5953fcb03fe7ff1fbb3d3f17a79
-AUX wspr-3.01-PIL.patch 431 BLAKE2B 741d7295bf480b8a796d6b9676766ca460cf25cf50df28e0ea2f4bb22e49581799d8d0b6d0156774c966e56fca9de21c1bea4dd26695ae25a8cc8c73a000dd29 SHA512 021ed43cc45b840f3f9a2401ad27dd6a6322301b584a0ea618f59e38935e27cdcca99277fd85e3cb8fbb0f8126b64c097bff28547b024e51754a5720cefb0382
-AUX wspr-3.01-numpy.patch 691 BLAKE2B 0ab84d5eab862a4f40d989126b4348154629bd98c9beb4a3592ddde5332385b7f882d363d8550bf1291fada81ad0f9e854eb891699df23104d9e3c427f69dc82 SHA512 2e5912a65b87e1770d8f041d4d170a0ce3a86650659fbffc9d2e6fa34893008627ae966cf2cba95574de4e454a23d5b366ae6df456bfbba6aa4b19147d016021
-AUX wspr-3.01-script.patch 531 BLAKE2B c9da64e84548b4087b4ad2424179213ba95d2de1d6a771b74cec40bc2002661b857869b0690ce05b49ec7df04809c5010908f4afb71f28c12a8ed1aacd222c9b SHA512 e3a8acb038694847cde91adbe1f040f9f5fdbb969dca999fde423f8f7aead09a3a906aed1ec81825395960f60e0fbf210f9cf8182a49effc75747ffa3727dd7c
-AUX wspr-3.01-verbose.patch 467 BLAKE2B 0c8e3a297d180bc23d046fa7847ccf637d1eda4c62354b689246b0c04d890031c5f109f7a095ce4218aa72355141d7d2bba2c441197de656f6e0a5bea8fbdd29 SHA512 83ffabc81539e18a0dac143811ee93bd79ba3803d1a0287c77cf80d9236d6e7dcfbaaa0af0ce0186ee7fb63a2e6e2395cbeea780d7975f9c8cf36a0acb41b2ec
-DIST wspr-2.00.r1714.tgz 2096056 BLAKE2B 09416a47ad9c1e9fd94216aff0eeb409cfbd9242c4d6331800ac50a13c952135ac48fc4ee427a32d8b1752aed4c03d7a310dc4bbf361074a8a970fc2124264ca SHA512 221ca3c4ac433d5fb292830e183ef4ce44a9b0b31c8c1446faf30c1c2d6fe88cb471434c01126450843af49249e33bf6eccf1cbf839e6c5a09a3206c64a01d78
-DIST wspr-3.01.r2792.tgz 2145037 BLAKE2B bb87c4d95cd7266647714b4ff9def1bcf3f4fcd00d737e7d7fbbd9851fd861a59ab796465a32d5c54388fc6a7510fc17fbeeb979c926ea5fc365bac653e90711 SHA512 0aad8bf518b217fcf14fd0fd5ec0f8f3833c2768eff9eec20dee213dfd057dc283d81290a042f464c729e03502d3b8e1c2b22d5d1c2932eccc13b4ef1eaf0698
-EBUILD wspr-2.00-r2.ebuild 2062 BLAKE2B 9e01477ca9819827a7019d9b86042f80a8d0b45903e03f7dffe6cdf8dc9024ba2963f4ffe6d1dbe1f6c68b8cd45336b419fe17f7ea8cf23290e0770a2ef9a62d SHA512 08aafe319d596b4c3dc3b8a04553604b1502e6a7f441d85a882314256646702a42d8e8e5d0ed8b5ea90b23dd8ee8b59fe1afd9f8e3d08c74f9afd44e59b483b8
-EBUILD wspr-3.01-r1.ebuild 2228 BLAKE2B f61e4dca68729370ed0f4fb21579f3f112b740cb5b079f4aa27f8a9a6a1338584945f0d597f6254ba755c84c263063f6825fdf4557f738df2457fc4fc4e5530f SHA512 8ffe1712a987d4e3bda3838e69c5890644aec7f1ee5ac77ddf7ef39f91acb2cee89786533bc5350313d869df2193a8840d43b7d45ad45dd65d0b49ef7a187207
-EBUILD wspr-3.01.ebuild 2157 BLAKE2B 437768a209a4f34f6cc45f1e58c17afa71bd20f4338391983c44b48c990c518bb7a2d1c1bfdb46a3db4cc3a19d125ff130e56f4a762d967c3b66c1079425751a SHA512 fb63a6bfd8d5df232b8315a2cbe66d6a765f7ec6deb005ea307c26deae454c4c6cadd8b875bdb574d3b91b8179a3dab21f018d058a3c56ad8337e6ac0a7ff2e3
-MISC metadata.xml 255 BLAKE2B 1be00b412c042706a649da1ef71b5e431369da25a82d18464ba48a54e0353ff297feb91071ac4d75007c756f8e65cb8c59da78efbdb725fb669644de5ba018e4 SHA512 35a18c5a178cc996bb71a27b11fb361198ae96d24ee3cbbc105a64824e1dcddd71d017270539daa3688ec2f04a8f564dd08ca491f62a3da4cca650c9bf35600d
diff --git a/media-radio/wspr/files/wspr-2.00-PIL.patch b/media-radio/wspr/files/wspr-2.00-PIL.patch
deleted file mode 100644
index 69bb853396ac..000000000000
--- a/media-radio/wspr/files/wspr-2.00-PIL.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- wspr.py.orig 2013-06-02 18:25:02.000000000 +0200
-+++ wspr.py 2013-06-02 18:25:51.000000000 +0200
-@@ -15,7 +15,9 @@
- from Numeric import zeros
- import array
- import dircache
--import Image, ImageTk, ImageDraw
-+from PIL import Image
-+from PIL import ImageTk
-+from PIL import ImageDraw
- from WsprMod.palettes import colormapblue, colormapgray0, colormapHot, \
- colormapAFMHot, colormapgray1, colormapLinrad, Colormap2Palette
- from types import *
diff --git a/media-radio/wspr/files/wspr-2.00-libdir.patch b/media-radio/wspr/files/wspr-2.00-libdir.patch
deleted file mode 100644
index e33d7b90871f..000000000000
--- a/media-radio/wspr/files/wspr-2.00-libdir.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-# Upstream confused LIBDIRS with LDFLAGS in Makefile. f2py wants only
-# LIBDIRS as parameter and takes LDFLAGS only from environment.
---- Makefile.in.orig 2013-01-31 13:17:23.000000000 +0000
-+++ Makefile.in 2013-01-31 13:19:19.000000000 +0000
-@@ -3,7 +3,7 @@
- INSTALL= install
- CC ?= @CC@
- FFLAGS = @FFLAGS@
--LDFLAGS = @LDFLAGS@
-+LIBDIRS = @LIBDIRS@
- LIBS = @LIBS@ -lfftw3f
- CPPFLAGS = @CPPFLAGS@
- CFLAGS = @CFLAGS@
-@@ -39,7 +39,7 @@
- FCV=@FCV@
- FC_LIB_PATH += @FC_LIB_PATH@
-
--LDFLAGS += -L${FC_LIB_PATH}
-+LIBDIRS += -L${FC_LIB_PATH}
-
- PYTHON ?= @PYTHON@
- RM ?= @RM@
-@@ -78,7 +78,7 @@
- --f77flags="${FFLAGS}" --f90flags="${FFLAGS}" \
- --fcompiler=${FCV} --f77exec=${FC} --f90exec=${FC} \
- --opt="-fbounds-check ${FFLAGS}" \
-- ${CPPFLAGS} ${LDFLAGS} ${LIBS} \
-+ ${CPPFLAGS} ${LIBDIRS} ${LIBS} \
- only: $(F2PYONLY) : \
- $(SRCS2F90) $(SRCS2F77) $(SRCS2C)
- ${MKDIR} -p build/lib/WsprMod
-# drop hardcoded libdir path,
-# switch LDFLAGS naming to LIBDIRS (see above comment).
---- configure.ac.orig 2013-01-31 13:19:01.000000000 +0000
-+++ configure.ac 2013-01-31 13:19:19.000000000 +0000
-@@ -22,7 +22,7 @@
-
- dnl Lets guess at some likely places for extra libs/includes XXX -db
- CPPFLAGS="-I/usr/local/include ${CPPFLAGS}"
--LDFLAGS="-L/usr/local/lib ${LDFLAGS}"
-+LIBDIRS="-L/usr/local/lib ${LIBDIRS}"
- LIBS=" -lpthread ${LIBS}"
- FFLAGS_GFORTRAN="${FFLAGS} -fno-range-check -ffixed-line-length-none\
- -Wall -fbounds-check -fno-second-underscore -fPIC"
-@@ -160,7 +160,7 @@
- dnl
- AC_SUBST(PREFIX, "${prefix}")
- AC_SUBST(CPPFLAGS, "${CPPFLAGS}")
--AC_SUBST(LDFLAGS, "${LDFLAGS}")
-+AC_SUBST(LIBDIRS, "${LIBDIRS}")
- AC_SUBST(LIBS, "${LIBS}")
- AC_SUBST(CFLAGS)
- AC_SUBST(FFLAGS)
diff --git a/media-radio/wspr/files/wspr-2.00-script.patch b/media-radio/wspr/files/wspr-2.00-script.patch
deleted file mode 100644
index e75c11782786..000000000000
--- a/media-radio/wspr/files/wspr-2.00-script.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-# make python code into a script
-# and fix shell script
---- wspr.py.orig 2013-02-01 13:24:30.000000000 +0000
-+++ wspr.py 2013-02-01 13:23:30.000000000 +0000
-@@ -1,3 +1,4 @@
-+#!/usr/bin/python
- #------------------------------------------------------------------- WSPR
- # $Date: 2013/02/07 14:35:21 $ $Revision: 1.1 $
- #
---- wspr.orig 2013-02-02 08:10:17.000000000 +0000
-+++ wspr 2013-02-02 08:10:56.000000000 +0000
-@@ -1,12 +1,7 @@
- #!/bin/sh
--if [ -e /usr/local/bin/python ] ; then
-- LOCALBASE=/usr/local/
--else
-- LOCALBASE=/usr/
--fi
- if [ ! -e ~/.wspr ] ; then
- mkdir ~/.wspr
- mkdir ~/.wspr/save
- fi
- cd ~/.wspr
--python ${LOCALBASE}/bin/wspr.py
-+/usr/bin/wspr.py
diff --git a/media-radio/wspr/files/wspr-2.00-verbose.patch b/media-radio/wspr/files/wspr-2.00-verbose.patch
deleted file mode 100644
index 9036e0d868a4..000000000000
--- a/media-radio/wspr/files/wspr-2.00-verbose.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-# make f2py verbose
---- Makefile.in.orig 2013-02-07 12:22:41.000000000 +0000
-+++ Makefile.in 2013-02-07 12:23:11.000000000 +0000
-@@ -74,7 +74,7 @@
- OBJS2C = ${SRCS2C:.c=.o}
-
- WsprMod/w.so: ${OBJS2C} $(SRCS2F90) $(SRCS2F77) acom1.f90
-- ${F2PY} -c --quiet --noopt --debug -m w \
-+ ${F2PY} -c --noopt --debug -m w \
- --f77flags="${FFLAGS}" --f90flags="${FFLAGS}" \
- --fcompiler=${FCV} --f77exec=${FC} --f90exec=${FC} \
- --opt="-fbounds-check ${FFLAGS}" \
diff --git a/media-radio/wspr/files/wspr-3.01-PIL.patch b/media-radio/wspr/files/wspr-3.01-PIL.patch
deleted file mode 100644
index ce4689195147..000000000000
--- a/media-radio/wspr/files/wspr-3.01-PIL.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- wspr.py.orig 2014-06-23 21:25:51.000000000 +0200
-+++ wspr.py 2014-06-23 21:26:03.000000000 +0200
-@@ -35,7 +35,7 @@
- from Numeric import zeros
- import array
- import dircache
--import Image, ImageTk, ImageDraw
-+from PIL import Image, ImageTk, ImageDraw
- from WsprMod.palettes import colormapblue, colormapgray0, colormapHot, \
- colormapAFMHot, colormapgray1, colormapLinrad, Colormap2Palette
- from types import *
diff --git a/media-radio/wspr/files/wspr-3.01-numpy.patch b/media-radio/wspr/files/wspr-3.01-numpy.patch
deleted file mode 100644
index 2c9174dff58a..000000000000
--- a/media-radio/wspr/files/wspr-3.01-numpy.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-# Numpy-1.9 dropped oldnumeric and numarray
---- WsprMod/specjt.py.orig 2015-05-18 15:49:37.000000000 +0200
-+++ WsprMod/specjt.py 2015-05-18 15:49:48.000000000 +0200
-@@ -12,7 +12,7 @@
- import w
-
- try:
-- from numpy.oldnumeric import zeros, multiarray
-+ from numpy import zeros, multiarray
- except:
- from Numeric import zeros, multiarray
- import Image, ImageTk, ImageDraw
---- wspr.py.orig 2015-05-18 15:47:13.000000000 +0200
-+++ wspr.py 2015-05-18 15:47:38.000000000 +0200
-@@ -31,7 +31,7 @@
- from WsprMod import palettes
- from math import log10
- try:
-- from numpy.oldnumeric import zeros
-+ from numpy import zeros
- except:
- from Numeric import zeros
- import array
diff --git a/media-radio/wspr/files/wspr-3.01-script.patch b/media-radio/wspr/files/wspr-3.01-script.patch
deleted file mode 100644
index f64a11b68a64..000000000000
--- a/media-radio/wspr/files/wspr-3.01-script.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- wspr.py.orig 2014-06-24 19:13:55.000000000 +0200
-+++ wspr.py 2014-06-24 19:14:43.000000000 +0200
-@@ -1,3 +1,4 @@
-+#!/usr/bin/python
- #-------------------------------------------------------------------- WSPR
- # $Date: 2014/06/26 09:15:53 $ $Revision: 1.1 $
- #
---- wspr.orig 2014-06-24 18:57:00.000000000 +0200
-+++ wspr 2014-06-24 19:09:50.000000000 +0200
-@@ -1,2 +1,7 @@
--LD_LIBRARY_PATH=./lib
--python -O wspr.py
-+#!/bin/sh
-+if [ ! -e ~/.wspr ] ; then
-+ mkdir ~/.wspr
-+ mkdir ~/.wspr/save
-+fi
-+cd ~/.wspr
-+/usr/bin/wspr.py
diff --git a/media-radio/wspr/files/wspr-3.01-verbose.patch b/media-radio/wspr/files/wspr-3.01-verbose.patch
deleted file mode 100644
index b697cfe444dd..000000000000
--- a/media-radio/wspr/files/wspr-3.01-verbose.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-# make f2py verbose
---- Makefile.in.orig 2014-06-23 21:14:51.000000000 +0200
-+++ Makefile.in 2014-06-23 21:15:11.000000000 +0200
-@@ -95,7 +95,7 @@
- OBJS2C = ${SRCS2C:.c=.o}
-
- WsprMod/w.so: ${OBJS2C} $(SRCS2C) $(SRCS2F90) $(SRCS2F77) acom1.f90
-- ${F2PY} -c --quiet --noopt --debug -m w \
-+ ${F2PY} -c --noopt --debug -m w \
- --f77flags="${FFLAGS}" --f90flags="${FFLAGS}" \
- --fcompiler=${FCV} --f77exec=${FC} --f90exec=${FC} \
- --opt="-fbounds-check ${FFLAGS}" \
diff --git a/media-radio/wspr/metadata.xml b/media-radio/wspr/metadata.xml
deleted file mode 100644
index d187eed5ac80..000000000000
--- a/media-radio/wspr/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>tomjbe@gentoo.org</email>
- <name>Thomas Beierlein</name>
- </maintainer>
-</pkgmetadata>
diff --git a/media-radio/wspr/wspr-2.00-r2.ebuild b/media-radio/wspr/wspr-2.00-r2.ebuild
deleted file mode 100644
index 471e7570411f..000000000000
--- a/media-radio/wspr/wspr-2.00-r2.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="tk"
-
-inherit autotools fortran-2 distutils-r1 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/pillow[tk,${PYTHON_USEDEP}]
- dev-python/numpy[${PYTHON_USEDEP}]
- virtual/python-pmw[${PYTHON_USEDEP}]
- sci-libs/fftw:3.0
- media-libs/hamlib
- media-libs/portaudio
- media-libs/libsamplerate"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-DOCS=( BUGS WSPR_Announcement.TXT WSPR_Instructions.TXT WSPR_Quick_Start.TXT )
-
-pkg_setup() {
- fortran-2_pkg_setup
-}
-
-get_fcomp() {
- case $(tc-getFC) in
- *gfortran* ) FCOMP="gfortran" ;;
- * ) FCOMP=$(tc-getFC) ;;
- esac
-}
-
-python_prepare_all() {
- tc-export FC
- get_fcomp
- export FC="${FCOMP}"
-
- local PATCHES=(
- "${FILESDIR}"/${P}-libdir.patch
- "${FILESDIR}"/${P}-verbose.patch
- "${FILESDIR}"/${P}-script.patch
- "${FILESDIR}"/${P}-PIL.patch
- )
-
- distutils-r1_python_prepare_all
-
- sed -i -e "s#/usr/local/lib#/usr/$(get_libdir)#" configure.ac || die
- sed -i -e '/makedirs/d' setup.py || die
- eautoreconf
-}
-
-# Note: very hacky build system.
-# autoconf which doesn't really need Python
-# then custom Makefile which compiles the Python module with f2py
-# and finally hacked setup.py which relies on w.so created by make
-
-src_configure() {
- # configure the build of the fortran module
- econf --with-portaudio-lib-dir=/usr/$(get_libdir)
-
- # then fork the sources
- python_copy_sources
- DISTUTILS_IN_SOURCE_BUILD=1
-}
-
-python_compile() {
- # -shared is neded by f2py but cannot be set earlier as configure does
- # not like it
- local LDFLAGS=${LDFLAGS}
- append-ldflags -shared
- emake
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- dobin wspr
- insinto /usr/share/${PN}
- doins hamlib_rig_numbers
-}
diff --git a/media-radio/wspr/wspr-3.01-r1.ebuild b/media-radio/wspr/wspr-3.01-r1.ebuild
deleted file mode 100644
index 3990f2bef69e..000000000000
--- a/media-radio/wspr/wspr-3.01-r1.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="tk"
-
-inherit autotools fortran-2 distutils-r1 flag-o-matic multilib toolchain-funcs
-
-MY_P=${P}.r2792
-
-DESCRIPTION="Weak Signal Propagation Reporter"
-HOMEPAGE="http://www.physics.princeton.edu/pulsar/K1JT/wspr.html"
-SRC_URI="https://dev.gentoo.org/~tomjbe/distfiles/${MY_P}.tgz"
-LICENSE="GPL-2"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="
- dev-python/pillow[tk,${PYTHON_USEDEP}]
- >=dev-python/numpy-1.9.0[${PYTHON_USEDEP}]
- virtual/python-pmw[${PYTHON_USEDEP}]
- sci-libs/fftw:3.0
- media-libs/hamlib
- media-libs/portaudio
- media-libs/libsamplerate"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-DOCS=( BUGS WSPR_Announcement.TXT WSPR0_Instructions.TXT WSPR_Quick_Start.TXT )
-
-pkg_setup() {
- fortran-2_pkg_setup
-}
-
-get_fcomp() {
- case $(tc-getFC) in
- *gfortran* ) FCOMP="gfortran" ;;
- * ) FCOMP=$(tc-getFC) ;;
- esac
-}
-
-python_prepare_all() {
- tc-export FC
- get_fcomp
- export FC="${FCOMP}"
-
- local PATCHES=(
- "${FILESDIR}"/${PN}-2.00-libdir.patch
- "${FILESDIR}"/${P}-verbose.patch
- "${FILESDIR}"/${PN}-3.01-script.patch
- "${FILESDIR}"/${P}-PIL.patch
- # adapt to numpy-1.9 - bug #544504
- "${FILESDIR}"/${P}-numpy.patch
- )
-
- distutils-r1_python_prepare_all
-
- sed -i -e "s/LDFLAGS} ${LIBS}/LDFLAGS} -fPIC ${LIBS}/" Makefile.in || die
- sed -i -e "s#/usr/local/lib#/usr/$(get_libdir)#" configure.ac || die
- sed -i -e '/makedirs/d' setup.py || die
- eautoreconf
-}
-
-# Note: very hacky build system.
-# autoconf which doesn't really need Python
-# then custom Makefile which compiles the Python module with f2py
-# and finally hacked setup.py which relies on w.so created by make
-
-src_configure() {
- # configure the build of the fortran module
- econf --with-portaudio-lib-dir=/usr/$(get_libdir)
-
- # then fork the sources
- python_copy_sources
- DISTUTILS_IN_SOURCE_BUILD=1
-}
-
-python_compile() {
- # -shared is neded by f2py but cannot be set earlier as configure does
- # not like it
- local LDFLAGS=${LDFLAGS}
- append-ldflags -shared
- emake -j1
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- dobin wspr
- insinto /usr/share/${PN}
- doins hamlib_rig_numbers
-}
diff --git a/media-radio/wspr/wspr-3.01.ebuild b/media-radio/wspr/wspr-3.01.ebuild
deleted file mode 100644
index a9f4a1520ca0..000000000000
--- a/media-radio/wspr/wspr-3.01.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="tk"
-
-inherit autotools fortran-2 distutils-r1 flag-o-matic multilib toolchain-funcs
-
-MY_P=${P}.r2792
-
-DESCRIPTION="Weak Signal Propagation Reporter"
-HOMEPAGE="http://www.physics.princeton.edu/pulsar/K1JT/wspr.html"
-SRC_URI="https://dev.gentoo.org/~tomjbe/distfiles/${MY_P}.tgz"
-LICENSE="GPL-2"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="
- dev-python/pillow[tk,${PYTHON_USEDEP}]
- <dev-python/numpy-1.9.0[${PYTHON_USEDEP}]
- virtual/python-pmw[${PYTHON_USEDEP}]
- sci-libs/fftw:3.0
- media-libs/hamlib
- media-libs/portaudio
- media-libs/libsamplerate"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-DOCS=( BUGS WSPR_Announcement.TXT WSPR0_Instructions.TXT WSPR_Quick_Start.TXT )
-
-pkg_setup() {
- fortran-2_pkg_setup
-}
-
-get_fcomp() {
- case $(tc-getFC) in
- *gfortran* ) FCOMP="gfortran" ;;
- * ) FCOMP=$(tc-getFC) ;;
- esac
-}
-
-python_prepare_all() {
- tc-export FC
- get_fcomp
- export FC="${FCOMP}"
-
- local PATCHES=(
- "${FILESDIR}"/${PN}-2.00-libdir.patch
- "${FILESDIR}"/${P}-verbose.patch
- "${FILESDIR}"/${PN}-3.01-script.patch
- "${FILESDIR}"/${P}-PIL.patch
- )
-
- distutils-r1_python_prepare_all
-
- sed -i -e "s/LDFLAGS} ${LIBS}/LDFLAGS} -fPIC ${LIBS}/" Makefile.in || die
- sed -i -e "s#/usr/local/lib#/usr/$(get_libdir)#" configure.ac || die
- sed -i -e '/makedirs/d' setup.py || die
- eautoreconf
-}
-
-# Note: very hacky build system.
-# autoconf which doesn't really need Python
-# then custom Makefile which compiles the Python module with f2py
-# and finally hacked setup.py which relies on w.so created by make
-
-src_configure() {
- # configure the build of the fortran module
- econf --with-portaudio-lib-dir=/usr/$(get_libdir)
-
- # then fork the sources
- python_copy_sources
- DISTUTILS_IN_SOURCE_BUILD=1
-}
-
-python_compile() {
- # -shared is neded by f2py but cannot be set earlier as configure does
- # not like it
- local LDFLAGS=${LDFLAGS}
- append-ldflags -shared
- emake -j1
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- dobin wspr
- insinto /usr/share/${PN}
- doins hamlib_rig_numbers
-}