diff options
author | zlg <zlg@zlg.space> | 2018-11-21 03:27:03 -0800 |
---|---|---|
committer | zlg <zlg@zlg.space> | 2018-11-21 03:35:30 -0800 |
commit | cc9fb4e113beee8f83eca41451a60aa2bf17f12e (patch) | |
tree | 4033d15d6eba905e7b1c3d6fd29640afea0e0374 | |
parent | 313f34f4ff61ae01a76896180f697437a0d1ab7a (diff) | |
download | packages-cc9fb4e113beee8f83eca41451a60aa2bf17f12e.tar.gz packages-cc9fb4e113beee8f83eca41451a60aa2bf17f12e.tar.bz2 packages-cc9fb4e113beee8f83eca41451a60aa2bf17f12e.tar.xz packages-cc9fb4e113beee8f83eca41451a60aa2bf17f12e.zip |
user/certbot: new package
-rw-r--r-- | user/certbot/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/user/certbot/APKBUILD b/user/certbot/APKBUILD new file mode 100644 index 000000000..2ac4e286b --- /dev/null +++ b/user/certbot/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: zlg <zlg+adelie@zlg.space> +# Maintainer: zlg <zlg+adelie@zlg.space> +pkgname=certbot +pkgver=0.28.0 +pkgrel=0 +pkgdesc="The EFF's reference ACME client" +url="https://certbot.eff.org/" +arch="noarch" +license="Apache-2.0" +depends="py3-acme py3-configargparse py3-mock py3-configobj py3-cryptography + py3-parsedatetime py3-rfc3339 py3-tz py3-zope-component py3-zope-interface + coverage" +# define acme deps here and add them to makedepends +# so they get pulled in when bootstrapping. +_depends_acme="py3-cryptography py3-josepy py3-mock py3-openssl py3-requests + py3-requests-toolbelt py3-rfc3339 py3-six py3-tz" +makedepends="python3-dev $_depends_acme" +install="" +subpackages="py3-acme:acme" +source="certbot-$pkgver.tar.gz::https://github.com/certbot/certbot/archive/v$pkgver.tar.gz" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + python3 setup.py check +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +acme() { + pkgdesc="ACME protocol implementation for Python" + depends="$_depends_acme" + cd "$builddir"/acme + python3 setup.py build + python3 setup.py install --prefix=/usr --root="$subpkgdir" +} + +sha512sums="07c9bbad52acebc60e48d79619e4f12818d67c3b0f41ffa4fcd02098fb9da245e4006418f54c51c2e4bb9aaa01a21f7a083c9eb092f533e6676ed75ae8667a54 certbot-0.28.0.tar.gz" |