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


Commits:
1bb393d4 by loqs at 2024-03-31T16:36:22+00:00
Change to a PEP 517 based workflow

- - - - -
2fc98d9f by loqs at 2024-03-31T16:41:10+00:00
Change to SPDX license identifier

https://github.com/gcovr/gcovr/blob/7.0/LICENSE.txt

- - - - -
88af86c0 by loqs at 2024-03-31T16:43:48+00:00
Use unique source name

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -6,16 +6,16 @@ pkgrel=1
 pkgdesc='provides a utility for managing the use of the GNU gcov utility'
 arch=(any)
 url="https://gcovr.com/";
-license=(BSD)
+license=(BSD-3-Clause)
 depends=('python' 'python-jinja' 'python-lxml' 'gcc')
-makedepends=('python-setuptools')
+makedepends=('python-setuptools' 'python-build' 'python-installer' 
'python-wheel')
 checkdepends=('python-pytest')
-source=("https://github.com/gcovr/gcovr/archive/${pkgver}.tar.gz";)
+source=("https://github.com/gcovr/gcovr/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
 sha256sums=('03ebb2485d1b07cf6bf363b6e7191b3d9c1d492003fbf06f06a7e954166bf132')
 
 build() {
   cd ${pkgname}-${pkgver}
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -26,6 +26,6 @@ check() {
 
 package() {
   cd ${pkgname}-${pkgver}
-  python setup.py install --root="${pkgdir}"/ --optimize=1 --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -D -m644 LICENSE.txt 
"${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.txt
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gcovr/-/compare/8981a307dcc066f49a25e3272df7a63271da934e...88af86c093433fd92725539ef8890a8737926afb

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gcovr/-/compare/8981a307dcc066f49a25e3272df7a63271da934e...88af86c093433fd92725539ef8890a8737926afb
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to