Skip to content

Commit 0d58680

Browse files
committed
python-dicomweb-client: update deps
1 parent 594fa52 commit 0d58680

File tree

5 files changed

+75
-7
lines changed

5 files changed

+75
-7
lines changed

archlinuxcn/python-dicomweb-client/PKGBUILD

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
pkgname=python-dicomweb-client
44
_pkgname=dicomweb-client
5-
pkgver=0.59.3
5+
pkgver=0.60.0
66
pkgrel=3
77
pkgdesc='Python client for DICOMweb RESTful services'
88
arch=(any)
@@ -17,22 +17,25 @@ depends=(
1717
)
1818

1919
makedepends=(
20+
git
2021
python-build
21-
# python-hatchling
22+
python-hatchling
2223
python-installer
24+
python-uv-dynamic-versioning
2325
python-wheel
2426
)
2527

26-
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/MGHComputationalPathology/dicomweb-client/archive/v${pkgver}.tar.gz")
27-
sha512sums=('a5be896d6d301a09ad814a96a657f719f49ae3292f18edf58b32438427e84cdb2f12616e8cacb9e85329d10a13f00aca404cbba55f10de6e84e78eb20103c017')
28+
source=("${_pkgname}::git+https://github.com/ImagingDataCommons/dicomweb-client.git#tag=v${pkgver}")
29+
sha512sums=('cdc2249f90b654f7707f3148746c954df90f712ff25e3f38d31ab0e979beb59d2f8c349c374cf08c66cc9826f535d8d291ccc2cbf21966f1a477ab574169fc2a')
30+
2831

2932
build() {
30-
cd "${_pkgname}-${pkgver}"
33+
cd "${_pkgname}"
3134
python -m build --wheel --no-isolation
3235
}
3336

3437
package() {
35-
cd "${_pkgname}-${pkgver}"
38+
cd "${_pkgname}"
3639
python -m installer --destdir="${pkgdir}" dist/*.whl
3740
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
3841
}

archlinuxcn/python-dicomweb-client/lilac.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ maintainers:
33

44
build_prefix: extra-x86_64
55

6+
repo_depends:
7+
- python-uv-dynamic-versioning
8+
69
update_on:
710
- source: github
811
github: MGHComputationalPathology/dicomweb-client
912
use_latest_release: true
1013
- alias: python
1114
# vim:set ts=2 sw=2 et:
12-
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Maintainer: Butui Hu <hot123tea123@gmail.com>
2+
3+
_pkgname=uv-dynamic-versioning
4+
pkgname=python-uv-dynamic-versioning
5+
pkgver=0.8.2
6+
pkgrel=1
7+
pkgdesc='PDynamic versioning based on VCS tags for uv/hatch project'
8+
arch=(any)
9+
url='https://github.com/ninoseki/uv-dynamic-versioning'
10+
license=(MIT)
11+
depends=(
12+
python-tomlkit
13+
python-pydantic
14+
python-jinja
15+
python-hatchling
16+
python-dunamai
17+
)
18+
19+
makedepends=(
20+
python-build
21+
python-installer
22+
python-wheel
23+
)
24+
25+
source=(
26+
"${_pkgname}-${pkgver}.tar.gz::https://github.com/ninoseki/uv-dynamic-versioning/archive/refs/tags/v${pkgver}.tar.gz"
27+
)
28+
sha512sums=('10e0d35f305c743cb3f5b1cd32268eaf9787002dc39a007ed794f677c6d6bfaf2b089426b935e54705be3fced8efe90c28df544ec7a486cc68056dac8573388c')
29+
30+
build() {
31+
cd "${_pkgname}-${pkgver}"
32+
python -m build --wheel --no-isolation
33+
}
34+
35+
package() {
36+
cd "${_pkgname}-${pkgver}"
37+
python -m installer --destdir="${pkgdir}" dist/*.whl
38+
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
39+
}
40+
# vim:set ts=2 sw=2 et:
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env python3
2+
3+
from lilaclib import *
4+
5+
6+
def pre_build():
7+
update_pkgver_and_pkgrel(_G.newver.lstrip("v"))
8+
9+
10+
def post_build():
11+
git_pkgbuild_commit()
12+
update_aur_repo()
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
maintainers:
2+
- github: hubutui
3+
4+
build_prefix: extra-x86_64
5+
6+
update_on:
7+
- source: github
8+
github: ninoseki/uv-dynamic-versioning
9+
use_latest_release: true
10+
- alias: python
11+
# vim:set ts=2 sw=2 et:

0 commit comments

Comments
 (0)