Date: Wednesday, September 21, 2022 @ 18:37:30 Author: arojas Revision: 1306102
New jupyter-nbformat dependency Added: python-hatch-nodejs-version/ python-hatch-nodejs-version/trunk/ python-hatch-nodejs-version/trunk/PKGBUILD ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Added: python-hatch-nodejs-version/trunk/PKGBUILD =================================================================== --- python-hatch-nodejs-version/trunk/PKGBUILD (rev 0) +++ python-hatch-nodejs-version/trunk/PKGBUILD 2022-09-21 18:37:30 UTC (rev 1306102) @@ -0,0 +1,31 @@ +# Maintainer: + +pkgname=python-hatch-nodejs-version +pkgver=0.3.0 +pkgrel=1 +pkgdesc='Hatch plugin for versioning from a package.json file' +arch=(any) +url='https://github.com/agoose77/hatch-nodejs-version' +license=(MIT) +depends=(python-hatchling) +makedepends=(python-build python-installer) +checkdepends=(python-pytest) +source=(https://github.com/agoose77/hatch-nodejs-version/archive/v$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('b780d59325edf5da2301717a9142e51c5f3e08efdbd18833584b38fbc95fbf92') + +build() { + cd hatch-nodejs-version-$pkgver + python -m build --wheel --no-isolation +} + +check() { + cd hatch-nodejs-version-$pkgver + PYTHONPATH="$PWD"/src \ + pytest -v +} + +package() { + cd hatch-nodejs-version-$pkgver + python -m installer --destdir="$pkgdir" dist/*.whl + install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}
