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 | |
parent | e0bf8fc245e7c2dad2f44b632006b4d553e30f04 (diff) | |
download | aur-python-colcon-core.tar.gz |
update package to 0.16.1
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 11 insertions, 5 deletions
@@ -1,6 +1,6 @@ pkgbase = python-colcon-core pkgdesc = Command line tool to build sets of software packages. - pkgver = 0.16.0 + pkgver = 0.16.1 pkgrel = 1 url = https://colcon.readthedocs.io/en/released/ arch = any @@ -18,7 +18,7 @@ pkgbase = python-colcon-core depends = python-distlib depends = python-notify2 depends = python-empy3 - source = python-colcon-core-0.16.0.tar.gz::https://github.com/colcon/colcon-core/archive/0.16.0.tar.gz - sha256sums = 223e3096b75e4c1537861a0d95585ce8306a7d3ac796c0944658d932eca15539 + source = python-colcon-core-0.16.1.tar.gz::https://github.com/colcon/colcon-core/archive/0.16.1.tar.gz + sha256sums = c8fcde5ae7b29d1c639970fc00b16002fc0e4776bd296f116f8e0f93ae070670 pkgname = python-colcon-core @@ -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 |