summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core/python_modules/python-acme/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/abs/core/python_modules/python-acme/PKGBUILD b/abs/core/python_modules/python-acme/PKGBUILD
new file mode 100644
index 0000000..181ae1b
--- /dev/null
+++ b/abs/core/python_modules/python-acme/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de>
+
+pkgname=python-acme
+pkgver=0.35.0
+pkgrel=1
+pkgdesc="ACME protocol implementation in Python"
+arch=('any')
+license=('Apache')
+url="https://github.com/certbot/certbot"
+depends=('python-setuptools' 'python-pyopenssl' 'python-pyrfc3339' 'python-pytz' 'python-requests'
+ 'python-six' 'python-josepy' 'python-mock' 'python-requests-toolbelt')
+checkdepends=('python-pytest-runner')
+source=("https://pypi.io/packages/source/a/acme/acme-$pkgver.tar.gz")
+sha512sums=('55a6b330ba698f13af0510e59fb5748ffada9c6bb10115fe53d7acb81c4504be0eedb787ca4fc34d3929f90933f7d0ec93e015f786f002364c7455134f041467')
+
+build() {
+ cd acme-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd acme-$pkgver
+ python setup.py pytest
+}
+
+package() {
+ cd acme-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}