Date: Thursday, June 6, 2019 @ 19:59:33 Author: ffy00 Revision: 477668
archrelease: copy trunk to community-x86_64 Added: urh/repos/community-x86_64/PKGBUILD (from rev 477667, urh/trunk/PKGBUILD) Deleted: urh/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 112 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 56 insertions(+), 56 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-06-06 19:59:18 UTC (rev 477667) +++ PKGBUILD 2019-06-06 19:59:33 UTC (rev 477668) @@ -1,56 +0,0 @@ -# Maintainer: Filipe Laíns (FFY00) <la...@archlinuc.org> -# Contributor: Johannes Pohl <johannes.poh...@gmail.com> - -pkgname=urh -pkgver=2.6.0 -pkgrel=1 -pkgdesc='Universal Radio Hacker: investigate wireless protocols like a boss' -arch=('x86_64') -url='https://github.com/jopohl/urh' -license=('GPL3') -depends=('python' 'python-pyqt5' 'python-numpy' 'python-psutil' 'python-pyzmq' 'cython') -makedepends=('gcc' 'python-setuptools' - 'airspy' 'hackrf' 'libuhd' 'limesuite' 'rtl-sdr') # Optional -checkdepends=('python-pytest-runner' 'python-pytest-xdist' 'xorg-server-xvfb') -optdepends=('airspy: Airspy backend' - 'cython: compiling native modules inside URH' - 'hackrf: HackRF backend' - 'libuhd: USRP backend' - 'limesuite: LimeSDR backend' - 'rtl-sdr: RTL-SDR backend' - 'gnuradio: GNURadio backend' - 'gnuradio-osmosdr: OsmoSDR backend (via GNURadio)' - 'python-pyaudio: Soundcard backend') -source=("$pkgname-$pkgver.tar.gz::https://github.com/jopohl/urh/archive/v$pkgver.tar.gz") -sha512sums=('daa183690f1e2c097fa3bf27f320076e062b9f04daf6028d295da7f1f64ab184275299748d0b8f9d6cd4bdf2613839c5008439d3cf17512e0764488ccdd1b1ea') - -prepare() { - cd $pkgname-$pkgver - - # Issues with PyQt, see https://github.com/jopohl/urh/issues/623 - rm tests/{test_filter.py,test_plugins.py} -} - -build() { - cd $pkgname-$pkgver - - python setup.py build build_ext - python src/urh/cythonext/build.py -} - -check() { - cd $pkgname-$pkgver - - xvfb-run pytest --boxed -} - -package() { - cd $pkgname-$pkgver - - python setup.py install --root="$pkgdir" -O1 --skip-build - - install -Dm644 ./data/urh.desktop "$pkgdir"/usr/share/applications/urh.desktop - install -Dm 644 data/icons/appicon.png "$pkgdir"/usr/share/pixmaps/urh.png - install -Dm 644 README.md "$pkgdir"/usr/share/doc/$pkgname/README -} - Copied: urh/repos/community-x86_64/PKGBUILD (from rev 477667, urh/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-06-06 19:59:33 UTC (rev 477668) @@ -0,0 +1,56 @@ +# Maintainer: Filipe Laíns (FFY00) <la...@archlinuc.org> +# Contributor: Johannes Pohl <johannes.poh...@gmail.com> + +pkgname=urh +pkgver=2.7.0 +pkgrel=1 +pkgdesc='Universal Radio Hacker: investigate wireless protocols like a boss' +arch=('x86_64') +url='https://github.com/jopohl/urh' +license=('GPL3') +depends=('python' 'python-pyqt5' 'python-numpy' 'python-psutil' 'python-pyzmq' 'cython') +makedepends=('gcc' 'python-setuptools' + 'airspy' 'hackrf' 'libuhd' 'limesuite' 'rtl-sdr') # Optional +checkdepends=('python-pytest-runner' 'python-pytest-xdist' 'xorg-server-xvfb') +optdepends=('airspy: Airspy backend' + 'cython: compiling native modules inside URH' + 'hackrf: HackRF backend' + 'libuhd: USRP backend' + 'limesuite: LimeSDR backend' + 'rtl-sdr: RTL-SDR backend' + 'gnuradio: GNURadio backend' + 'gnuradio-osmosdr: OsmoSDR backend, via GNURadio' + 'python-pyaudio: Soundcard backend') +source=("$pkgname-$pkgver.tar.gz::https://github.com/jopohl/urh/archive/v$pkgver.tar.gz") +sha512sums=('7b61476086bc077746bee661d77e95fff1b9c420656dab8c7b6480b2e424597989775b561c7c0f439d8d6f2fe1738db93fc847b2051632baf29d41017bffee5f') + +prepare() { + cd $pkgname-$pkgver + + # Issues with PyQt, see https://github.com/jopohl/urh/issues/623 + rm tests/{test_filter.py,test_plugins.py} +} + +build() { + cd $pkgname-$pkgver + + python setup.py build build_ext + python src/urh/cythonext/build.py +} + +check() { + cd $pkgname-$pkgver + + xvfb-run pytest --boxed +} + +package() { + cd $pkgname-$pkgver + + python setup.py install --root="$pkgdir" -O1 --skip-build + + install -Dm644 ./data/urh.desktop "$pkgdir"/usr/share/applications/urh.desktop + install -Dm 644 data/icons/appicon.png "$pkgdir"/usr/share/pixmaps/urh.png + install -Dm 644 README.md "$pkgdir"/usr/share/doc/$pkgname/README +} +