summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Finelli2020-12-13 16:15:40 -0500
committerMario Finelli2020-12-13 16:15:40 -0500
commitc0aeb77cc2f8e8de6a9c117b902c3373a9616220 (patch)
tree5d6f7da85ad6de1a3a93c5a30c8536843a65f2d7
parent0a86b4228221e1d2f0839e0e5e65d526d3f8dc0c (diff)
downloadaur-c0aeb77cc2f8e8de6a9c117b902c3373a9616220.tar.gz
Update and cleanup
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD50
2 files changed, 29 insertions, 40 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 33d793d5e33..836a88ac609 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,22 +1,19 @@
pkgbase = backblaze-b2-git
- pkgdesc = Backblaze B2 Command Line Client.
- pkgver = r1123.15a60ad
+ pkgdesc = Backblaze B2 Command Line Client
+ pkgver = r1710.1ddcc6e
pkgrel = 1
url = https://www.backblaze.com/b2/cloud-storage.html
arch = any
license = MIT
makedepends = git
- makedepends = python2-setuptools
- depends = python2
- depends = python2-arrow
- depends = python2-futures
- depends = python2-logfury
- depends = python2-requests
- depends = python2-six
- depends = python2-tqdm
+ makedepends = python-setuptools
+ depends = python
+ depends = python-b2sdk
+ depends = python-tqdm
+ depends = python-class-registry
provides = backblaze-b2
conflicts = backblaze-b2
- source = git://github.com/Backblaze/B2_Command_Line_Tool.git
+ source = git+https://github.com/Backblaze/B2_Command_Line_Tool.git
md5sums = SKIP
pkgname = backblaze-b2-git
diff --git a/PKGBUILD b/PKGBUILD
index 11a16d0d052..03ebf509025 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,45 +3,37 @@
_pkgname=backblaze-b2
_reponame="B2_Command_Line_Tool"
-pkgname="${_pkgname}-git"
-pkgver=r1123.15a60ad
+pkgname=${_pkgname}-git
+pkgver=r1710.1ddcc6e
pkgrel=1
-pkgdesc="Backblaze B2 Command Line Client."
-arch=('any')
+pkgdesc="Backblaze B2 Command Line Client"
+arch=(any)
url="https://www.backblaze.com/b2/cloud-storage.html"
-license=('MIT')
-depends=('python2'
- 'python2-arrow'
- 'python2-futures'
- 'python2-logfury'
- 'python2-requests'
- 'python2-six'
- 'python2-tqdm')
-makedepends=('git'
- 'python2-setuptools')
-provides=("$_pkgname")
-conflicts=("$_pkgname")
-source=("git://github.com/Backblaze/$_reponame.git")
+license=(MIT)
+depends=(python python-b2sdk python-tqdm python-class-registry)
+makedepends=(git python-setuptools)
+provides=($_pkgname)
+conflicts=($_pkgname)
+source=("git+https://github.com/Backblaze/${_reponame}.git")
md5sums=('SKIP')
pkgver() {
- cd "$srcdir/$_reponame"
- printf "r%s.%s" "$(git rev-list --count HEAD)" \
- "$(git rev-parse --short HEAD)"
+ cd "$_reponame"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" \
+ "$(git rev-parse --short HEAD)"
}
build() {
- cd "$srcdir/$_reponame"
- python2 setup.py build
+ cd "$_reponame"
+ python setup.py build
}
package() {
- cd "$srcdir/$_reponame"
- python2 setup.py install --root="$pkgdir" --optimize=1
+ cd "$_reponame"
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
- rm -rf "$pkgdir"/usr/lib/python*/site-packages/test
-
- install -Dm0644 contrib/bash_completion/b2 \
- "$pkgdir/etc/bash_completion.d/b2"
- install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
+ install -Dm0644 contrib/bash_completion/b2 "$pkgdir/etc/bash_completion.d/b2"
+ install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
}
+
+# vim: set ts=2 sw=2 et: