George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages /
python-genshi
Commits:
89e7e582 by George Rawlinson at 2025-12-02T06:24:58+00:00
reuse: simplify conf
- - - - -
d146b421 by George Rawlinson at 2025-12-09T22:49:54+00:00
upgpkg: 0.7.10-1
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- REUSE.toml
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
pkgbase = python-genshi
pkgdesc = Toolkit for stream-based generation of output for the web
- pkgver = 0.7.9
+ pkgver = 0.7.10
pkgrel = 1
url = https://genshi.edgewall.org
arch = x86_64
@@ -12,9 +12,8 @@ pkgbase = python-genshi
makedepends = python-setuptools
makedepends = python-wheel
depends = python
- depends = python-six
- source = python-genshi::git+https://github.com/edgewall/genshi#tag=0.7.9
- sha512sums =
01e93add8eb378518c5f66881e0a5711b15889a19aeb10986137b5fbc0a2e1966c2f78bd3918369e1d526cd1ab617e1808c2db4193a69c2567ef8df7316ab462
- b2sums =
885b46a82548a93e39a2012f4bcc3a5c0cd9339e92e6e6a70759758cfae615c4e5a109ddec035318db8ce1b3fae8970bf0d075d7dfcc0a9ae2d0ad519f9c3605
+ source =
python-genshi::git+https://github.com/edgewall/genshi#tag=0.7.10
+ sha512sums =
816872a2c59ed40540b3845289f7c49708439a4bfb89d8bbaed7e582da5a2c4c6966fb57c271bc97a56bab0669112066a4d333fc989401600f44ad30eaf98d49
+ b2sums =
7d37269f9e3a8c722692a5bb7ceaed850df61b2292136db8028a1dbaf6dfbb9b6750daeaa59375461be4122229445dbf553c1c6c5e9a17de97470c9d50ad231f
pkgname = python-genshi
=====================================
PKGBUILD
=====================================
@@ -2,24 +2,24 @@
# Contributor: Eli Schwartz <[email protected]>
pkgname=python-genshi
-pkgver=0.7.9
+pkgver=0.7.10
pkgrel=1
pkgdesc='Toolkit for stream-based generation of output for the web'
-arch=('x86_64')
+arch=(x86_64)
url='https://genshi.edgewall.org'
-license=('BSD-3-Clause')
-depends=('python' 'python-six')
+license=(BSD-3-Clause)
+depends=(python)
makedepends=(
- 'git'
- 'python-build'
- 'python-installer'
- 'python-setuptools'
- 'python-wheel'
+ git
+ python-build
+ python-installer
+ python-setuptools
+ python-wheel
)
-checkdepends=('python-pytest')
+checkdepends=(python-pytest)
source=("$pkgname::git+https://github.com/edgewall/genshi#tag=$pkgver")
-sha512sums=('01e93add8eb378518c5f66881e0a5711b15889a19aeb10986137b5fbc0a2e1966c2f78bd3918369e1d526cd1ab617e1808c2db4193a69c2567ef8df7316ab462')
-b2sums=('885b46a82548a93e39a2012f4bcc3a5c0cd9339e92e6e6a70759758cfae615c4e5a109ddec035318db8ce1b3fae8970bf0d075d7dfcc0a9ae2d0ad519f9c3605')
+sha512sums=('816872a2c59ed40540b3845289f7c49708439a4bfb89d8bbaed7e582da5a2c4c6966fb57c271bc97a56bab0669112066a4d333fc989401600f44ad30eaf98d49')
+b2sums=('7d37269f9e3a8c722692a5bb7ceaed850df61b2292136db8028a1dbaf6dfbb9b6750daeaa59375461be4122229445dbf553c1c6c5e9a17de97470c9d50ad231f')
build() {
cd "$pkgname"
@@ -30,7 +30,13 @@ build() {
check() {
cd "$pkgname"
- pytest -v
+ # install to temporary directory
+ python -m installer --destdir="$PWD/tmp_install" dist/*.whl
+ local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
+ export PYTHONPATH="$PWD/tmp_install$site_packages"
+
+ # skip doctests
+ pytest -v --import-mode=importlib -c /dev/null
}
package() {
=====================================
REUSE.toml
=====================================
@@ -7,16 +7,6 @@ path = [
"keys/**",
".SRCINFO",
".nvchecker.toml",
- "*.install",
- "*.sysusers",
- "*.tmpfiles",
- "*.logrotate",
- "*.pam",
- "*.service",
- "*.socket",
- "*.timer",
- "*.desktop",
- "*.hook",
]
SPDX-FileCopyrightText = "Arch Linux contributors"
SPDX-License-Identifier = "0BSD"
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-genshi/-/compare/1fad388bc7a7e3fcdccae7c213d5db5fba50775f...d146b42171976267e28357e44ad238a03ea3bd75
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-genshi/-/compare/1fad388bc7a7e3fcdccae7c213d5db5fba50775f...d146b42171976267e28357e44ad238a03ea3bd75
You're receiving this email because of your account on gitlab.archlinux.org.