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


Commits:
2193c2b8 by Felix Yan at 2026-01-25T15:08:40+08:00
upgpkg: 3.21.0-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,20 +1,19 @@
 pkgbase = python-marshmallow
        pkgdesc = A lightweight library for converting complex datatypes to and 
from native Python datatypes.
-       pkgver = 3.20.2
-       pkgrel = 5
+       pkgver = 3.21.0
+       pkgrel = 1
        url = https://github.com/marshmallow-code/marshmallow
        arch = any
        license = MIT
        checkdepends = python-pytest
        checkdepends = python-simplejson
        checkdepends = python-pytz
-       checkdepends = python-dateutil
-       makedepends = python-setuptools
+       makedepends = git
        makedepends = python-build
        makedepends = python-installer
-       makedepends = python-wheel
+       makedepends = python-flit-core
        depends = python-packaging
-       source = 
python-marshmallow-3.20.2.tar.gz::https://github.com/marshmallow-code/marshmallow/archive/3.20.2.tar.gz
-       sha512sums = 
8305693405a976c53333b0c6ef074a12af4736f9620ca37c7c2ec6318fac2b19086426344ce8c2f515e95becdba8b2bb1c20aca5a9dffb4145cb27fee00dc080
+       source = 
git+https://github.com/marshmallow-code/marshmallow.git#tag=3.21.0
+       sha512sums = 
bb6629f6473280f152fe2a2a194765326a011df3b8a76035c668387f51a54fe84700c13cb66852662020107a7dd4a49ef9ec69f9dfd57bb406e1f16e58511944
 
 pkgname = python-marshmallow


=====================================
PKGBUILD
=====================================
@@ -1,30 +1,32 @@
 # Maintainer: Felix Yan <[email protected]>
 
 pkgname=python-marshmallow
-pkgver=3.20.2
-pkgrel=5
+pkgver=3.21.0
+pkgrel=1
 pkgdesc="A lightweight library for converting complex datatypes to and from 
native Python datatypes."
 url="https://github.com/marshmallow-code/marshmallow";
 license=('MIT')
 arch=('any')
 depends=('python-packaging')
-makedepends=('python-setuptools' 'python-build' 'python-installer' 
'python-wheel')
-checkdepends=('python-pytest' 'python-simplejson' 'python-pytz' 
'python-dateutil')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha512sums=('8305693405a976c53333b0c6ef074a12af4736f9620ca37c7c2ec6318fac2b19086426344ce8c2f515e95becdba8b2bb1c20aca5a9dffb4145cb27fee00dc080')
+makedepends=('git' 'python-build' 'python-installer' 'python-flit-core')
+checkdepends=('python-pytest' 'python-simplejson' 'python-pytz')
+source=("git+https://github.com/marshmallow-code/marshmallow.git#tag=$pkgver";)
+sha512sums=('bb6629f6473280f152fe2a2a194765326a011df3b8a76035c668387f51a54fe84700c13cb66852662020107a7dd4a49ef9ec69f9dfd57bb406e1f16e58511944')
 
 build() {
-  cd marshmallow-$pkgver
+  cd marshmallow
   python -m build --wheel --no-isolation
 }
 
 check() {
-  cd marshmallow-$pkgver
-  PYTHONPATH=src pytest
+  cd marshmallow
+  python -m venv --system-site-packages .testenv
+  .testenv/bin/python -m installer dist/*.whl
+  .testenv/bin/python -m pytest
 }
 
 package() {
-  cd marshmallow-$pkgver
+  cd marshmallow
   python -m installer --destdir="$pkgdir" dist/*.whl
-  install -Dm644 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-marshmallow/-/commit/2193c2b809d725996a7071db9bec42e36c31d937

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


Reply via email to