Felix Yan pushed to branch main at Arch Linux / Packaging / Packages /
python-zope-exceptions
Commits:
586897f0 by Felix Yan at 2024-08-18T20:25:33+03:00
upgpkg: 5.1-1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,16 +1,17 @@
pkgbase = python-zope-exceptions
pkgdesc = Generic exceptions and implementations for Zope
- pkgver = 5.0.1
- pkgrel = 3
+ pkgver = 5.1
+ pkgrel = 1
url = https://github.com/zopefoundation/zope.exceptions
arch = any
license = ZPL
checkdepends = python-zope-testrunner
+ makedepends = git
makedepends = python-setuptools
makedepends = python-zope-interface
depends = python-setuptools
depends = python-zope-interface
- source =
python-zope-exceptions-5.0.1.tar.gz::https://github.com/zopefoundation/zope.exceptions/archive/5.0.1.tar.gz
- sha512sums =
1b599b4e4cd3d3e3a9a1dd793d912d2ab860be4167f16cdbef092319fd46105401db8b16e04aacb18299da5d795fcbad488ce644f184b3336e8ffcf7f2306bc4
+ source =
git+https://github.com/zopefoundation/zope.exceptions.git#tag=5.1
+ sha512sums =
a4416eb47db0ec1e9d6a921bdf2aaa53b4ea7e764292c495fb3b7ad0cb6181b5ca14a81f7a08a8d47dd29e9c40280805956642bb9b54f4eb33e3c4c5a4c77b1c
pkgname = python-zope-exceptions
=====================================
PKGBUILD
=====================================
@@ -1,30 +1,30 @@
# Maintainer: Felix Yan <[email protected]>
pkgname=python-zope-exceptions
-pkgver=5.0.1
-pkgrel=3
+pkgver=5.1
+pkgrel=1
pkgdesc="Generic exceptions and implementations for Zope"
arch=('any')
url="https://github.com/zopefoundation/zope.exceptions"
license=('ZPL')
depends=('python-setuptools' 'python-zope-interface')
-makedepends=('python-setuptools' 'python-zope-interface')
+makedepends=('git' 'python-setuptools' 'python-zope-interface')
checkdepends=('python-zope-testrunner')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/zope.exceptions/archive/$pkgver.tar.gz")
-sha512sums=('1b599b4e4cd3d3e3a9a1dd793d912d2ab860be4167f16cdbef092319fd46105401db8b16e04aacb18299da5d795fcbad488ce644f184b3336e8ffcf7f2306bc4')
+source=("git+https://github.com/zopefoundation/zope.exceptions.git#tag=$pkgver")
+sha512sums=('a4416eb47db0ec1e9d6a921bdf2aaa53b4ea7e764292c495fb3b7ad0cb6181b5ca14a81f7a08a8d47dd29e9c40280805956642bb9b54f4eb33e3c4c5a4c77b1c')
build() {
- cd zope.exceptions-$pkgver
+ cd zope.exceptions
python setup.py build
}
check() {
- cd zope.exceptions-$pkgver
+ cd zope.exceptions
PYTHONPATH="$PWD/build/lib" zope-testrunner --test-path=src
}
package() {
- cd zope.exceptions-$pkgver
+ cd zope.exceptions
python setup.py install --root="$pkgdir" --optimize=1
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-zope-exceptions/-/commit/586897f0e01ff3a637ba3cafc5993a91f3299c3b
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-zope-exceptions/-/commit/586897f0e01ff3a637ba3cafc5993a91f3299c3b
You're receiving this email because of your account on gitlab.archlinux.org.