Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / 
python-zope-proxy


Commits:
f73ae6fc by Carl Smedstad at 2024-08-23T13:18:31+02:00
upgpkg: 5.3-1: Upstream release

https://github.com/zopefoundation/zope.proxy/releases/tag/5.3

PKGBUILD changes:

- Use archive as source instead of Git repository - no need for it.
- Add missing dependencies glibc and python.
- Invoke zope-testrunner executable instead of Python module.

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,19 +1,20 @@
 pkgbase = python-zope-proxy
        pkgdesc = Generic Transparent Proxies
-       pkgver = 5.2
-       pkgrel = 2
+       pkgver = 5.3
+       pkgrel = 1
        url = https://github.com/zopefoundation/zope.proxy
        arch = x86_64
        license = ZPL-2.1
        checkdepends = python-zope-security
        checkdepends = python-zope-testrunner
-       makedepends = git
        makedepends = python-build
        makedepends = python-installer
+       makedepends = python-setuptools
        makedepends = python-wheel
-       depends = python-setuptools
+       depends = glibc
+       depends = python
        depends = python-zope-interface
-       source = 
git+https://github.com/zopefoundation/zope.proxy.git#commit=8307de41648dd661708a2e4ad77be310822a1d82
-       sha512sums = SKIP
+       source = 
python-zope-proxy-5.3.tar.gz::https://github.com/zopefoundation/zope.proxy/archive/5.3.tar.gz
+       sha512sums = 
13bd9b73732747583e9385601896fdfd87f06b8ae27628ca179ab6df0846f04f9a7af785ed31083a930cbe837e465aa7254de9206110f49d3ea351df5f260e7a
 
 pkgname = python-zope-proxy


=====================================
PKGBUILD
=====================================
@@ -1,32 +1,46 @@
 # Maintainer: Felix Yan <[email protected]>
+# Maintainer: Carl Smedstad <[email protected]>
 
 pkgname=python-zope-proxy
-pkgver=5.2
-_commit=8307de41648dd661708a2e4ad77be310822a1d82
-pkgrel=2
+_pkgname=zope.proxy
+pkgver=5.3
+pkgrel=1
 pkgdesc="Generic Transparent Proxies"
 arch=('x86_64')
 url="https://github.com/zopefoundation/zope.proxy";
 license=('ZPL-2.1')
-depends=('python-setuptools' 'python-zope-interface')
-makedepends=('git' 'python-build' 'python-installer' 'python-wheel')
-checkdepends=('python-zope-security' 'python-zope-testrunner')
-source=("git+https://github.com/zopefoundation/zope.proxy.git#commit=$_commit";)
-sha512sums=('SKIP')
+depends=(
+  'glibc'
+  'python'
+  'python-zope-interface'
+)
+makedepends=(
+  'python-build'
+  'python-installer'
+  'python-setuptools'
+  'python-wheel'
+)
+checkdepends=(
+  'python-zope-security'
+  'python-zope-testrunner'
+)
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('13bd9b73732747583e9385601896fdfd87f06b8ae27628ca179ab6df0846f04f9a7af785ed31083a930cbe837e465aa7254de9206110f49d3ea351df5f260e7a')
 
 build() {
-  cd zope.proxy
+  cd $_pkgname-$pkgver
   python -m build --wheel --no-isolation
 }
 
 check() {
-  cd zope.proxy
+  cd $_pkgname-$pkgver
   local python_version=$(python -c 'import sys; print("".join(map(str, 
sys.version_info[:2])))')
-  PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-$python_version" python -m 
zope.testrunner --test-path=src
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-$python_version" \
+    zope-testrunner --test-path=src
 }
 
 package() {
-  cd zope.proxy
+  cd $_pkgname-$pkgver
   python -m installer --destdir="$pkgdir" dist/*.whl
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-zope-proxy/-/commit/f73ae6fc920a9066fd9afdf75f90bcde7c692634

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-zope-proxy/-/commit/f73ae6fc920a9066fd9afdf75f90bcde7c692634
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to