diff options
author | brokenpip3 | 2021-12-15 00:21:23 +0100 |
---|---|---|
committer | brokenpip3 | 2021-12-15 00:21:23 +0100 |
commit | cf9705b909f8307876ed32478d71cb5a7f2cdc62 (patch) | |
tree | 724d5704d05a108836c1541e7a9f22cfa188ee2c | |
download | aur-cf9705b909f8307876ed32478d71cb5a7f2cdc62.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5a72a4d28e22 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = python-pdpyras + pkgdesc = Low-level PagerDuty REST API Client in Python + pkgver = 4.3.0 + pkgrel = 1 + url = https://github.com/PagerDuty/pdpyras + arch = any + license = MIT + depends = python-requests + source = https://files.pythonhosted.org/packages/source/p/pdpyras/pdpyras-4.3.0.tar.gz + sha256sums = dd5f010f40b85282d8aabbd6b7aaee4018651667539f45b9055619ac40a5aefe + +pkgname = python-pdpyras diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..97b8d6e1f1f5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: brokenpip3 <brokenpip3[at]gmail[dot]com> + +pkgname=python-pdpyras +pkgver=4.3.0 +_name=pdpyras +pkgrel=1 +pkgdesc="Low-level PagerDuty REST API Client in Python" +arch=('any') +url="https://github.com/PagerDuty/pdpyras" +license=('MIT') +depends=('python-requests') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") +sha256sums=('dd5f010f40b85282d8aabbd6b7aaee4018651667539f45b9055619ac40a5aefe') + +build() { + cd "$srcdir/$_name-$pkgver" + python setup.py build +} + +package() { + cd "$srcdir/$_name-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 +} |