George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages /
python-jmespath
Commits:
b4606e47 by George Rawlinson at 2026-01-02T17:36:53+00:00
reuse: simplify conf
- - - - -
514e4701 by George Rawlinson at 2026-01-02T17:39:47+00:00
upgpkg: 1.0.1-7
* Update license to use SPDX expressions.
* Switch to PEP-517 compatible system.
* Switch checksums from sha512 to sha512+b2.
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- REUSE.toml
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,15 +1,20 @@
pkgbase = python-jmespath
pkgdesc = A query language for JSON
pkgver = 1.0.1
- pkgrel = 6
+ pkgrel = 7
url = https://github.com/jmespath/jmespath
arch = any
- license = Apache
+ license = Apache-2.0
checkdepends = python-hypothesis
checkdepends = python-pytest
+ makedepends = git
+ makedepends = python-build
+ makedepends = python-installer
makedepends = python-setuptools
+ makedepends = python-wheel
depends = python
- source =
https://github.com/jmespath/jmespath.py/archive/1.0.1/python-jmespath-1.0.1.tar.gz
- sha512sums =
c1676a4b7565d25c2948569005c503a0ca33908de6ed16536767da2c00c634e4ee345bcaf88a01bf6cd2996aaf722faaedff80061ab65ee77e5bc0f494f86a70
+ source =
python-jmespath::git+https://github.com/jmespath/jmespath#tag=1.0.1
+ sha512sums =
53d8c0d1678d8bcd31440e3d2041c92c7121c4876bf1a6e8de357ecda5e7d20e3aab2a91fb3f7bb73a42fc20ed9df2d90971e8164da781e0a93fad762347e53b
+ b2sums =
318b8a6170bc4de0168184b42d319276f39098ca93315adc44b3a915795eb108e7d11ea4732f0ed8b6e39ff5272f28267cce699a8e9e55425c521fa05398d077
pkgname = python-jmespath
=====================================
PKGBUILD
=====================================
@@ -5,29 +5,42 @@
pkgname=python-jmespath
pkgver=1.0.1
-pkgrel=6
+pkgrel=7
pkgdesc='A query language for JSON'
-arch=('any')
-url="https://github.com/jmespath/jmespath"
-license=('Apache')
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-hypothesis' 'python-pytest')
-source=("https://github.com/jmespath/jmespath.py/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('c1676a4b7565d25c2948569005c503a0ca33908de6ed16536767da2c00c634e4ee345bcaf88a01bf6cd2996aaf722faaedff80061ab65ee77e5bc0f494f86a70')
+arch=(any)
+url='https://github.com/jmespath/jmespath'
+license=(Apache-2.0)
+depends=(python)
+makedepends=(
+ git
+ python-build
+ python-installer
+ python-setuptools
+ python-wheel
+)
+checkdepends=(
+ python-hypothesis
+ python-pytest
+)
+source=("$pkgname::git+$url#tag=$pkgver")
+sha512sums=('53d8c0d1678d8bcd31440e3d2041c92c7121c4876bf1a6e8de357ecda5e7d20e3aab2a91fb3f7bb73a42fc20ed9df2d90971e8164da781e0a93fad762347e53b')
+b2sums=('318b8a6170bc4de0168184b42d319276f39098ca93315adc44b3a915795eb108e7d11ea4732f0ed8b6e39ff5272f28267cce699a8e9e55425c521fa05398d077')
build() {
- cd jmespath.py-$pkgver
- python setup.py build
+ cd "$pkgname"
+
+ python -m build --wheel --no-isolation
}
check() {
- cd jmespath.py-$pkgver
+ cd "$pkgname"
+
# Their tox.ini is misleading...
- pytest tests/
+ pytest -v tests/
}
package() {
- cd jmespath.py-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
+ cd "$pkgname"
+
+ python -m installer --destdir="$pkgdir" dist/*.whl
}
=====================================
REUSE.toml
=====================================
@@ -7,16 +7,6 @@ path = [
"keys/**",
".SRCINFO",
".nvchecker.toml",
- "*.install",
- "*.sysusers",
- "*.tmpfiles",
- "*.logrotate",
- "*.pam",
- "*.service",
- "*.socket",
- "*.timer",
- "*.desktop",
- "*.hook",
]
SPDX-FileCopyrightText = "Arch Linux contributors"
SPDX-License-Identifier = "0BSD"
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-jmespath/-/compare/e44409cfdf607bf0cd7fefcdca833c33e0382972...514e4701b369fa58ef1e917aca34c7aff446f9d1
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-jmespath/-/compare/e44409cfdf607bf0cd7fefcdca833c33e0382972...514e4701b369fa58ef1e917aca34c7aff446f9d1
You're receiving this email because of your account on gitlab.archlinux.org.