Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / 
fusesoc


Commits:
64301fa2 by loqs at 2024-04-09T13:11:47+01:00
Change to a PEP 517 based workflow

- - - - -
ac29da3c by loqs at 2024-04-09T13:11:48+01:00
Change to SPDX license identifier

https://github.com/olofk/fusesoc/blob/2.3/LICENSE

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -6,9 +6,9 @@ pkgrel=2
 pkgdesc='Package manager and build abstraction tool for FPGA/ASIC development'
 arch=('any')
 url='https://github.com/olofk/fusesoc'
-license=('BSD')
+license=('BSD-2-Clause')
 depends=('python' 'python-edalize' 'python-pyparsing' 'python-yaml' 
'python-simplesat' 'python-fastjsonschema')
-makedepends=('python-setuptools-scm')
+makedepends=('python-setuptools-scm' 'python-setuptools' 'python-build' 
'python-installer' 'python-wheel')
 optdepends=('iverilog: run simulation/testbenchs'
             'svn: opencores provider')
 source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
@@ -19,13 +19,13 @@ export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
 build() {
   cd $pkgname-$pkgver
 
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 package() {
   cd $pkgname-$pkgver
 
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
 
   install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/fusesoc/-/compare/61afcd53bb66dc9ee615d0fc4a68951989ec0776...ac29da3c5ce25478097b0e0977e53363c006a7f4

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/fusesoc/-/compare/61afcd53bb66dc9ee615d0fc4a68951989ec0776...ac29da3c5ce25478097b0e0977e53363c006a7f4
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to