Date: Friday, October 8, 2021 @ 00:54:25 Author: kpcyrd Revision: 1028004
upgpkg: onionshare 2.4-1 Modified: onionshare/trunk/PKGBUILD ----------+ PKGBUILD | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-10-07 23:58:31 UTC (rev 1028003) +++ PKGBUILD 2021-10-08 00:54:25 UTC (rev 1028004) @@ -3,41 +3,49 @@ # Contributor: Ye Shu <shuye02 at outlook.com> pkgname=onionshare -pkgver=2.2 -pkgrel=5 +pkgver=2.4 +pkgrel=1 pkgdesc='Share a file over Tor Hidden Services anonymously and securely' -url='https://github.com/micahflee/onionshare' +url='https://github.com/onionshare/onionshare' arch=('any') license=('GPL3') -depends=('python' 'hicolor-icon-theme' 'tor' 'stem' 'python-requests' 'python-pysocks' 'python-flask' 'python-flask-httpauth' 'python-pycryptodome' 'python-pyqt5') +depends=('python' 'hicolor-icon-theme' 'tor' 'stem' 'python-requests' 'python-pysocks' 'python-flask' 'python-flask-httpauth' 'python-flask-socketio' 'python-psutil' 'python-pycryptodome' 'python-pyqt5' 'python-qrcode' 'python-unidecode' 'python-colorama' 'pyside2') makedepends=('python-setuptools') optdepends=( 'python-nautilus: enable Nautilus right-click extension' - 'obfs4proxy: tor bridge support' ) checkdepends=('python-pytest') -source=(https://github.com/micahflee/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz - https://github.com/micahflee/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.asc) -sha512sums=('fbb457971213b49c535c471e87ca4e5f9493da06a22a457b016517a3094ac594f4b059ec8ea8ce557234ba59960718c489ed42c587f008f92b85e44b74ce6b07' +source=(https://github.com/onionshare/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz + https://github.com/onionshare/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.asc +) +sha512sums=('ce73d5d9a7a1b1c2e70ad302e251199308cb7c9af194254e28e2a5698bd782f16dab227979efb08c2931c5280270f657d64e5ab8a9f93341649047163d5d55fa' 'SKIP') -b2sums=('91fa39c116d0eae0b22e1efcfbe636a97b4059553af39a3723f323e89d4080b2da9798bbc3cc6ad2849875806920bc4fb84e6784cec2102aca8bdbb9235499ea' +b2sums=('aa0aee4b25a421830ee2202c0b73a6a3b358b534048ae24a72e55970d0dc2e9e5254b688d94deed9736e1a43ec6e07b239f2359b496d82dc1f59edbf37e392cc' 'SKIP') validpgpkeys=('927F419D7EC82C2F149C1BD1403C2657CD994F73') build() { - cd ${pkgname} + cd ${pkgname}/cli python setup.py build + cd ../desktop/src + python setup.py build } check() { cd ${pkgname} - pytest tests/ + pushd cli + PYTHONPATH=".:${PYTHONPATH}" pytest tests/ + popd + pushd desktop + #PYTHONPATH="src:../cli:${PYTHONPATH}" pytest tests/ } package() { - cd ${pkgname} + cd ${pkgname}/cli python setup.py install --skip-build -O1 --root="${pkgdir}" + cd ../desktop/src + python setup.py install --skip-build -O1 --root="${pkgdir}" } # vim: ts=2 sw=2 et:
