Date: Wednesday, March 1, 2023 @ 08:01:09
  Author: felixonmars
Revision: 1405776

upgpkg: python-dict2xml 1.7.3-1

Modified:
  python-dict2xml/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-01 08:01:02 UTC (rev 1405775)
+++ PKGBUILD    2023-03-01 08:01:09 UTC (rev 1405776)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan <[email protected]>
 
 pkgname=python-dict2xml
-pkgver=1.7.2
+pkgver=1.7.3
 pkgrel=1
 pkgdesc="Small utility to convert a python dictionary into an XML string"
 arch=('any')
@@ -8,14 +8,14 @@
 url="https://github.com/delfick/python-dict2xml";
 license=('MIT')
 depends=('python')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-hatchling')
 checkdepends=('python-pytest' 'python-noseofyeti')
 
source=("https://github.com/delfick/python-dict2xml/archive/release-$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('5da174aaa005a51177335d956977e9b82be55f343f1209515346bdf6ec27fe2909796928995f261aa88f1bb4ff0ec62facedf22febab4562ab868e0dd71ad7ab')
+sha512sums=('5520c10fe9965c507684d282adbf31a80604c0f043d9cfe912a235779536af2a671d34570a0fea31d16b686c679ceca54a3641f727a4ba4f2036d6c5784df433')
 
 build() {
   cd python-dict2xml-release-$pkgver
-  python setup.py build
+  python -m build -nw
 }
 
 check() {
@@ -25,7 +25,7 @@
 
 package() {
   cd python-dict2xml-release-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
+  python -m installer -d "$pkgdir" dist/*.whl
 
   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }

Reply via email to