diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 9 insertions, 11 deletions
@@ -1,16 +1,15 @@ # Maintainer: Kyle Manna <kyle[at]kylemanna[d0t]com> pkgname=backblaze-b2 pkgver=1.3.8 -pkgrel=1 +pkgrel=2 pkgdesc="Backblaze B2 Command Line Client" url="https://www.backblaze.com/b2/cloud-storage.html" -depends=('python2>=2.7' - 'python2-arrow>=0.8.0' - 'python2-logfury>=0.1.2' - 'python2-requests>=2.9.1' - 'python2-tqdm>=4.5.0' - 'python2-six>=1.10' - 'python2-futures>=3.0.5' +depends=('python' + 'python-arrow>=0.8.0' + 'python-logfury>=0.1.2' + 'python-requests>=2.9.1' + 'python-tqdm>=4.5.0' + 'python-six>=1.10' ) optdepends=() # MIT or Creative Commons: https://www.backblaze.com/using_b2_code.html @@ -24,13 +23,12 @@ sha512sums=('9c7bac5760693d4b6927db1b040896fd75b8f09072363a60d6201f97f88e2288d5c build() { cd ${srcdir}/B2_Command_Line_Tool-${pkgver} sed -i -e 's:^\(arrow.*\),<0.12.1:\1:' requirements.txt - python2 setup.py build + python setup.py build } package() { cd ${srcdir}/B2_Command_Line_Tool-${pkgver} - python2 setup.py build - python2 setup.py install --root="$pkgdir" --optimize=1 + python setup.py install --root="$pkgdir" --optimize=1 --skip-build # https://wiki.archlinux.org/index.php/Python_package_guidelines rm -rf ${pkgdir}/usr/lib/python*/site-packages/tests/ |