Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / python-sh
Commits: f2192147 by Felix Yan at 2024-06-16T16:12:16+03:00 upgpkg: 2.0.7-1 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,20 +1,21 @@ pkgbase = python-sh pkgdesc = Subprocess interface that allows you to call any program as if it were a function - pkgver = 2.0.6 - pkgrel = 2 - url = https://pypi.python.org/pypi/sh + pkgver = 2.0.7 + pkgrel = 1 + url = https://github.com/amoffat/sh arch = any license = MIT checkdepends = lsof checkdepends = python-pytest + makedepends = git makedepends = python-setuptools makedepends = python-build makedepends = python-installer makedepends = python-wheel makedepends = python-poetry-core depends = python - source = https://pypi.io/packages/source/s/sh/sh-2.0.6.tar.gz - sha512sums = 717dae58ebd08b3a86e0d30ba2a6f3055592844d064265280b97a1d29bd7d0422c9e5500b6eb999cc1a97c1c2af04cf8ed214670bc08cb2bc45e418f69560c1d - b2sums = 2352aa1c560a95e59446473658d0a95609f594417c8840c84cf1d65590aa94c2225dcd8782e75d82e92cdbf86f21dbbe03a1818a5ef1800a39444ce2918bc90b + source = git+https://github.com/amoffat/sh.git#tag=2.0.7 + sha512sums = 7c2e7d93afddda12ecbd73028d1709941eea7a39ab8dc1edec7c7113c3233ac70c3f981cf6af2f3d18ecf1bbcaca89f3a969ef2c3f0f486959bfa91a9c734213 + b2sums = d042f84637693eba02b4be1bdb3b65312f6ba68aa5bcdef3c6f9288e93d44d5076d40f22b982d0b7eeeb8b99d8a6877c4e351d4dde5681b8166ae58a93b002aa pkgname = python-sh ===================================== PKGBUILD ===================================== @@ -4,36 +4,37 @@ # Contributor: Alexander Rødseth <rods...@gmail.com> pkgname=python-sh -pkgver=2.0.6 -pkgrel=2 +pkgver=2.0.7 +pkgrel=1 pkgdesc='Subprocess interface that allows you to call any program as if it were a function' arch=('any') -url='https://pypi.python.org/pypi/sh' +url='https://github.com/amoffat/sh' license=('MIT') depends=('python') -makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel' 'python-poetry-core') +makedepends=('git' 'python-setuptools' 'python-build' 'python-installer' 'python-wheel' + 'python-poetry-core') checkdepends=('lsof' 'python-pytest') -source=("https://pypi.io/packages/source/s/sh/sh-$pkgver.tar.gz") -sha512sums=('717dae58ebd08b3a86e0d30ba2a6f3055592844d064265280b97a1d29bd7d0422c9e5500b6eb999cc1a97c1c2af04cf8ed214670bc08cb2bc45e418f69560c1d') -b2sums=('2352aa1c560a95e59446473658d0a95609f594417c8840c84cf1d65590aa94c2225dcd8782e75d82e92cdbf86f21dbbe03a1818a5ef1800a39444ce2918bc90b') +source=("git+https://github.com/amoffat/sh.git#tag=$pkgver") +sha512sums=('7c2e7d93afddda12ecbd73028d1709941eea7a39ab8dc1edec7c7113c3233ac70c3f981cf6af2f3d18ecf1bbcaca89f3a969ef2c3f0f486959bfa91a9c734213') +b2sums=('d042f84637693eba02b4be1bdb3b65312f6ba68aa5bcdef3c6f9288e93d44d5076d40f22b982d0b7eeeb8b99d8a6877c4e351d4dde5681b8166ae58a93b002aa') build() { - cd sh-$pkgver + cd sh python -m build --wheel --no-isolation } check() { - cd sh-$pkgver + cd sh # export PYTHONPATH="$(pwd):${PYTHONPATH}" pytest tests -k 'not test_environment' } package() { - cd sh-$pkgver + cd sh python -m installer --destdir="$pkgdir" dist/*.whl - install -vDm 644 LICENSE.txt "$pkgdir"/usr/share/licenses/python-sh/LICENSE - install -vDm 644 {README.rst,CHANGELOG.md} \ - -t "${pkgdir}/usr/share/doc/${pkgname}" + install -vDm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/ + install -vDm644 {README.rst,CHANGELOG.md} \ + -t "$pkgdir"/usr/share/doc/$pkgname/ } # vim:set ts=2 sw=2 et: View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-sh/-/commit/f2192147868b3af02727163de5fe9cef8804a705 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-sh/-/commit/f2192147868b3af02727163de5fe9cef8804a705 You're receiving this email because of your account on gitlab.archlinux.org.