Date: Tuesday, January 31, 2023 @ 20:13:35 Author: felixonmars Revision: 1391528
upgpkg: python-cppy 1.2.1-3 Modified: python-cppy/trunk/PKGBUILD ----------+ PKGBUILD | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-01-31 20:12:40 UTC (rev 1391527) +++ PKGBUILD 2023-01-31 20:13:35 UTC (rev 1391528) @@ -2,31 +2,30 @@ pkgname=python-cppy pkgver=1.2.1 -pkgrel=2 +_commit=13a67972ca9063951440c911270f204aa7fe631a +pkgrel=3 pkgdesc="A collection of C++ headers which make it easier to write Python C extension modules" url="https://github.com/nucleic/cppy" license=('BSD') arch=('any') depends=('python') -makedepends=('python-build' 'python-installer' 'python-setuptools-scm' 'python-wheel') +makedepends=('git' 'python-build' 'python-installer' 'python-setuptools-scm' 'python-wheel') checkdepends=('python-pytest') -source=("https://github.com/nucleic/cppy/archive/$pkgver/$pkgname-$pkgver.tar.gz") -sha512sums=('f6493830a8a66f52fff7c592db9d255fd7178ba320faee6a96258f29b6f299ffeca83f001650390b05c1037eb1350b0bd4da701d77a7bcb1a1babc108b7b8f97') +source=("git+https://github.com/nucleic/cppy.git#commit=$_commit") +sha512sums=('SKIP') -export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver - build() { - cd cppy-$pkgver + cd cppy python -m build -wn } check() { - cd cppy-$pkgver + cd cppy python -m pytest } package() { - cd cppy-$pkgver + cd cppy python -m installer -d "$pkgdir" dist/*.whl install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ }
