blob: 97b64936571f7a1c36a375d91d3673eef0761bf5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Maintainer: Jeremy Kescher <jeremy@kescher.at>
pkgname=certbot-dns-desec
pkgver=1.2.1
pkgrel=1
pkgdesc='desec.io DNS Authenticator plugin for Certbot'
arch=('any')
license=('Apache')
url='https://github.com/desec-io/certbot-dns-desec'
depends=(
"certbot"
"python-requests"
)
makedepends=(
'git'
'python-build'
'python-wheel'
'python-installer'
)
source=("git+https://github.com/desec-io/certbot-dns-desec.git#tag=v$pkgver")
b2sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --tags | sed 's/^v//'
}
prepare() {
cd "$srcdir/$pkgname"
# nuke setuptools from orbit ^W install_requires
sed \
-e '/"setuptools/d' \
-i setup.py
}
build() {
cd "$srcdir/$pkgname"
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/$pkgname"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|