George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages /
python-multipart
Commits:
c953584f by George Rawlinson at 2026-07-19T09:12:32+00:00
upgpkg: 2.0.0-1
- - - - -
4 changed files:
- .SRCINFO
- PKGBUILD
- REUSE.toml
- + remove-version-constraints.patch
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,17 +1,21 @@
pkgbase = python-multipart
pkgdesc = Parser for multipart/form-data
- pkgver = 1.3.1
+ pkgver = 2.0.0
pkgrel = 1
url = https://github.com/defnull/multipart
arch = any
license = MIT
+ checkdepends = python-pytest
makedepends = git
makedepends = python-build
makedepends = python-installer
makedepends = python-flit-core
depends = python
- source =
python-multipart::git+https://github.com/defnull/multipart#tag=v1.3.1
- sha512sums =
6d14babaa210a243d796be9ae7d3c8e0a3207575ff33e1e569d76a9cf3d46d39e50578e9ac877792c95752b6557cce6c739514eedcc46a5f2130942c0da670a1
- b2sums =
2f74e5306e2c1d2932e72dbf62659e7318698f6c65fd186b17d312cee40a408f5774f5fd05c13dc485c28d4fd672e50b828aeab6b89852c8495c163e0d9e986a
+ source =
python-multipart::git+https://github.com/defnull/multipart#tag=v2.0.0
+ source = remove-version-constraints.patch
+ sha512sums =
550c1f108b1e8a253d9b70dcaa5ba635d0f2cd4f893f26c3312589dc2114c63254dc542302cf542b1b1cd225e4e8fa3509449825c210924f3e1b49321646f00a
+ sha512sums =
07b8c04a06554ec7cb34a993655eb3b06807c4dbaf454fd211599a648d9e9a11efd5a3d5075182d294f8f94c73daf8c2baa5b65dd4ed40bc7a985d2e2a740d5e
+ b2sums =
95bd6367d80d8abba055f29d82c977fc5a592c81766fa7dbcbc5ddc075965844174511a20a308b768378ab2fbc3f4d2c20b0fa0d9737e355bcf47a9651f7fd03
+ b2sums =
834aed3057f544e64f7fe927fc56ac093cc0c20668e701c3fbdae2369ae5e88bf00a58ce0d1d022471aabbceeda0d81723535c332d9b7ebe59f7bf253e7a90e0
pkgname = python-multipart
=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
# Maintainer: George Rawlinson <[email protected]>
pkgname=python-multipart
-pkgver=1.3.1
+pkgver=2.0.0
pkgrel=1
pkgdesc='Parser for multipart/form-data'
arch=(any)
@@ -15,9 +15,21 @@ makedepends=(
python-installer
python-flit-core
)
-source=("$pkgname::git+$url#tag=v$pkgver")
-sha512sums=('6d14babaa210a243d796be9ae7d3c8e0a3207575ff33e1e569d76a9cf3d46d39e50578e9ac877792c95752b6557cce6c739514eedcc46a5f2130942c0da670a1')
-b2sums=('2f74e5306e2c1d2932e72dbf62659e7318698f6c65fd186b17d312cee40a408f5774f5fd05c13dc485c28d4fd672e50b828aeab6b89852c8495c163e0d9e986a')
+checkdepends=(python-pytest)
+source=(
+ "$pkgname::git+$url#tag=v$pkgver"
+ remove-version-constraints.patch
+)
+sha512sums=('550c1f108b1e8a253d9b70dcaa5ba635d0f2cd4f893f26c3312589dc2114c63254dc542302cf542b1b1cd225e4e8fa3509449825c210924f3e1b49321646f00a'
+
'07b8c04a06554ec7cb34a993655eb3b06807c4dbaf454fd211599a648d9e9a11efd5a3d5075182d294f8f94c73daf8c2baa5b65dd4ed40bc7a985d2e2a740d5e')
+b2sums=('95bd6367d80d8abba055f29d82c977fc5a592c81766fa7dbcbc5ddc075965844174511a20a308b768378ab2fbc3f4d2c20b0fa0d9737e355bcf47a9651f7fd03'
+
'834aed3057f544e64f7fe927fc56ac093cc0c20668e701c3fbdae2369ae5e88bf00a58ce0d1d022471aabbceeda0d81723535c332d9b7ebe59f7bf253e7a90e0')
+
+prepare() {
+ cd "$pkgname"
+
+ patch -p1 -i "$srcdir/remove-version-constraints.patch"
+}
build() {
cd "$pkgname"
@@ -25,6 +37,16 @@ build() {
python -m build --wheel --no-isolation
}
+check() {
+ cd "$pkgname"
+
+ local pytest_options=(
+ -vv
+ )
+
+ pytest "${pytest_options[@]}"
+}
+
package() {
cd "$pkgname"
=====================================
REUSE.toml
=====================================
@@ -5,6 +5,7 @@ path = [
"PKGBUILD",
".SRCINFO",
".nvchecker.toml",
+ "remove-version-constraints.patch",
]
SPDX-FileCopyrightText = "Arch Linux contributors"
SPDX-License-Identifier = "0BSD"
=====================================
remove-version-constraints.patch
=====================================
@@ -0,0 +1,9 @@
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["flit_core >=3.9,<4"]
++requires = ["flit_core"]
+ build-backend = "flit_core.buildapi"
+
+ [project]
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-multipart/-/commit/c953584f7277d01774d16ddbc3c578e5abf12550
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-multipart/-/commit/c953584f7277d01774d16ddbc3c578e5abf12550
You're receiving this email because of your account on gitlab.archlinux.org.
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications
| Help: https://gitlab.archlinux.org/help