yochananmarqos

python-torrentmirror

Apr 5th, 2021
94
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=python-torrentmirror
  2. _name=${pkgname#python-}
  3. pkgver=2.0.3
  4. pkgrel=1
  5. pkgdesc="Torrentmirror python library and CLI access"
  6. arch=('any')
  7. url="https://github.com/XayOn/torrentmirror"
  8. license=('none')
  9. depends=('python' 'python-robobrowser' 'python-cleo' 'python-werkzeug'
  10.          'python-docopt' 'python-tabulate' 'python-xdg>=5.0.1' 'python-pygogo'
  11.          'yapf')
  12. makedepends=('python-setuptools')
  13. source=("https://pypi.org/packages/source/${_name:0:1}/$_name/$_name-$pkgver.tar.gz")
  14. sha256sums=('bd0a55bbafd1d8b92769620c3573f95a7b07015fbcb2ee444dd6be3463ffa8ae')
  15.  
  16. build() {
  17.   cd "$_name-$pkgver"
  18.   python setup.py build
  19. }
  20.  
  21. package() {
  22.   cd "$_name-$pkgver"
  23.   export PYTHONHASHSEED=0
  24.   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
  25. }
RAW Paste Data