From 4cd4b3e81c88a17be22b318f27f1ccf6cae9bcbf Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Sun, 9 Jun 2019 17:17:17 +0000 Subject: python-acme: initial inclusion, dep of certbot --- abs/core/python_modules/python-acme/PKGBUILD | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 abs/core/python_modules/python-acme/PKGBUILD 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 +# Contributor: Gordian Edenhofer + +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 +} -- cgit v0.12