2019-02-25 18:14:03 +01:00
|
|
|
pkgname=python-acertmgr
|
|
|
|
_pkgname=acertmgr
|
|
|
|
pkgver=v0.0.0
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc='An automated certificate manager using ACME/letsencrypt'
|
|
|
|
arch=('any')
|
|
|
|
url='https://github.com/moepman/acertmgr'
|
|
|
|
license=('ISC')
|
2019-04-05 21:27:32 +02:00
|
|
|
depends=('python-cryptography>=0.6')
|
2019-04-03 17:22:02 +02:00
|
|
|
optdepends=('python-yaml: Support config files in YAML format'
|
|
|
|
'python-idna: Support conversion of unicode domains'
|
2019-04-05 21:27:32 +02:00
|
|
|
'python-dnspython: Support for dns challenge handlers'
|
|
|
|
'python-cryptography>=2.1: Support for the OCSP must-staple flag'
|
2019-04-03 17:22:02 +02:00
|
|
|
)
|
2019-02-25 18:14:03 +01:00
|
|
|
makedepends=('git')
|
|
|
|
conflicts=('python-acertmgr')
|
|
|
|
provides=('python-acertmgr')
|
|
|
|
source=('git://github.com/moepman/acertmgr.git')
|
|
|
|
md5sums=('SKIP')
|
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd $_pkgname
|
|
|
|
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $_pkgname
|
|
|
|
python setup.py build
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $_pkgname
|
|
|
|
python setup.py install --root=${pkgdir} --optimize=1
|
|
|
|
}
|