media-radio/wspr: remove last rited package

This commit is contained in:
Mikle Kolyada
2018-01-11 19:28:57 +03:00
parent 4fd475cd5b
commit 04511491d5
13 changed files with 0 additions and 461 deletions

View File

@@ -1,2 +0,0 @@
DIST wspr-2.00.r1714.tgz 2096056 BLAKE2B 09416a47ad9c1e9fd94216aff0eeb409cfbd9242c4d6331800ac50a13c952135ac48fc4ee427a32d8b1752aed4c03d7a310dc4bbf361074a8a970fc2124264ca SHA512 221ca3c4ac433d5fb292830e183ef4ce44a9b0b31c8c1446faf30c1c2d6fe88cb471434c01126450843af49249e33bf6eccf1cbf839e6c5a09a3206c64a01d78
DIST wspr-3.01.r2792.tgz 2145037 BLAKE2B bb87c4d95cd7266647714b4ff9def1bcf3f4fcd00d737e7d7fbbd9851fd861a59ab796465a32d5c54388fc6a7510fc17fbeeb979c926ea5fc365bac653e90711 SHA512 0aad8bf518b217fcf14fd0fd5ec0f8f3833c2768eff9eec20dee213dfd057dc283d81290a042f464c729e03502d3b8e1c2b22d5d1c2932eccc13b4ef1eaf0698

View File

@@ -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 *

View File

@@ -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)

View File

@@ -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

View File

@@ -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}" \

View File

@@ -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 *

View File

@@ -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

View File

@@ -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

View File

@@ -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}" \

View File

@@ -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>

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -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
}