aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-10-23 02:14:14 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-10-23 03:31:20 -0300
commita858f898b4b955292bce9a2ce3469c696a792467 (patch)
tree79f67718cb200b1aaeb71bcb1edcf2ab20e7ebfc
parent633c40f64e0e841941682053481f02302052c697 (diff)
downloadaports-a858f898b4b955292bce9a2ce3469c696a792467.tar.gz
aports-a858f898b4b955292bce9a2ce3469c696a792467.tar.bz2
aports-a858f898b4b955292bce9a2ce3469c696a792467.tar.xz
testing/hamlib: disable python bindings
Python2 only
-rw-r--r--testing/hamlib/APKBUILD17
1 files changed, 5 insertions, 12 deletions
diff --git a/testing/hamlib/APKBUILD b/testing/hamlib/APKBUILD
index 7cac13bfb3..f50a5d16ff 100644
--- a/testing/hamlib/APKBUILD
+++ b/testing/hamlib/APKBUILD
@@ -2,13 +2,13 @@
# Maintainer: Bradford D. Boyle <bradford.d.boyle@gmail.com>
pkgname=hamlib
pkgver=3.3
-pkgrel=1
+pkgrel=2
pkgdesc="Library to control radio transceivers and receivers"
url="http://www.hamlib.org/"
arch="all"
license="LGPL-2.0-or-later"
-makedepends="linux-headers perl-dev python-dev swig tcl-dev chrpath libusb-dev"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-perl $pkgname-python $pkgname-tcl"
+makedepends="linux-headers perl-dev swig tcl-dev chrpath libusb-dev"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-perl $pkgname-tcl"
source="https://downloads.sourceforge.net/project/hamlib/hamlib/$pkgver/hamlib-$pkgver.tar.gz"
build() {
@@ -16,7 +16,7 @@ build() {
--prefix=/usr \
--sbindir=/usr/bin \
--with-perl-binding \
- --with-python-binding \
+ --without-python-binding \
--with-tcl-binding
make
}
@@ -24,11 +24,11 @@ build() {
package() {
make DESTDIR="$pkgdir" install
rm -f "$pkgdir"/usr/lib/*.a
- rm -f "$pkgdir"/usr/lib/python2.7/site-packages/_Hamlib.a
rm -f "$pkgdir"/usr/lib/tcl8.6/Hamlib/hamlibtcl.a
}
perl() {
+ pkgdesc="Perl bindings for $pkgname"
depends="perl"
mkdir -p "$subpkgdir"/usr/lib
@@ -44,13 +44,6 @@ perl() {
chrpath --delete "$subpkgdir"/usr/lib/perl5/site_perl/current/auto/Hamlib/Hamlib.so
}
-python() {
- depends="python"
-
- mkdir -p "$subpkgdir"/usr/lib
- mv "$pkgdir"/usr/lib/python2.7 "$subpkgdir"/usr/lib/
-}
-
tcl() {
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/tcl8.6 "$subpkgdir"/usr/lib/