Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / 
python-flask-marshmallow


Commits:
f9cec64f by Carl Smedstad at 2024-12-24T18:44:54+01:00
Add checksum

- - - - -
b84a49d4 by Carl Smedstad at 2024-12-24T18:50:35+01:00
Add testing & correct deps

- - - - -
39cb8545 by Carl Smedstad at 2024-12-24T18:51:09+01:00
upgpkg: 1.2.1-4: python-werkzeug 3.1 + python-flask 3.1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,17 +1,24 @@
 pkgbase = python-flask-marshmallow
        pkgdesc = Flask + marshmallow for beautiful APIs
        pkgver = 1.2.1
-       pkgrel = 3
+       pkgrel = 4
        url = https://flask-marshmallow.readthedocs.io/
        arch = any
        license = MIT
+       checkdepends = python-flask-sqlalchemy
+       checkdepends = python-marshmallow-sqlalchemy
+       checkdepends = python-pytest
        makedepends = git
        makedepends = python-build
        makedepends = python-flit-core
        makedepends = python-installer
+       depends = python
        depends = python-flask
        depends = python-marshmallow
+       depends = python-werkzeug
+       optdepends = python-flask-sqlalchemy: SQLAlchemy integration
+       optdepends = python-marshmallow-sqlalchemy: SQLAlchemy integration
        source = 
git+https://github.com/marshmallow-code/flask-marshmallow.git#tag=7ea089d21d39f1d4abc549a4e7c8622c872c152b
-       b2sums = SKIP
+       b2sums = 
a650a9002d8e6f862e38fc34d7072cb73043b3110c4eada5029b0f1a5f88278ae1a6abb84844235fd91c41c36d2901358173ca538609bb8d4d1d6258edef9a91
 
 pkgname = python-flask-marshmallow


=====================================
PKGBUILD
=====================================
@@ -2,14 +2,16 @@
 
 pkgname=python-flask-marshmallow
 pkgver=1.2.1
-pkgrel=3
+pkgrel=4
 pkgdesc='Flask + marshmallow for beautiful APIs'
 url=https://flask-marshmallow.readthedocs.io/
 arch=(any)
 license=(MIT)
 depends=(
+  python
   python-flask
   python-marshmallow
+  python-werkzeug
 )
 makedepends=(
   git
@@ -17,9 +19,18 @@ makedepends=(
   python-flit-core
   python-installer
 )
+checkdepends=(
+  python-flask-sqlalchemy
+  python-marshmallow-sqlalchemy
+  python-pytest
+)
+optdepends=(
+  'python-flask-sqlalchemy: SQLAlchemy integration'
+  'python-marshmallow-sqlalchemy: SQLAlchemy integration'
+)
 _tag=7ea089d21d39f1d4abc549a4e7c8622c872c152b
 
source=(git+https://github.com/marshmallow-code/flask-marshmallow.git#tag=${_tag})
-b2sums=(SKIP)
+b2sums=('a650a9002d8e6f862e38fc34d7072cb73043b3110c4eada5029b0f1a5f88278ae1a6abb84844235fd91c41c36d2901358173ca538609bb8d4d1d6258edef9a91')
 
 pkgver() {
   cd flask-marshmallow
@@ -31,6 +42,13 @@ build() {
   python -m build --wheel --no-isolation
 }
 
+check() {
+  cd flask-marshmallow
+  python -m venv --system-site-packages test-env
+  test-env/bin/python -m installer dist/*.whl
+  test-env/bin/python -m pytest
+}
+
 package() {
   python -m installer --destdir="${pkgdir}" flask-marshmallow/dist/*.whl
   install -Dm 644 flask-marshmallow/LICENSE -t 
"${pkgdir}"/usr/share/licenses/python-flask-marshmallow/



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-flask-marshmallow/-/compare/b2a40f8ea0deec575040a5816d4419d7b8081449...39cb85454ed8f89cb9e393d5105ee88f86bb06c8

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-flask-marshmallow/-/compare/b2a40f8ea0deec575040a5816d4419d7b8081449...39cb85454ed8f89cb9e393d5105ee88f86bb06c8
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to