Felix Yan pushed to branch main at Arch Linux / Packaging / Packages /
python-apispec
Commits:
ffaa0c77 by Felix Yan at 2026-03-04T00:45:22+08:00
upgpkg: 6.8.1-1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = python-apispec
pkgdesc = A pluggable API specification generator. Currently supports
the OpenAPI Specification.
- pkgver = 6.8.0
- pkgrel = 3
+ pkgver = 6.8.1
+ pkgrel = 1
url = https://github.com/marshmallow-code/apispec
arch = any
license = MIT
@@ -16,11 +16,12 @@ pkgbase = python-apispec
makedepends = python-flit-core
makedepends = python-installer
makedepends = python-wheel
+ makedepends = git
depends = python
depends = python-packaging
optdepends = python-marshmallow: for marshmallow support
optdepends = python-yaml: for yaml support
- source =
python-apispec-6.8.0.tar.gz::https://github.com/marshmallow-code/apispec/archive/6.8.0.tar.gz
- sha512sums =
bec209878a88298ec35c6e68b10f02409ec3d8fdcbbe6d50f99e3e47ff79c2884d0aef1911e713bf7de9f59bad2fd2788698922566bab5d091dd1920548966e8
+ source = git+https://github.com/marshmallow-code/apispec.git#tag=6.8.1
+ sha512sums =
a8b5d11684c94774e239dc1502252fcd8e451d3cae48666423fa3f1fee8ecc49769b7e2798b7b94d9fbca7f052a8f742c24ace32d0b9726ca2f7d1e11410f0d5
pkgname = python-apispec
=====================================
PKGBUILD
=====================================
@@ -1,8 +1,8 @@
# Maintainer: Felix Yan <[email protected]>
pkgname=python-apispec
-pkgver=6.8.0
-pkgrel=3
+pkgver=6.8.1
+pkgrel=1
pkgdesc="A pluggable API specification generator. Currently supports the
OpenAPI Specification."
url="https://github.com/marshmallow-code/apispec"
license=('MIT')
@@ -15,25 +15,25 @@ optdepends=(
'python-marshmallow: for marshmallow support'
'python-yaml: for yaml support'
)
-makedepends=('python-build' 'python-flit-core' 'python-installer'
'python-wheel')
+makedepends=('python-build' 'python-flit-core' 'python-installer'
'python-wheel' 'git')
checkdepends=('python-tornado' 'python-bottle' 'python-marshmallow'
'python-flask' 'python-yaml'
'python-openapi-spec-validator' 'python-pytest')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/marshmallow-code/apispec/archive/$pkgver.tar.gz")
-sha512sums=('bec209878a88298ec35c6e68b10f02409ec3d8fdcbbe6d50f99e3e47ff79c2884d0aef1911e713bf7de9f59bad2fd2788698922566bab5d091dd1920548966e8')
+source=("git+https://github.com/marshmallow-code/apispec.git#tag=$pkgver")
+sha512sums=('a8b5d11684c94774e239dc1502252fcd8e451d3cae48666423fa3f1fee8ecc49769b7e2798b7b94d9fbca7f052a8f742c24ace32d0b9726ca2f7d1e11410f0d5')
build() {
- cd apispec-$pkgver
+ cd apispec
python -m build --wheel --no-isolation
}
check() {
- cd apispec-$pkgver
+ cd apispec
PYTHONPATH=src pytest -k 'not
test_schema_instance_with_different_modifers_custom_resolver' .
}
package() {
- cd apispec-$pkgver
+ cd apispec
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-apispec/-/commit/ffaa0c771ebaef14634879b3f3ad5de04d90722a
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-apispec/-/commit/ffaa0c771ebaef14634879b3f3ad5de04d90722a
You're receiving this email because of your account on gitlab.archlinux.org.