Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / python-validate-pyproject
Commits: fb99c271 by Carl Smedstad at 2025-01-10T11:37:52+01:00 Update maintainer/contributor comments - - - - - 93415359 by Carl Smedstad at 2025-01-10T11:38:05+01:00 Use SPDX license identifier - - - - - d257f4a1 by Carl Smedstad at 2025-01-11T20:01:23+01:00 upgpkg: 0.23-1: Upstream release https://github.com/abravalheri/validate-pyproject/releases/tag/v0.23 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,20 +1,23 @@ pkgbase = python-validate-pyproject pkgdesc = Validation library and CLI tool for checking on 'pyproject.toml' files using JSON Schema - pkgver = 0.22 - pkgrel = 2 + pkgver = 0.23 + pkgrel = 1 url = https://github.com/abravalheri/validate-pyproject arch = any - license = MPL + license = MPL-2.0 checkdepends = python-pytest makedepends = git makedepends = python-build makedepends = python-installer makedepends = python-wheel makedepends = python-setuptools-scm + depends = python depends = python-fastjsonschema depends = python-packaging depends = python-trove-classifiers - source = git+https://github.com/abravalheri/validate-pyproject.git#tag=v0.22 - sha512sums = 47ad0fe1f741a2f23e3b4ab64fce89950fb090ce001cc7bd71431b9f085a9b3e6064b0449f7ac25f3fdf9719cdd427781afae8a9414e03d4c136c7f5662b88a7 + source = git+https://github.com/abravalheri/validate-pyproject.git#tag=v0.23 + source = fix-tests.patch::https://github.com/abravalheri/validate-pyproject/commit/7e3db65608d811d792960c9320a8775fc9e03b0e.patch + sha512sums = f4497c1da0bf9097d4daf69c406e0eee973d67b6803e1b8052ecb1e3d8f5a800d48db5999b97b652c9e3ce1fd2b201df87a1141c31399f22d6787b9b482eac94 + sha512sums = 4a562557695923a1ce451a0359173ac243a61cf7f2b770e20f7530d207cbe12705688046fe066d683478c555a2b090a6fd393b2291f2e16324f2dc379a33be12 pkgname = python-validate-pyproject ===================================== PKGBUILD ===================================== @@ -1,35 +1,40 @@ # Maintainer: Felix Yan <[email protected]> +# Maintainer: Jelle van der Waa <[email protected]> +# Maintainer: Carl Smedstad <[email protected]> pkgname=python-validate-pyproject -pkgver=0.22 -pkgrel=2 +pkgver=0.23 +pkgrel=1 pkgdesc="Validation library and CLI tool for checking on 'pyproject.toml' files using JSON Schema" url="https://github.com/abravalheri/validate-pyproject" -license=('MPL') +license=('MPL-2.0') arch=('any') -depends=('python-fastjsonschema' 'python-packaging' 'python-trove-classifiers') +depends=('python' 'python-fastjsonschema' 'python-packaging' 'python-trove-classifiers') makedepends=('git' 'python-build' 'python-installer' 'python-wheel' 'python-setuptools-scm') checkdepends=('python-pytest') -source=("git+https://github.com/abravalheri/validate-pyproject.git#tag=v$pkgver") -sha512sums=('47ad0fe1f741a2f23e3b4ab64fce89950fb090ce001cc7bd71431b9f085a9b3e6064b0449f7ac25f3fdf9719cdd427781afae8a9414e03d4c136c7f5662b88a7') +source=( + "git+$url.git#tag=v$pkgver" + # https://github.com/abravalheri/validate-pyproject/pull/225 + "fix-tests.patch::$url/commit/7e3db65608d811d792960c9320a8775fc9e03b0e.patch" +) +sha512sums=('f4497c1da0bf9097d4daf69c406e0eee973d67b6803e1b8052ecb1e3d8f5a800d48db5999b97b652c9e3ce1fd2b201df87a1141c31399f22d6787b9b482eac94' + '4a562557695923a1ce451a0359173ac243a61cf7f2b770e20f7530d207cbe12705688046fe066d683478c555a2b090a6fd393b2291f2e16324f2dc379a33be12') prepare() { cd validate-pyproject + patch -Np1 -i ../fix-tests.patch } build() { cd validate-pyproject - python -m build -wn + python -m build --wheel --no-isolation } check() { - local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") - cd validate-pyproject - python -m installer --destdir=tmp_install dist/*.whl - PYTHONPATH="$PWD/tmp_install/$site_packages:$PYTHONPATH" pytest -o addopts='' --doctest-modules --ignore src/validate_pyproject/_vendor src - # Deselected tests requiring a installed validate-pyproject - PYTHONPATH="$PWD/tmp_install/$site_packages:$PYTHONPATH" pytest -o addopts='' --deselect tests/test_pre_compile.py --deselect tests/test_vendoring.py + python -m venv --system-site-packages test-env + test-env/bin/python -m installer dist/*.whl + test-env/bin/python -m pytest --override-ini="addopts=" } package() { View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-validate-pyproject/-/compare/9bff8c9b755367dc59d175d918936735ada6d5a3...d257f4a15773f8d687d83c42d18ad5775089c0a1 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-validate-pyproject/-/compare/9bff8c9b755367dc59d175d918936735ada6d5a3...d257f4a15773f8d687d83c42d18ad5775089c0a1 You're receiving this email because of your account on gitlab.archlinux.org.
