Date: Sunday, April 2, 2023 @ 15:50:05
  Author: dbermond
Revision: 1434197

upgpkg: python-breathe 4.35.0-1

Modified:
  python-breathe/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-02 15:17:58 UTC (rev 1434196)
+++ PKGBUILD    2023-04-02 15:50:05 UTC (rev 1434197)
@@ -3,33 +3,32 @@
 # Contributor: Simon Boulay <[email protected]>
 
 pkgname=python-breathe
-pkgver=4.34.0
+pkgver=4.35.0
 pkgrel=1
 pkgdesc="An extension to reStructuredText and Sphinx to be able to read and 
render Doxygen xml output"
 arch=('any')
 url="https://breathe.readthedocs.org/en/latest/";
 license=('BSD')
-depends=('python' 'python-sphinx' 'python-docutils')
-makedepends=('python-setuptools')
+depends=('python' 'python-docutils' 'python-sphinx')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
 checkdepends=('python-pytest')
 
source=("https://github.com/michaeljones/breathe/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz";
         
"${pkgname}-${pkgver}.tar.gz.sig"::"https://github.com/michaeljones/breathe/releases/download/v${pkgver}/breathe-${pkgver}.tar.gz.sig";)
-sha512sums=('7f3134575f1b8c4d7c96ebc735e33f656b5c6046de3fa2aee95d5e895fb33f0a83fb4b1c64dd69b9deca20b785868b42d6b1d5e39741500ff5f9d82bf3f130b4'
+sha512sums=('76e36fceb89c21e2c62471a37b856f8e7077f946ca8ebffdd068297d7d447ba4f42f8f9d91e231f7a181d7dba2cb8650479f35f8bef342184e5ccbd3dd951f91'
             'SKIP')
 validpgpkeys=('8AED58021FEACDD5F27BA0E6A72F627716EA9D96') # Melvin Vermeeren 
<[email protected]>
 
 build() {
   cd "breathe-${pkgver}"
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
   cd "breathe-${pkgver}"
-  PYTHONPATH="$PWD" make test
+  PYTHONPATH="$PWD" pytest
 }
 
 package_python-breathe() {
-  cd "breathe-${pkgver}"
-  python setup.py install --root="${pkgdir}" --skip-build --optimize=1
-  install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  python -m installer --destdir="$pkgdir" "breathe-${pkgver}/dist"/*.whl
+  install -D -m644 "breathe-${pkgver}/LICENSE" -t 
"${pkgdir}/usr/share/licenses/${pkgname}"
 }

Reply via email to