diff options
author | Zhirui Dai | 2024-04-28 11:56:29 -0700 |
---|---|---|
committer | Zhirui Dai | 2024-04-28 11:56:29 -0700 |
commit | 713fce38dc54c39987d009784864b0c2575d4fe4 (patch) | |
tree | 53d4b1dd340417c8ee1d51cde51730abd4b97d48 /PKGBUILD | |
parent | e0bf8fc245e7c2dad2f44b632006b4d553e30f04 (diff) | |
download | aur-713fce38dc54c39987d009784864b0c2575d4fe4.tar.gz |
update package to 0.16.1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -2,7 +2,7 @@ # Contributor: Tong Chunli<t.cunly at 163 dot com> pkgname=python-colcon-core -pkgver=0.16.0 +pkgver=0.16.1 pkgrel=1 pkgdesc="Command line tool to build sets of software packages." arch=(any) @@ -26,7 +26,7 @@ makedepends=( python-wheel ) source=("$pkgname-$pkgver.tar.gz"::"https://github.com/colcon/colcon-core/archive/$pkgver.tar.gz") -sha256sums=('223e3096b75e4c1537861a0d95585ce8306a7d3ac796c0944658d932eca15539') +sha256sums=('c8fcde5ae7b29d1c639970fc00b16002fc0e4776bd296f116f8e0f93ae070670') _pkgname=colcon-core @@ -35,6 +35,12 @@ build() { python -m build --wheel --no-isolation } +check() { + cd "$_pkgname-${pkgver}" + python bin/colcon build --paths $_pkgname-${pkgver} + python bin/colcon test --paths $_pkgname-${pkgver} --return-code-on-test-failure +} + package() { cd ${srcdir}/${_pkgname}-${pkgver} python -m installer --destdir="$pkgdir" dist/*.whl |