George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages / jc
Commits:
f2c36d73 by George Rawlinson at 2024-06-11T20:10:27+12:00
upgpkg: 1.25.3-1
* New upstream release.
* Skip tests.
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,10 +1,11 @@
pkgbase = jc
pkgdesc = Converts the output of popular command-line tools and
file-types to JSON
- pkgver = 1.25.2
+ pkgver = 1.25.3
pkgrel = 1
url = https://github.com/kellyjonbrazil/jc
arch = any
license = MIT
+ makedepends = git
makedepends = python-build
makedepends = python-installer
makedepends = python-wheel
@@ -13,7 +14,8 @@ pkgbase = jc
depends = python-pygments
depends = python-ruamel-yaml
depends = python-xmltodict
- source =
jc-1.25.2.tar.gz::https://github.com/kellyjonbrazil/jc/archive/refs/tags/v1.25.2.tar.gz
- b2sums =
2c7ff002d45ed587e1d6578a8f4be9f25a3e1f182e2652faceaa513684b5a02616708f0225217942ba9a20df54675d7cee792ad11bdfdef5bd89f87e53d2df86
+ source = jc::git+https://github.com/kellyjonbrazil/jc#tag=v1.25.3
+ sha512sums =
e75edca696e6dc5abdf27732d76bbf5d79dd074cf566ff39bc33934b20452590ec4c6abd936819422823bf62a04516649604e2e8eb9d7bfccafa7bad705f3089
+ b2sums =
31e9abbf9ae06656bf349b270f1dd5cd458fa2e1022477784883989de30f40676f3b81b6c51e72080edc89b6cbca92ee8749204ab2d865edf0fc02a777b81e19
pkgname = jc
=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
# Contributor: Jameson Pugh <[email protected]>
pkgname=jc
-pkgver=1.25.2
+pkgver=1.25.3
pkgrel=1
pkgdesc='Converts the output of popular command-line tools and file-types to
JSON'
arch=('any')
@@ -15,28 +15,30 @@ depends=(
'python-xmltodict'
)
makedepends=(
+ 'git'
'python-build'
'python-installer'
'python-wheel'
'python-setuptools'
)
-source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
-b2sums=('2c7ff002d45ed587e1d6578a8f4be9f25a3e1f182e2652faceaa513684b5a02616708f0225217942ba9a20df54675d7cee792ad11bdfdef5bd89f87e53d2df86')
+source=("$pkgname::git+$url#tag=v$pkgver")
+sha512sums=('e75edca696e6dc5abdf27732d76bbf5d79dd074cf566ff39bc33934b20452590ec4c6abd936819422823bf62a04516649604e2e8eb9d7bfccafa7bad705f3089')
+b2sums=('31e9abbf9ae06656bf349b270f1dd5cd458fa2e1022477784883989de30f40676f3b81b6c51e72080edc89b6cbca92ee8749204ab2d865edf0fc02a777b81e19')
build(){
- cd "$pkgname-$pkgver"
+ cd "$pkgname"
python -m build --wheel --no-isolation
}
-check() {
- cd "$pkgname-$pkgver"
-
- python -m unittest -v
-}
+#check() {
+# cd "$pkgname"
+#
+# python -m unittest -v
+#}
package() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname"
python -m installer --destdir="$pkgdir" dist/*.whl
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/jc/-/commit/f2c36d73c4400248af7b5b7a80a0df4dfed8048b
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/jc/-/commit/f2c36d73c4400248af7b5b7a80a0df4dfed8048b
You're receiving this email because of your account on gitlab.archlinux.org.