Date: Friday, December 30, 2022 @ 19:12:57
  Author: jelle
Revision: 1372496

upgpkg: stratis-cli 3.4.0-1

Modified:
  stratis-cli/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-30 18:53:24 UTC (rev 1372495)
+++ PKGBUILD    2022-12-30 19:12:57 UTC (rev 1372496)
@@ -2,7 +2,7 @@
 # Contributor: Dan Beste <[email protected]>
 
 pkgname='stratis-cli'
-pkgver=3.3.0
+pkgver=3.4.0
 _pkgver=$pkgver
 pkgrel=1
 pkgdesc='A CLI for the Stratis Project.'
@@ -10,12 +10,12 @@
 license=('Apache')
 url='https://stratis-storage.github.io/'
 depends=('python-dbus-client-gen' 'python-into-dbus' 'python-justbytes' 
'python-dateutil' 'python-packaging' 'python-psutil' 'python-wcwidth')
-makedepends=('dbus-glib' 'git' 'mpfr' 'python-argparse' 'dbus-python' 
'asciidoc' 'python-setuptools')
+makedepends=('dbus-glib' 'git' 'mpfr' 'python-argparse' 'dbus-python' 
'asciidoc' 'python-setuptools' 'python-build' 'python-installer' 'python-wheel')
 #checkdepends=('python-nose' 'python-hypothesis' 'stratisd')
 source=(
   
"${pkgname}-${_pkgver}.tar.gz::https://github.com/stratis-storage/stratis-cli/archive/v${_pkgver}.tar.gz";
 )
-sha256sums=('3614fb5dd6195cbc5b49d778c35d5e016edb86fa4ed75dd04274ae15f272393c')
+sha256sums=('99b65f60157cf26e21dd44b4b17bd011d2bf9febe33fca0352c1787e7389bf80')
 
 ### ignore tests because it requires root permission to access stratisd
 #check() {
@@ -27,11 +27,12 @@
 build () {
   cd "${pkgname}-${_pkgver}"
   a2x -f manpage docs/stratis.txt
+  python -m build --wheel --no-isolation
 }
 package() {
   cd "${pkgname}-${_pkgver}"
 
-  python setup.py install --root="${pkgdir}" --optimize=1
+  python -m installer --destdir="$pkgdir" dist/*.whl
 
   install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}"
        install -D -m644 "shell-completion/bash/stratis" 
"$pkgdir/usr/share/bash-completion/completions/stratis"

Reply via email to