George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages / 
python-genshi


Commits:
e8470dc2 by George Rawlinson at 2024-12-17T19:51:48+13:00
upgpkg: 0.7.9-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,17 +1,20 @@
 pkgbase = python-genshi
-       pkgdesc = Python toolkit for stream-based generation of output for the 
web.
-       pkgver = 0.7.7
-       pkgrel = 4
-       url = https://genshi.edgewall.org/
-       arch = any
-       license = BSD
+       pkgdesc = Toolkit for stream-based generation of output for the web
+       pkgver = 0.7.9
+       pkgrel = 1
+       url = https://genshi.edgewall.org
+       arch = x86_64
+       license = BSD-3-Clause
        checkdepends = python-pytest
+       makedepends = git
        makedepends = python-build
        makedepends = python-installer
        makedepends = python-setuptools
        makedepends = python-wheel
+       depends = python
        depends = python-six
-       source = 
python-genshi-0.7.7.tar.gz::https://github.com/edgewall/genshi/archive/0.7.7.tar.gz
-       sha256sums = 
53920c8ed890a3ce0e274845abe82d34736191ffc51300788d4cc71e4fcdd0eb
+       source = python-genshi::git+https://github.com/edgewall/genshi#tag=0.7.9
+       sha512sums = 
01e93add8eb378518c5f66881e0a5711b15889a19aeb10986137b5fbc0a2e1966c2f78bd3918369e1d526cd1ab617e1808c2db4193a69c2567ef8df7316ab462
+       b2sums = 
885b46a82548a93e39a2012f4bcc3a5c0cd9339e92e6e6a70759758cfae615c4e5a109ddec035318db8ce1b3fae8970bf0d075d7dfcc0a9ae2d0ad519f9c3605
 
 pkgname = python-genshi


=====================================
PKGBUILD
=====================================
@@ -1,33 +1,43 @@
-# Maintainer : Eli Schwartz <eschwa...@archlinux.org>
+# Maintainer: George Rawlinson <grawlin...@archlinux.org>
+# Contributor: Eli Schwartz <eschwa...@archlinux.org>
 
 pkgname=python-genshi
-pkgver=0.7.7
-pkgrel=4
-pkgdesc="Python toolkit for stream-based generation of output for the web."
-arch=('any')
-url="https://genshi.edgewall.org/";
-license=("BSD")
-depends=('python-six')
-makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
+pkgver=0.7.9
+pkgrel=1
+pkgdesc='Toolkit for stream-based generation of output for the web'
+arch=('x86_64')
+url='https://genshi.edgewall.org'
+license=('BSD-3-Clause')
+depends=('python' 'python-six')
+makedepends=(
+  'git'
+  'python-build'
+  'python-installer'
+  'python-setuptools'
+  'python-wheel'
+)
 checkdepends=('python-pytest')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/edgewall/genshi/archive/${pkgver}.tar.gz";)
-sha256sums=('53920c8ed890a3ce0e274845abe82d34736191ffc51300788d4cc71e4fcdd0eb')
+source=("$pkgname::git+https://github.com/edgewall/genshi#tag=$pkgver";)
+sha512sums=('01e93add8eb378518c5f66881e0a5711b15889a19aeb10986137b5fbc0a2e1966c2f78bd3918369e1d526cd1ab617e1808c2db4193a69c2567ef8df7316ab462')
+b2sums=('885b46a82548a93e39a2012f4bcc3a5c0cd9339e92e6e6a70759758cfae615c4e5a109ddec035318db8ce1b3fae8970bf0d075d7dfcc0a9ae2d0ad519f9c3605')
 
 build() {
-  cd genshi-${pkgver}
+  cd "$pkgname"
 
   python -m build --wheel --no-isolation
 }
 
 check() {
-  cd genshi-${pkgver}
+  cd "$pkgname"
 
   pytest -v
 }
 
 package() {
-  cd genshi-${pkgver}
+  cd "$pkgname"
 
-  python -m installer --destdir="${pkgdir}" dist/*.whl
-  install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" COPYING
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-genshi/-/commit/e8470dc2e2467f1889f3f742e12b59cbd17ffd90

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


Reply via email to