Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / python-zope-security
Commits: 6c19694a by Carl Smedstad at 2025-09-28T18:06:17+02:00 upgpkg: 8.1-2: Alight with other zope packages - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = python-zope-security pkgdesc = Zope Security Framework pkgver = 8.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/zopefoundation/zope.security arch = x86_64 license = ZPL-2.1 @@ -9,7 +9,6 @@ pkgbase = python-zope-security checkdepends = python-zope-configuration checkdepends = python-zope-testing checkdepends = python-zope-testrunner - makedepends = git makedepends = python-build makedepends = python-installer makedepends = python-setuptools @@ -23,7 +22,7 @@ pkgbase = python-zope-security depends = python-zope-proxy depends = python-zope-schema optdepends = python-zope-configuration: for ZCML support - source = git+https://github.com/zopefoundation/zope.security.git#tag=8.1 - sha512sums = a662c56347a91230a4d339c9ae0b4c5a1ec5858d8abf322dff39d2b04d39e043e738bdaa34db511d93811aa4734bcc1bbfb9179fc7c506524d92761ad5100c45 + source = https://github.com/zopefoundation/zope.security/archive/8.1/python-zope-security-8.1.tar.gz + sha512sums = 4cccaf50c44a7c1345e3372c8b9f770e51e4920f12a06a9fc8243b887d53e65247329ce1cb8f0eed0d386e86f4bc7f6b9d5a2087c17247a4476d685766be6879 pkgname = python-zope-security ===================================== PKGBUILD ===================================== @@ -4,7 +4,7 @@ pkgname=python-zope-security _pkgname=zope.security pkgver=8.1 -pkgrel=1 +pkgrel=2 pkgdesc="Zope Security Framework" arch=('x86_64') url="https://github.com/zopefoundation/zope.security" @@ -20,7 +20,6 @@ depends=( 'python-zope-schema' ) makedepends=( - 'git' 'python-build' 'python-installer' 'python-setuptools' @@ -33,29 +32,22 @@ checkdepends=( 'python-zope-testrunner' ) optdepends=('python-zope-configuration: for ZCML support') -source=("git+https://github.com/zopefoundation/zope.security.git#tag=$pkgver") -sha512sums=('a662c56347a91230a4d339c9ae0b4c5a1ec5858d8abf322dff39d2b04d39e043e738bdaa34db511d93811aa4734bcc1bbfb9179fc7c506524d92761ad5100c45') - -prepare() { - cd $_pkgname - sed -i 's/setuptools == 78.1.1/setuptools/' pyproject.toml -} +source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('4cccaf50c44a7c1345e3372c8b9f770e51e4920f12a06a9fc8243b887d53e65247329ce1cb8f0eed0d386e86f4bc7f6b9d5a2087c17247a4476d685766be6879') build() { - cd $_pkgname - python -m build --wheel --no-isolation + cd $_pkgname-$pkgver + python -m build --wheel --no-isolation --skip-dependency-check } check() { - cd $_pkgname - local python_version=$(python -c 'import sys; print("".join(map(str, sys.version_info[:2])))') - PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-$python_version" \ - zope-testrunner --test-path=src + cd $_pkgname-$pkgver + python -m venv --system-site-packages test-env + test-env/bin/python -m installer dist/*.whl + test-env/bin/python -m zope.testrunner -vc --test-path src/ } package() { - cd $_pkgname + cd $_pkgname-$pkgver python -m installer --destdir="$pkgdir" dist/*.whl } - -# vim:set ts=2 sw=2 et: View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-zope-security/-/commit/6c19694abd226c0d473c17bb3cf5bab32fc51fc7 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-zope-security/-/commit/6c19694abd226c0d473c17bb3cf5bab32fc51fc7 You're receiving this email because of your account on gitlab.archlinux.org.