Felix Yan pushed to branch main at Arch Linux / Packaging / Packages /
python-zope-location
Commits:
93ed5cf2 by Felix Yan at 2026-11-21T16:12:56+00:00
upgpkg: 6.1-1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = python-zope-location
pkgdesc = Special objects that have a structural location
- pkgver = 6.0
- pkgrel = 3
+ pkgver = 6.1
+ pkgrel = 1
url = https://github.com/zopefoundation/zope.location
arch = any
license = ZPL-2.1
@@ -9,6 +9,7 @@ pkgbase = python-zope-location
checkdepends = python-zope-configuration
checkdepends = python-zope-copy
checkdepends = python-zope-testrunner
+ makedepends = git
makedepends = python-build
makedepends = python-installer
makedepends = python-setuptools
@@ -17,7 +18,7 @@ pkgbase = python-zope-location
depends = python-zope-interface
depends = python-zope-proxy
depends = python-zope-schema
- source =
https://github.com/zopefoundation/zope.location/archive/6.0/python-zope-location-6.0.tar.gz
- sha512sums =
5b97b0a2d048f26ac7bc6987551ccb299548931132ca752f2e08337e97928d915bf000aecd8e2d36634894185a3f0e2ba70c9dea497bdd51b6c7642f99472080
+ source = git+https://github.com/zopefoundation/zope.location.git#tag=6.1
+ sha512sums =
46cceb58b8c0c76225497ee90c9abb8e088a51c2e9c1e37516fb8ed49b14f4452343f5e5c5652203d179052fe2f5378d44877e804a7d247ef41b256590256caf
pkgname = python-zope-location
=====================================
PKGBUILD
=====================================
@@ -3,8 +3,8 @@
pkgname=python-zope-location
_pkgname=zope.location
-pkgver=6.0
-pkgrel=3
+pkgver=6.1
+pkgrel=1
pkgdesc="Special objects that have a structural location"
arch=('any')
url="https://github.com/zopefoundation/zope.location"
@@ -16,6 +16,7 @@ depends=(
'python-zope-schema'
)
makedepends=(
+ 'git'
'python-build'
'python-installer'
'python-setuptools'
@@ -27,22 +28,22 @@ checkdepends=(
'python-zope-copy'
'python-zope-testrunner'
)
-source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('5b97b0a2d048f26ac7bc6987551ccb299548931132ca752f2e08337e97928d915bf000aecd8e2d36634894185a3f0e2ba70c9dea497bdd51b6c7642f99472080')
+source=("git+$url.git#tag=$pkgver")
+sha512sums=('46cceb58b8c0c76225497ee90c9abb8e088a51c2e9c1e37516fb8ed49b14f4452343f5e5c5652203d179052fe2f5378d44877e804a7d247ef41b256590256caf')
build() {
- cd $_pkgname-$pkgver
+ cd $_pkgname
python -m build --wheel --no-isolation --skip-dependency-check
}
check() {
- cd $_pkgname-$pkgver
+ cd $_pkgname
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-$pkgver
+ cd $_pkgname
python -m installer --destdir="$pkgdir" dist/*.whl
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-zope-location/-/commit/93ed5cf296600c778fce68d96148f50ed2d2fffa
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-zope-location/-/commit/93ed5cf296600c778fce68d96148f50ed2d2fffa
You're receiving this email because of your account on gitlab.archlinux.org.
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications
| Help: https://gitlab.archlinux.org/help