Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
python-extras


Commits:
dba8cad9 by Felix Yan at 2026-02-03T11:57:27+08:00
upgpkg: 1.0.0-15

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,17 +1,18 @@
 pkgbase = python-extras
        pkgdesc = Useful extra bits for Python - things that should be in the 
standard library
        pkgver = 1.0.0
-       pkgrel = 14
+       pkgrel = 15
        url = https://github.com/testing-cabal/extras
        arch = any
        license = MIT
        checkdepends = python-testtools
+       makedepends = git
        makedepends = python-build
        makedepends = python-installer
        makedepends = python-setuptools
        makedepends = python-wheel
        depends = python
-       source = 
https://github.com/testing-cabal/extras/archive/1.0.0/python-extras-1.0.0.tar.gz
-       sha512sums = 
db264cf183dd0f63a411d03def51bb6ec8c5d47fe1e3e75cab4d65f2793b9458023a2387574968b095bf39cf7746428f7e7f190100dbdf2d99695f4c69875475
+       source = git+https://github.com/testing-cabal/extras.git#tag=1.0.0
+       sha512sums = 
bb877ea833216c90532ef6a2ff87faff4c92743765ba5658e59c386cf246484df2957c1d3e89a1c3515cca6e81567cd4fa71b29a46357c764b81bd569bae1358
 
 pkgname = python-extras


=====================================
PKGBUILD
=====================================
@@ -2,34 +2,34 @@
 
 pkgname=python-extras
 pkgver=1.0.0
-pkgrel=14
+pkgrel=15
 pkgdesc="Useful extra bits for Python - things that should be in the standard 
library"
 arch=('any')
 license=('MIT')
 url="https://github.com/testing-cabal/extras";
 depends=('python')
-makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
 checkdepends=('python-testtools')
-source=("https://github.com/testing-cabal/extras/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('db264cf183dd0f63a411d03def51bb6ec8c5d47fe1e3e75cab4d65f2793b9458023a2387574968b095bf39cf7746428f7e7f190100dbdf2d99695f4c69875475')
+source=("git+https://github.com/testing-cabal/extras.git#tag=$pkgver";)
+sha512sums=('bb877ea833216c90532ef6a2ff87faff4c92743765ba5658e59c386cf246484df2957c1d3e89a1c3515cca6e81567cd4fa71b29a46357c764b81bd569bae1358')
 
 prepare() {
-  cd extras-$pkgver
+  cd extras
   sed -i 's/test.assertEquals/test.assertEqual/' extras/tests/test_extras.py
 }
 
 build() {
-  cd extras-$pkgver
+  cd extras
   python -m build --wheel --no-isolation
 }
 
 check() {
-  cd extras-$pkgver
+  cd extras
   python -m testtools.run extras.tests.test_suite
 }
 
 package() {
-  cd extras-$pkgver
+  cd extras
   python -m installer --destdir="$pkgdir" dist/*.whl
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }



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

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


Reply via email to