Daniel M. Capella pushed to branch main at Arch Linux / Packaging / Packages / vint
Commits: 347a0ffb by Daniel M. Capella at 2024-04-04T23:39:52-04:00 upgpkg: 0.3.21-3: Rebuild for Python 3.12 https://archlinux.org/todo/python-modules-part-1/ - - - - - 2 changed files: - + .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -0,0 +1,20 @@ +pkgbase = vint + pkgdesc = Lint tool for Vim script Language + pkgver = 0.3.21 + pkgrel = 3 + url = https://github.com/Vimjas/vint + arch = any + license = MIT + checkdepends = python-pytest + makedepends = git + makedepends = python-build + makedepends = python-installer + makedepends = python-wheel + depends = python-ansicolor + depends = python-chardet + depends = python-setuptools + depends = python-yaml + source = git+https://github.com/Vimjas/vint.git#tag=v0.3.21 + b2sums = 0bf6770ecbf60d148c9ee269de4ca5a3b84e44e517b8a7001c06096c7acd902e686d3afe88d4d1a5ebe5d99a8b9186a394669b543af601a208e543f31d29c7d9 + +pkgname = vint ===================================== PKGBUILD ===================================== @@ -3,36 +3,34 @@ pkgname=vint pkgver=0.3.21 -pkgrel=2 +pkgrel=3 pkgdesc='Lint tool for Vim script Language' arch=('any') url=https://github.com/Vimjas/vint license=('MIT') depends=('python-ansicolor' 'python-chardet' 'python-setuptools' 'python-yaml') -makedepends=('python-build' 'python-installer' 'python-wheel') +makedepends=('git' 'python-build' 'python-installer' 'python-wheel') checkdepends=('python-pytest') -conflicts=('python-vint') -replaces=('python-vint') -source=("$url/archive/v$pkgver/vint-v$pkgver.tar.gz") -b2sums=('926b46493030dc0daa477ded3cb70f2b825b4eb8054c14a4b824b97e7df60d0141cf1bcf4c33893afd870f51308b7156fb6e5870f320f8c9449fdca8fe78774f') +source=("git+$url.git#tag=v$pkgver") +b2sums=('0bf6770ecbf60d148c9ee269de4ca5a3b84e44e517b8a7001c06096c7acd902e686d3afe88d4d1a5ebe5d99a8b9186a394669b543af601a208e543f31d29c7d9') build() { - cd vint-$pkgver + cd $pkgname python -m build --wheel --skip-dependency-check --no-isolation } check() { - cd vint-$pkgver + cd $pkgname pytest } package() { - cd vint-$pkgver + cd $pkgname 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/vint - ln -s "$site_packages"/vim_vint-$pkgver.dist-info/LICENSE.txt \ - "$pkgdir"/usr/share/licenses/vint/LICENSE.txt + install -d "$pkgdir"/usr/share/licenses/$pkgname + ln -s "$site_packages"/vim_$pkgname-$pkgver.dist-info/LICENSE.txt \ + "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/vint/-/commit/347a0ffbfb993c4a396e5c5a3b264b85e4d2d4ad -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/vint/-/commit/347a0ffbfb993c4a396e5c5a3b264b85e4d2d4ad You're receiving this email because of your account on gitlab.archlinux.org.