[arch-commits] Commit in libuhd/trunk (PKGBUILD)

Kyle Keen kkeen at archlinux.org
Wed Jan 15 19:17:12 UTC 2020


    Date: Wednesday, January 15, 2020 @ 19:17:11
  Author: kkeen
Revision: 552675

upgpkg: libuhd 3.15.0.0-1

Modified:
  libuhd/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-15 19:01:27 UTC (rev 552674)
+++ PKGBUILD	2020-01-15 19:17:11 UTC (rev 552675)
@@ -2,26 +2,20 @@
 # Contributor: Dominik Heidler <dheidler at gmail.com>
 
 pkgname=libuhd
-pkgver=3.14.1.0
-pkgrel=2
+pkgver=3.15.0.0
+pkgrel=1
 pkgdesc="Universal Software Radio Peripheral (USRP) userspace driver"
 arch=('x86_64')
 url="http://www.ettus.com/kb/category/software-documentation/uhd-manual"
 license=('GPL')
 depends=('boost-libs' 'orc' 'libusb')
-optdepends=('python2: usrp utils')
-makedepends=('cmake' 'boost' 'python2-mako')
+optdepends=('python: usrp utils')
+makedepends=('cmake' 'boost' 'python-mako')
 # gpsd?  dpdk?
 
 source=("libuhd-$pkgver.tar.gz::https://github.com/EttusResearch/uhd/archive/v$pkgver.tar.gz")
-md5sums=('2eaad9beeff8c6d9716c93d580fb7b1c')
+md5sums=('cf589d5130ebd8348e3dbf129a7c5c38')
 
-prepare() {
-  cd "$srcdir/uhd-$pkgver"
-  # fix for py2
-  find -name "*.py" -or -name '*.py.in' | xargs sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|"
-}
-
 build() {
   cd "$srcdir/uhd-$pkgver/host"
 
@@ -28,7 +22,7 @@
   mkdir -p build
   cd build
   cmake .. -DCMAKE_INSTALL_PREFIX=/usr/ \
-           -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+           -DPYTHON_EXECUTABLE=/usr/bin/python3 \
            -DENABLE_EXAMPLES=OFF \
            -DENABLE_UTILS=ON \
            -DENABLE_TESTS=OFF \



More information about the arch-commits mailing list