summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Manna2019-05-03 23:16:08 -0700
committerKyle Manna2019-05-03 23:16:08 -0700
commitbb870dc0f33361d1017591786d80ea38fcc358e4 (patch)
tree0d5adb4e0ee0cac15a124c8ac1cd992e5370cec9
downloadaur-bb870dc0f33361d1017591786d80ea38fcc358e4.tar.gz
release: python-b2sdk v0.1.6
Initial release
-rw-r--r--.SRCINFO21
-rw-r--r--.gitignore2
-rw-r--r--PKGBUILD31
3 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1cd6917cf61
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+# Generated by mksrcinfo v8
+# Sat May 4 06:16:01 UTC 2019
+pkgbase = python-b2sdk
+ pkgdesc = Python library to access B2 cloud storage.
+ pkgver = 0.1.6
+ pkgrel = 1
+ url = https://github.com/Backblaze/b2-sdk-python
+ arch = any
+ license = MIT
+ depends = python
+ depends = python-arrow>=0.8.0
+ depends = python-logfury>=0.1.2
+ depends = python-requests>=2.9.1
+ depends = python-setuptools
+ depends = python-six>=1.10
+ depends = python-tqdm>=4.5.0
+ source = https://github.com/Backblaze/b2-sdk-python/archive/v0.1.6.tar.gz
+ sha256sums = 331b16d42e4cc6da27d2e0eae13ae34b69a3e53d5a71209fb9329dd351eb00dd
+
+pkgname = python-b2sdk
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..cb3ee1d6ae0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+*.pkg.tar.xz
+*.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a380c936657
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Kyle Manna <kyle[at]kylemanna[d0t]com>
+
+pkgname=python-b2sdk
+_pkgname=b2-sdk-python
+pkgver=0.1.6
+pkgrel=1
+pkgdesc='Python library to access B2 cloud storage.'
+arch=(any)
+url='https://github.com/Backblaze/b2-sdk-python'
+license=('MIT')
+depends=('python'
+ 'python-arrow>=0.8.0'
+ 'python-logfury>=0.1.2'
+ 'python-requests>=2.9.1'
+ 'python-setuptools'
+ 'python-six>=1.10'
+ 'python-tqdm>=4.5.0'
+ )
+
+source=(https://github.com/Backblaze/${_pkgname}/archive/v${pkgver}.tar.gz)
+sha256sums=('331b16d42e4cc6da27d2e0eae13ae34b69a3e53d5a71209fb9329dd351eb00dd')
+
+build() {
+ cd ${srcdir}/${_pkgname}-${pkgver}
+ python setup.py build
+}
+
+package() {
+ cd ${srcdir}/${_pkgname}-${pkgver}
+ python setup.py install --root=${pkgdir} --optimize=1
+}