Date: Monday, February 20, 2023 @ 18:33:29
  Author: foutrelis
Revision: 1403138

upgpkg: python-sphinxcontrib-spelling 8.0.0-1

Modified:
  python-sphinxcontrib-spelling/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-20 17:57:17 UTC (rev 1403137)
+++ PKGBUILD    2023-02-20 18:33:29 UTC (rev 1403138)
@@ -2,7 +2,7 @@
 
 _name=sphinxcontrib-spelling
 pkgname=python-$_name
-pkgver=7.7.0
+pkgver=8.0.0
 pkgrel=1
 pkgdesc="Spelling checker for Sphinx"
 arch=('any')
@@ -9,18 +9,19 @@
 url="https://sphinxcontrib-spelling.readthedocs.io/";
 license=('BSD')
 depends=('python-sphinx' 'python-pyenchant')
-makedepends=('python-setuptools' 'python-pbr')
+makedepends=('python-build' 'python-installer' 'python-wheel'
+             'python-setuptools' 'python-setuptools-scm')
 
source=(https://files.pythonhosted.org/packages/source/s/$_name/$_name-$pkgver.tar.gz)
-sha256sums=('56561c3f6a155b0946914e4de988729859315729dc181b5e4dc8a68fe78de35a')
+sha256sums=('199d0a16902ad80c387c2966dc9eb10f565b1fb15ccce17210402db7c2443e5c')
 
 build() {
   cd $_name-$pkgver
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 package() {
   cd $_name-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
 }
 

Reply via email to