summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6a67ea8d7c7176f77b95d24b4bce76972f8311bf (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
# Maintainer: taotieren <admin@taotieren.com>

pkgname=certbot-dns-aliyun
_name=certbot-dns-aliyun
pkgver=2.0.0
pkgrel=0
epoch=
pkgdesc="Aliyun DNS Authenticator plugin for Certbot"
arch=('any')
url="https://pypi.org/project/certbot-dns-aliyun"
license=(Apache-2.0)
groups=()
provides=(${_name})
conflicts=(${_name})
depends=(
    certbot
    #     certbot-nginx
    python
    #     python-acme
    python-requests
)
makedepends=(python-build
    python-installer
    python-wheel
    python-setuptools)
options=('!strip' '!debug')
source=("${_name}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
noextract=()
sha256sums=('2acf1dd5595609adc1fa2eb2734a2823d75ba2a47453af13688d8dda37dd3c0b')

build() {
    cd "${srcdir}/${_name}-${pkgver}"
    python -m build --wheel --no-isolation
}

package() {
    cd "${srcdir}/${_name}-${pkgver}"
    python -m installer --destdir="${pkgdir}" dist/*.whl
}