diff options
author | Massimiliano Torromeo | 2023-05-06 11:03:03 +0200 |
---|---|---|
committer | Massimiliano Torromeo | 2023-05-06 11:03:03 +0200 |
commit | 0561843ac4ff5b7987c9e66d9158e2c5cfa0d3d7 (patch) | |
tree | f64329dea11a94ff3350f9e6febfc254efe1ae5b /PKGBUILD | |
parent | de1b3ad547d2f5aa783a4c39755a630fcb5278b1 (diff) | |
download | aur-python-dbutils.tar.gz |
Updated to 3.0.3
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,23 +1,24 @@ # Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> pkgname=python-dbutils -pkgver=3.0.2 +pkgver=3.0.3 pkgrel=1 pkgdesc="Suite of Python modules allowing to connect in a safe and efficient way between a threaded Python application and a database" url="https://github.com/WebwareForPython/DBUtils" license=('MIT') depends=('python') +makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') arch=('any') source=("https://github.com/WebwareForPython/DBUtils/archive/refs/tags/Release-${pkgver//./_}/DBUtils-$pkgver.tar.gz") -sha256sums=('10226df9f0cf71a62c001fda61b46097f16389d94eaaa21d1e3ddf4032daf509') +sha256sums=('91e466834455e54d6e1071b2a7a40e862a2ffff36963f34f4f75171da0117872') build() { cd "$srcdir/DBUtils-Release-${pkgver//./_}" - python setup.py build + python -m build --wheel --skip-dependency-check --no-isolation } package() { cd "$srcdir/DBUtils-Release-${pkgver//./_}" - python setup.py install -O1 --skip-build --root="$pkgdir" + python -m installer --destdir="$pkgdir" dist/*.whl install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |