File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
archlinuxcn/python-dicomweb-client Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -17,20 +17,23 @@ depends=(
17
17
)
18
18
19
19
makedepends=(
20
- ' python-setuptools'
20
+ python-build
21
+ # python-hatchling
22
+ python-installer
23
+ python-wheel
21
24
)
22
25
23
26
source=(" ${pkgname} -${pkgver} .tar.gz::https://github.com/MGHComputationalPathology/dicomweb-client/archive/v${pkgver} .tar.gz" )
24
- sha512sums=(' be919f00b9a2aa0c108c3760be2f8874c028494a67ee816b7ba50d1cfee55f8e091dccec67de4026a4e96a52bf77a1b2f650720eca726623d118b9bc85de9dcb ' )
27
+ sha512sums=(' a5be896d6d301a09ad814a96a657f719f49ae3292f18edf58b32438427e84cdb2f12616e8cacb9e85329d10a13f00aca404cbba55f10de6e84e78eb20103c017 ' )
25
28
26
29
build () {
27
30
cd " ${_pkgname} -${pkgver} "
28
- python setup.py build
31
+ python -m build --wheel --no-isolation
29
32
}
30
33
31
34
package () {
32
35
cd " ${_pkgname} -${pkgver} "
33
- python setup.py install --root =" ${pkgdir} " --optimize=1 --skip-build
36
+ python -m installer --destdir =" ${pkgdir} " dist/ * .whl
34
37
install -Dm644 LICENSE -t " ${pkgdir} /usr/share/licenses/${pkgname} "
35
38
}
36
39
# vim:set ts=2 sw=2 et:
You can’t perform that action at this time.
0 commit comments