diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2,13 +2,13 @@ _name=ocspbuilder pkgname=python-ocspbuilder pkgver=0.10.2 -pkgrel=2 +pkgrel=3 pkgdesc="Python library for generating OCSP requests and responses" url="https://github.com/wbond/ocspbuilder" arch=(any) license=(custom:MIT) depends=(python python-asn1crypto python-oscrypto) -makedepends=(python-setuptools) +makedepends=(python-build python-installer) source=("https://pypi.python.org/packages/source/${_name:0:1}/${_name}/${_name}-${pkgver}.tar.gz" "$pkgname-$pkgver-LICENSE::https://raw.githubusercontent.com/wbond/${_name}/${pkgver}/LICENSE") sha256sums=("945629537ac6d6960a7413fd32fc49448a442f9dfd87f6de5c239e89ed853a0d" @@ -16,12 +16,12 @@ sha256sums=("945629537ac6d6960a7413fd32fc49448a442f9dfd87f6de5c239e89ed853a0d" build() { cd $_name-$pkgver - python setup.py build + python -m build --wheel --no-isolation } package() { cd $_name-$pkgver - python setup.py install -O1 --skip-build --root="$pkgdir" + python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 ../$pkgname-$pkgver-LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt" } |