Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / python-traitlets
Commits: f1f358e9 by Antonio Rojas at 2024-04-19T15:26:22+02:00 upgpkg: 5.14.3-1: Update to 5.14.3 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,19 +1,20 @@ pkgbase = python-traitlets pkgdesc = A configuration system for Python applications - pkgver = 5.14.2 - pkgrel = 2 + pkgver = 5.14.3 + pkgrel = 1 url = https://traitlets.readthedocs.io/en/stable arch = any license = BSD-3-Clause checkdepends = python-pytest-mock checkdepends = python-pytest-mypy-testing + makedepends = git makedepends = python-build makedepends = python-hatchling makedepends = python-installer depends = python depends = python-argcomplete depends = python-typing_extensions - source = https://pypi.python.org/packages/source/t/traitlets/traitlets-5.14.2.tar.gz - sha256sums = 8cdd83c040dab7d1dee822678e5f5d100b514f7b72b01615b26fc5718916fdf9 + source = git+https://github.com/ipython/traitlets#tag=v5.14.3 + sha256sums = 84a712e6293b4bfde7a609f7bee3bca22c8b120766ea9d5f6fe7171b86cc3d48 pkgname = python-traitlets ===================================== PKGBUILD ===================================== @@ -3,8 +3,8 @@ _pyname=traitlets pkgname=python-$_pyname -pkgver=5.14.2 -pkgrel=2 +pkgver=5.14.3 +pkgrel=1 pkgdesc='A configuration system for Python applications' arch=(any) url='https://traitlets.readthedocs.io/en/stable' @@ -12,28 +12,29 @@ license=(BSD-3-Clause) depends=(python python-argcomplete python-typing_extensions) -makedepends=(python-build +makedepends=(git + python-build python-hatchling python-installer) checkdepends=(python-pytest-mock python-pytest-mypy-testing) -source=(https://pypi.python.org/packages/source/t/traitlets/traitlets-$pkgver.tar.gz) -sha256sums=('8cdd83c040dab7d1dee822678e5f5d100b514f7b72b01615b26fc5718916fdf9') +source=(git+https://github.com/ipython/traitlets#tag=v$pkgver) +sha256sums=('84a712e6293b4bfde7a609f7bee3bca22c8b120766ea9d5f6fe7171b86cc3d48') build() { - cd $_pyname-$pkgver + cd $_pyname python -m build --wheel --no-isolation } check() { - cd $_pyname-$pkgver + cd $_pyname python -m venv --system-site-packages test-env test-env/bin/python -m installer dist/*.whl test-env/bin/python -m pytest -v -k 'not mypy_dict_typing' } package() { - cd $_pyname-$pkgver + cd $_pyname python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-traitlets/-/commit/f1f358e99761cc2d0c12b079fa6de5cbde89eb3b -- This project does not include diff previews in email notifications. View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-traitlets/-/commit/f1f358e99761cc2d0c12b079fa6de5cbde89eb3b You're receiving this email because of your account on gitlab.archlinux.org.