Date: Wednesday, June 26, 2019 @ 17:53:44 Author: ffy00 Revision: 484594
archrelease: copy trunk to community-x86_64 Added: urh/repos/community-x86_64/PKGBUILD (from rev 484593, urh/trunk/PKGBUILD) Deleted: urh/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 112 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 56 insertions(+), 56 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-06-26 17:53:32 UTC (rev 484593) +++ PKGBUILD 2019-06-26 17:53:44 UTC (rev 484594) @@ -1,56 +0,0 @@ -# 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 -} - Copied: urh/repos/community-x86_64/PKGBUILD (from rev 484593, urh/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-06-26 17:53:44 UTC (rev 484594) @@ -0,0 +1,56 @@ +# Maintainer: Filipe Laíns (FFY00) <la...@archlinuc.org> +# Contributor: Johannes Pohl <johannes.poh...@gmail.com> + +pkgname=urh +pkgver=2.7.2 +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=('56ecd5dc86ea6a18cd9443266ce56e8f784dd5f09f6318da56b4719b588cc9c7a4716aeafa9a64e910dd2575e0c3c4b40573a2d336bcef2aca5f51ac08843bce') + +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 +} +