summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax2019-04-25 19:01:34 +1000
committerMax2019-04-25 19:01:34 +1000
commite6d233a3c2423678bcc891f78f6ff880078c0f4e (patch)
tree94a71686e736f219bb603399a78fa977613882d4
downloadaur-python-github-webhook.tar.gz
initial release
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD24
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5ea0d89d2ab
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = python-github-webhook
+ pkgdesc = A very simple, but powerful, microframework for writing GitHub webhooks in Python
+ pkgver = 1.0.2
+ pkgrel = 1
+ url = https://github.com/bloomberg/python-github-webhook
+ arch = any
+ license = Apache
+ makedepends = python
+ makedepends = python-pip
+ depends = python-flask
+ depends = python-six
+ source = https://github.com/bloomberg/python-github-webhook/archive/1.0.2.tar.gz
+ md5sums = c7278ff9848aee19be90e46f29344f0f
+
+pkgname = python-github-webhook
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d5a8e8b0196
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Max Chesterfield <`echo Y2hlc3RtMDA3QGhvdG1haWwuY29tCg== | base64 -d`>
+
+
+pkgname=python-github-webhook
+pkgdesc="A very simple, but powerful, microframework for writing GitHub webhooks in Python"
+pkgver=1.0.2
+pkgrel=1
+arch=('any')
+license=('Apache')
+depends=('python-flask' 'python-six')
+makedepends=('python' 'python-pip')
+url="https://github.com/bloomberg/python-github-webhook"
+source=("https://github.com/bloomberg/python-github-webhook/archive/${pkgver}.tar.gz")
+md5sums=('c7278ff9848aee19be90e46f29344f0f')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python setup.py install --prefix=/usr --root="$pkgdir"
+}