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


Commits:
a6d1e017 by loqs at 2026-01-29T21:20:17+00:00
SPDX license identifier

https://gitlab.com/betamax/serializers/-/blob/0.2.1/LICENSE

- - - - -
e804dae0 by loqs at 2026-01-29T21:21:39+00:00
Use PEP 517 for building

Related https://archlinux.org/todo/use-pep-517-for-building-if-supported/.

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -4,8 +4,11 @@ pkgbase = python-betamax-serializers
        pkgrel = 11
        url = https://gitlab.com/betamax/serializers
        arch = any
-       license = Apache
+       license = Apache-2.0
+       makedepends = python-build
+       makedepends = python-installer
        makedepends = python-setuptools
+       makedepends = python-wheel
        depends = python-betamax
        source = 
https://gitlab.com/betamax/serializers/-/archive/0.2.1/serializers-0.2.1.tar.bz2
        sha256sums = 
62f3e00393a00ce52895253914261297ff14fdef9840f9cc9d7eb7388c405d4f


=====================================
PKGBUILD
=====================================
@@ -5,14 +5,19 @@ pkgver=0.2.1
 pkgrel=11
 pkgdesc="A set of third-party serializers for Betamax"
 arch=('any')
-license=('Apache')
+license=('Apache-2.0')
 url='https://gitlab.com/betamax/serializers'
 depends=('python-betamax')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
 
source=("https://gitlab.com/betamax/serializers/-/archive/$pkgver/serializers-$pkgver.tar.bz2";)
 sha256sums=('62f3e00393a00ce52895253914261297ff14fdef9840f9cc9d7eb7388c405d4f')
 
+build() {
+  cd serializers-$pkgver
+  python -m build --wheel --no-isolation
+}
+
 package() {
   cd serializers-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-betamax-serializers/-/compare/8aee9c1366413cfecc1477ff6d63861536445657...e804dae04b72e3e3cc8de3abd08b19e48c6a15cf

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-betamax-serializers/-/compare/8aee9c1366413cfecc1477ff6d63861536445657...e804dae04b72e3e3cc8de3abd08b19e48c6a15cf
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to