Felix Yan pushed to branch main at Arch Linux / Packaging / Packages /
python-jsonlines
Commits:
678f4855 by Felix Yan at 2026-03-04T05:16:27+08:00
upgpkg: 4.0.0-6
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,17 +1,18 @@
pkgbase = python-jsonlines
pkgdesc = Library with helpers for the jsonlines file format
pkgver = 4.0.0
- pkgrel = 5
+ pkgrel = 6
url = https://github.com/wbolster/jsonlines
arch = any
license = BSD-3-Clause
checkdepends = python-pytest
+ makedepends = git
makedepends = python-build
makedepends = python-installer
makedepends = python-setuptools
makedepends = python-wheel
depends = python-attrs
- source =
https://github.com/wbolster/jsonlines/archive/4.0.0/python-jsonlines-4.0.0.tar.gz
- sha512sums =
d197163b4875dd5d30afdd8e5b9415d8faa3af2787bbecbc7a7f79aa28e775b2e119bffdf61699e132552af19ff97d6412fe83d328e4022acd920456addeb275
+ source = git+https://github.com/wbolster/jsonlines.git#tag=4.0.0
+ sha512sums =
4c3324884d0bf63e7da988ca93061cd98d0ef0f34781dff6eb5d0de57d31760d03e8f9239cbd2cb348a881a89826b68a43712a68bac03f23433e60a16cbb171c
pkgname = python-jsonlines
=====================================
PKGBUILD
=====================================
@@ -2,29 +2,29 @@
pkgname=python-jsonlines
pkgver=4.0.0
-pkgrel=5
+pkgrel=6
pkgdesc="Library with helpers for the jsonlines file format"
url="https://github.com/wbolster/jsonlines"
license=('BSD-3-Clause')
arch=('any')
depends=('python-attrs')
-makedepends=('python-build' 'python-installer' 'python-setuptools'
'python-wheel')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools'
'python-wheel')
checkdepends=('python-pytest')
-source=("https://github.com/wbolster/jsonlines/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('d197163b4875dd5d30afdd8e5b9415d8faa3af2787bbecbc7a7f79aa28e775b2e119bffdf61699e132552af19ff97d6412fe83d328e4022acd920456addeb275')
+source=("git+https://github.com/wbolster/jsonlines.git#tag=$pkgver")
+sha512sums=('4c3324884d0bf63e7da988ca93061cd98d0ef0f34781dff6eb5d0de57d31760d03e8f9239cbd2cb348a881a89826b68a43712a68bac03f23433e60a16cbb171c')
build() {
- cd jsonlines-$pkgver
+ cd jsonlines
python -m build --wheel --no-isolation
}
check() {
- cd jsonlines-$pkgver
+ cd jsonlines
python -m pytest
}
package() {
- cd jsonlines-$pkgver
+ cd jsonlines
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE.rst -t "$pkgdir"/usr/share/licenses/$pkgname/
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-jsonlines/-/commit/678f48551dd96744bfb1a098f95fa65b3e197778
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-jsonlines/-/commit/678f48551dd96744bfb1a098f95fa65b3e197778
You're receiving this email because of your account on gitlab.archlinux.org.