Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / python-hatch-jupyter-builder
Commits: 2877848e by Antonio Rojas at 2024-04-29T22:36:33+02:00 upgpkg: 0.9.1-3: Drop tomli dependency - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,20 +1,19 @@ pkgbase = python-hatch-jupyter-builder pkgdesc = A hatch plugin to help build Jupyter packages pkgver = 0.9.1 - pkgrel = 2 + pkgrel = 3 url = https://jupyter.org/ arch = any license = BSD-3-Clause checkdepends = python-pytest checkdepends = python-pytest-mock - checkdepends = python-tomli + makedepends = git makedepends = python-build makedepends = python-installer depends = python depends = python-hatchling depends = python-packaging - depends = python-tomli - source = https://github.com/jupyterlab/hatch-jupyter-builder/releases/download/v0.9.1/hatch_jupyter_builder-0.9.1.tar.gz - sha256sums = 79278198d124c646b799c5e8dca8504aed9dcaaa88d071a09eb0b5c2009a58ad + source = git+https://github.com/jupyterlab/hatch-jupyter-builder#tag=v0.9.1 + sha256sums = ad1d12e0619c72338e59be001fd2065fa25557a4a551fb41dff3f12c949c1f67 pkgname = python-hatch-jupyter-builder ===================================== PKGBUILD ===================================== @@ -1,37 +1,36 @@ # Maintainer: Antonio Rojas <aro...@archlinux.org> -_pipname=hatch_jupyter_builder -pkgname=python-hatch-jupyter-builder +_pyname=hatch-jupyter-builder +pkgname=python-$_pyname pkgver=0.9.1 -pkgrel=2 +pkgrel=3 pkgdesc='A hatch plugin to help build Jupyter packages' arch=(any) url='https://jupyter.org/' license=(BSD-3-Clause) depends=(python python-hatchling - python-packaging - python-tomli) -makedepends=(python-build + python-packaging) +makedepends=(git + python-build python-installer) checkdepends=(python-pytest - python-pytest-mock - python-tomli) -source=(https://github.com/jupyterlab/hatch-jupyter-builder/releases/download/v$pkgver/${_pipname//-/_}-$pkgver.tar.gz) -sha256sums=('79278198d124c646b799c5e8dca8504aed9dcaaa88d071a09eb0b5c2009a58ad') + python-pytest-mock) +source=(git+https://github.com/jupyterlab/hatch-jupyter-builder#tag=v$pkgver) +sha256sums=('ad1d12e0619c72338e59be001fd2065fa25557a4a551fb41dff3f12c949c1f67') build() { - cd $_pipname-$pkgver + cd $_pyname python -m build --wheel --no-isolation } check() { - cd $_pipname-$pkgver + cd $_pyname pytest -v } package() { - cd $_pipname-$pkgver + cd $_pyname python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-hatch-jupyter-builder/-/commit/2877848ef78003b64980b606b8959e7a7990636b -- This project does not include diff previews in email notifications. View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-hatch-jupyter-builder/-/commit/2877848ef78003b64980b606b8959e7a7990636b You're receiving this email because of your account on gitlab.archlinux.org.