diff options
author | Mark Wagie | 2022-04-15 09:19:09 -0600 |
---|---|---|
committer | Mark Wagie | 2022-04-15 09:19:09 -0600 |
commit | 43bd3212404d2dac1689bcb24dfa5245e32bf6d5 (patch) | |
tree | 65ecc55fcc01e04aa4de6035a8c7d389fb117739 | |
parent | b0f15a2325daadd5a64d10de7d3f85663523700f (diff) | |
download | aur-43bd3212404d2dac1689bcb24dfa5245e32bf6d5.tar.gz |
standards based build
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 7 insertions, 4 deletions
@@ -1,10 +1,12 @@ pkgbase = ognibuild pkgdesc = Detect and invoke build systems pkgver = 0.0.13 - pkgrel = 1 + pkgrel = 2 url = https://jelmer.uk/code/ognibuild arch = any license = GPL2 + makedepends = python-build + makedepends = python-installer depends = breezy depends = python-buildlog-consultant depends = python-requirements-parser @@ -1,7 +1,7 @@ # Maintainer: Mark Wagie <mark dot wagie at tutanota dot com> pkgname=ognibuild pkgver=0.0.13 -pkgrel=1 +pkgrel=2 pkgdesc="Detect and invoke build systems" arch=('any') url="https://jelmer.uk/code/ognibuild" @@ -9,6 +9,7 @@ url="https://jelmer.uk/code/ognibuild" license=('GPL2') depends=('breezy' 'python-buildlog-consultant' 'python-requirements-parser' 'python-setuptools' 'python-toml') +makedepends=('python-build' 'python-installer') source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc}) sha256sums=('15d05c36c555b68101ba68a6659f09cdea6a25e06cd4d455dbaecb78bff94cbe' 'SKIP') @@ -16,12 +17,12 @@ validpgpkeys=('DC837EE14A7E37347E87061700806F2BD729A457') # Jelmer Vernooij <jel build() { cd "$pkgname-$pkgver" - python setup.py build + python -m build --wheel --no-isolation } package() { cd "$pkgname-$pkgver" - python setup.py install --root="$pkgdir" --optimize=1 --skip-build + python -m installer --destdir="$pkgdir" dist/*.whl # Remove Debian-specific binaries rm "$pkgdir"/usr/bin/{deb-fix-build,report-apt-deps-status} |