1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/community/certbot-nginx/APKBUILD
mio ac92ea092f community/certbot-nginx: remove py3-josepy version constraint
Resolve build error due to the specified version of py3-josepy being
unavailable.

```
ERROR: unable to select packages:
  py3-josepy-2.0.0-r1:
    breaks: .makedepends-certbot-nginx-20250504.190125[py3-josepy<2]
    satisfies: certbot-4.0.0-r0[py3-josepy]
               py3-acme-4.0.0-r0[py3-josepy]
```
2025-05-06 11:58:30 +00:00

46 lines
1.1 KiB
Text

# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=certbot-nginx
pkgver=4.0.0
pkgrel=1
pkgdesc="Nginx plugin for Certbot client"
url="https://github.com/certbot/certbot"
arch="noarch"
license="Apache-2.0"
depends="
certbot
py3-acme
py3-openssl
py3-parsing
py3-setuptools
py3-josepy
"
makedepends="
py3-gpep517
py3-wheel
"
checkdepends="py3-pytest-xdist"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/certbot/certbot/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/certbot-$pkgver/$pkgname"
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
check() {
python3 -m venv --clear --without-pip --system-site-packages .testenv
.testenv/bin/python3 -m installer .dist/*.whl
.testenv/bin/python3 -m pytest -n auto -p no:warnings
}
package() {
python3 -m installer -d "$pkgdir" \
.dist/*.whl
}
sha512sums="
a34c65c603a5e07ac95143168d651b7d76c3d9403b39b12201d74a23ddbd42019062cb2c0819faae82f2691462324538f1d4db6cdb44c82eddeb4782c0bd86f9 certbot-nginx-4.0.0.tar.gz
"