summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Doppler2017-03-15 13:54:52 +0100
committerSimon Doppler2017-03-15 13:54:52 +0100
commit70e29c6239834ec6d64554270a570e62e6c7f7de (patch)
tree9d670277af6cdd5f1851152240f1ee9c14153e40
downloadaur-70e29c6239834ec6d64554270a570e62e6c7f7de.tar.gz
Initial upload: python-imgurpython 1.1.8-1
Add imgurpython
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD20
2 files changed, 33 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0667dba7b23
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = python-imgurpython
+ pkgdesc = Imgur API official Python bindings
+ pkgver = 1.1.8
+ pkgrel = 1
+ url = https://github.com/imgur/imgurpython
+ arch = any
+ license = MIT
+ depends = python
+ source = python-imgurpython-v1.1.8.tar.gz::https://github.com/imgur/imgurpython/archive/1.1.8.tar.gz
+ sha256sums = 06b4bea1c0dafe7e36b88388f0ef0e1afdaba0def446c7426a216b7511d5f7c6
+
+pkgname = python-imgurpython
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..38e51fd5d9a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer : Simon Doppler <dop dot simon at gmail dot com>
+
+_projname=imgurpython
+_orgname=imgur
+pkgname="python-${_projname}"
+pkgver=1.1.8
+pkgrel=1
+pkgdesc='Imgur API official Python bindings'
+arch=('any')
+url="https://github.com/${_orgname}/${_projname}"
+license=('MIT')
+depends=('python')
+source=("${pkgname}-v${pkgver}.tar.gz::https://github.com/${_orgname}/${_projname}/archive/${pkgver}.tar.gz")
+sha256sums=("06b4bea1c0dafe7e36b88388f0ef0e1afdaba0def446c7426a216b7511d5f7c6")
+
+package() {
+ cd ${_projname}-${pkgver}
+ python setup.py install --root="$pkgdir"
+}
+