diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-04-20 15:27:42 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-04-20 15:27:47 +0000 |
commit | d04576fe9606c0f1ad88b2fcf22b7d23980e5728 (patch) | |
tree | cea6b41e543900e6baadb212c658b641fa4f26a8 /community/certbot/APKBUILD | |
parent | efb9642f0408d71f0e850c8ff0859dbf2df87655 (diff) | |
download | aports-d04576fe9606c0f1ad88b2fcf22b7d23980e5728.tar.bz2 aports-d04576fe9606c0f1ad88b2fcf22b7d23980e5728.tar.xz |
community/certbot: added missing dependencies
Diffstat (limited to 'community/certbot/APKBUILD')
-rw-r--r-- | community/certbot/APKBUILD | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/community/certbot/APKBUILD b/community/certbot/APKBUILD index 4d0a7eeb88..4cc8891bae 100644 --- a/community/certbot/APKBUILD +++ b/community/certbot/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=certbot pkgver=0.13.0 -pkgrel=0 +pkgrel=1 pkgdesc="An ACME client that can update Apache/Nginx configurations" url="https://github.com/certbot/certbot" arch="noarch" @@ -10,35 +10,38 @@ license="Apache" depends="py-setuptools py-mock py-acme py-configargparse py-configobj py-cryptography py-parsedatetime py-dialog py-openssl py-rfc3339 py-tz py-requests py-six py-zope-component py-zope-interface - py-zope-event py-cffi py-enum34 py-ipaddress py-idna" + py-zope-event py-cffi py-enum34 py-ipaddress py-idna py-argparse py-packaging" # define acme deps here and add them to makedepends # so they get pulled in when bootstrapping. _depends_acme="py-setuptools py-cryptography py-ndg_httpsclient py-asn1 py-openssl py-tz py-rfc3339 py-requests py-six py-werkzeug" replaces="letsencrypt" -depends_dev="" makedepends="$depends_dev $_depends_acme" -install="" subpackages="py-acme:acme" source="certbot-$pkgver.tar.gz::https://github.com/certbot/certbot/archive/v$pkgver.tar.gz" +builddir="$srcdir"/$pkgname-$pkgver + +check() { + cd "$builddir" + python2 setup.py check +} -_builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" - python2 setup.py build || return 1 + cd "$builddir" + python2 setup.py build } package() { - cd "$_builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + cd "$builddir" + python2 setup.py install --prefix=/usr --root="$pkgdir" } acme() { pkgdesc="ACME protocol implementation for Python" depends="$_depends_acme" - cd "$_builddir"/acme - python2 setup.py build || return 1 - python2 setup.py install --prefix=/usr --root="$subpkgdir" || return 1 + cd "$builddir"/acme + python2 setup.py build + python2 setup.py install --prefix=/usr --root="$subpkgdir" } sha512sums="c0bc38b48f0c9731236bba9f4c05da960bfc038be629c5f4c63e80812595c6e0fb679ff901a8bf160efa119b532b5a629435ed595e3b1049f7a15f2c2dd8eb40 certbot-0.13.0.tar.gz" |