Daniel M. Capella pushed to branch main at Arch Linux / Packaging / Packages / 
python-ioflo


Commits:
ff52cf3d by Rafael Fontenelle at 2024-03-01T18:35:06-05:00
Remove pytest-runner, use pypa build and installer

- - - - -
6d7f18ce by Daniel M. Capella at 2024-03-01T18:36:52-05:00
Add SRCINFO

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,19 @@
+pkgbase = python-ioflo
+       pkgdesc = Flo based programming interface in python
+       pkgver = 2.0.2
+       pkgrel = 6
+       url = https://ioflo.com
+       arch = any
+       license = Apache-2.0
+       checkdepends = python-pytest
+       makedepends = python-setuptools-git
+       makedepends = python-build
+       makedepends = python-installer
+       makedepends = python-wheel
+       depends = python
+       source = 
python-ioflo-2.0.2.tar.gz::https://github.com/ioflo/ioflo/archive/v2.0.2.tar.gz
+       source = python310.patch
+       sha512sums = 
7485924ce329889afb1c3e0555b54fdbfb11eafce48fb0ac15bacd229fea512c44fcc118bbc4368ebc7c770d62129ee6b895b982f73a269de7131ea37daac02b
+       sha512sums = 
b588703d653848401fb8e13be949f6de4ff41143eae669ccdcae8edaaac1883be0a684112dacfdf11fa3f2842dbde0dce2b47a7680cb87761d30ffa4018569e8
+
+pkgname = python-ioflo


=====================================
PKGBUILD
=====================================
@@ -8,10 +8,10 @@ pkgrel=6
 pkgdesc='Flo based programming interface in python'
 arch=('any')
 url='https://ioflo.com'
-license=('Apache')
+license=('Apache-2.0')
 depends=('python')
-makedepends=('python-setuptools-git')
-checkdepends=('python-pytest-runner')
+makedepends=('python-setuptools-git' 'python-build' 'python-installer' 
'python-wheel')
+checkdepends=('python-pytest')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/ioflo/ioflo/archive/v$pkgver.tar.gz";
         python310.patch)
 
sha512sums=('7485924ce329889afb1c3e0555b54fdbfb11eafce48fb0ac15bacd229fea512c44fcc118bbc4368ebc7c770d62129ee6b895b982f73a269de7131ea37daac02b'
@@ -26,7 +26,7 @@ prepare() {
 
 build() {
   cd ioflo-$pkgver
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -36,5 +36,5 @@ check() {
 
 package() {
   cd ioflo-$pkgver
-  python setup.py install --root="$pkgdir" -O1
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-ioflo/-/compare/1d09846ab74c2ab92a601ffae8680d05acf3ded1...6d7f18ce44a4e2179ce4705a158927a7400a3616

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-ioflo/-/compare/1d09846ab74c2ab92a601ffae8680d05acf3ded1...6d7f18ce44a4e2179ce4705a158927a7400a3616
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to