Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
pyprof2calltree


Commits:
7c3fee0e by loqs at 2024-04-02T21:45:31+00:00
Change to a PEP 517 based workflow

- - - - -
ea54de6d by loqs at 2024-04-02T21:48:56+00:00
Change to SPDX license identifier

https://github.com/pwaller/pyprof2calltree/blob/v1.4.5/LICENSE
https://github.com/pwaller/pyprof2calltree/blob/v1.4.5/pyprof2calltree.py#L13-L29

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -8,9 +8,9 @@ pkgrel=8
 pkgdesc="Help visualize profiling data from cProfile with kcachegrind"
 url="https://pypi.python.org/pypi/pyprof2calltree/";
 arch=('any')
-license=('BSD')
+license=('MIT')
 depends=('python')
-makedepends=('python-setuptools')
+makedepends=('python-setuptools' 'python-build' 'python-installer' 
'python-wheel')
 
source=("https://pypi.io/packages/source/p/pyprof2calltree/pyprof2calltree-$pkgver.tar.gz";)
 
sha512sums=('9ad50a5c00881cbd8c361726b16fcb407c899c8dfe201769eddf10c3541531491f49cd5a08658b70d1e85e4c00d9a89801d600ab4f7d9906d357a0de82784f9e')
 
@@ -20,11 +20,11 @@ prepare() {
 
 build() {
   cd "$srcdir"/pyprof2calltree-$pkgver
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 package() {
   cd pyprof2calltree-$pkgver
-  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/pyprof2calltree/-/compare/bd826e2b662613b46e7bffa6f38f670d918341df...ea54de6d92c1fd427f1122d4fa26440d69bccc76

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/pyprof2calltree/-/compare/bd826e2b662613b46e7bffa6f38f670d918341df...ea54de6d92c1fd427f1122d4fa26440d69bccc76
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to