Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / python-tokenize-rt
Commits: 99e18216 by Carl Smedstad at 2025-01-12T12:11:04+01:00 Update maintainer/contributor comments - - - - - 77bc18f5 by Carl Smedstad at 2025-01-12T12:11:51+01:00 Re-format - one dep per line - - - - - 24e0ba95 by Carl Smedstad at 2025-01-12T12:16:05+01:00 upgpkg: 6.1.0-1: Upstream release https://github.com/asottile/tokenize-rt/releases/tag/v6.1.0 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = python-tokenize-rt - pkgdesc = Wrapper around the stdlib `tokenize` which roundtrips - pkgver = 5.2.0 - pkgrel = 3 + pkgdesc = Wrapper around the stdlib tokenize which roundtrips + pkgver = 6.1.0 + pkgrel = 1 url = https://github.com/asottile/tokenize-rt arch = any license = MIT @@ -11,7 +11,7 @@ pkgbase = python-tokenize-rt makedepends = python-setuptools makedepends = python-wheel depends = python - source = https://github.com/asottile/tokenize-rt/archive/v5.2.0/tokenize-rt-5.2.0.tar.gz - b2sums = a81251b6b8b336a6b1b1095e0b31456e834196fc2174958299ac293e5fc979dcdd2b4fc9c7e2e231e73fd09e116d0538dadf9436b4efdcf1390b2db9a025a4b8 + source = https://github.com/asottile/tokenize-rt/archive/v6.1.0/tokenize-rt-6.1.0.tar.gz + b2sums = c83a669abf7291981f3f240483ecad50852c375bb232bb530d58a527af92f7f984b5f0860068a2852b3fdd8c748c43531d450cd2f9da9345548bf76c351f31e6 pkgname = python-tokenize-rt ===================================== PKGBUILD ===================================== @@ -1,39 +1,38 @@ -# Maintainer: Daniel M. Capella <[email protected]> +# Maintainer: Carl Smedstad <[email protected]> +# Contributor: Daniel M. Capella <[email protected]> pkgname=python-tokenize-rt -_name=${pkgname#python-} -pkgver=5.2.0 -pkgrel=3 -pkgdesc='Wrapper around the stdlib `tokenize` which roundtrips' +pkgver=6.1.0 +pkgrel=1 +pkgdesc='Wrapper around the stdlib tokenize which roundtrips' arch=('any') url=https://github.com/asottile/tokenize-rt license=('MIT') depends=('python') -makedepends=('python-build' 'python-installer' 'python-setuptools' - 'python-wheel') +makedepends=( + 'python-build' + 'python-installer' + 'python-setuptools' + 'python-wheel' +) checkdepends=('python-pytest') -source=("$url/archive/v$pkgver/$_name-$pkgver.tar.gz") -b2sums=('a81251b6b8b336a6b1b1095e0b31456e834196fc2174958299ac293e5fc979dcdd2b4fc9c7e2e231e73fd09e116d0538dadf9436b4efdcf1390b2db9a025a4b8') +source=("$url/archive/v$pkgver/${pkgname#python-}-$pkgver.tar.gz") +b2sums=('c83a669abf7291981f3f240483ecad50852c375bb232bb530d58a527af92f7f984b5f0860068a2852b3fdd8c748c43531d450cd2f9da9345548bf76c351f31e6') build() { - cd "$_name"-$pkgver + cd ${pkgname#python-}-$pkgver python -m build --wheel --skip-dependency-check --no-isolation } check() { - cd "$_name"-$pkgver + cd ${pkgname#python-}-$pkgver python -m venv --system-site-packages test-env test-env/bin/python -m installer dist/*.whl test-env/bin/python -m pytest } package() { - cd "$_name"-$pkgver + cd ${pkgname#python-}-$pkgver python -m installer --destdir="$pkgdir" dist/*.whl - - # Symlink license file - local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") - install -d "$pkgdir"/usr/share/licenses/$pkgname - ln -s "$site_packages"/"${_name//-/_}"-$pkgver.dist-info/LICENSE \ - "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-tokenize-rt/-/compare/ff0326a6290d71c06600827f9606869f27d3ac68...24e0ba9538bc4c251df103272e30fb5af244d56e -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-tokenize-rt/-/compare/ff0326a6290d71c06600827f9606869f27d3ac68...24e0ba9538bc4c251df103272e30fb5af244d56e You're receiving this email because of your account on gitlab.archlinux.org.
