Date: Monday, February 20, 2023 @ 18:33:34
Author: foutrelis
Revision: 1403139
archrelease: copy trunk to community-any
Added:
python-sphinxcontrib-spelling/repos/community-any/PKGBUILD
(from rev 1403138, python-sphinxcontrib-spelling/trunk/PKGBUILD)
Deleted:
python-sphinxcontrib-spelling/repos/community-any/PKGBUILD
----------+
PKGBUILD | 55 ++++++++++++++++++++++++++++---------------------------
1 file changed, 28 insertions(+), 27 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-02-20 18:33:29 UTC (rev 1403138)
+++ PKGBUILD 2023-02-20 18:33:34 UTC (rev 1403139)
@@ -1,27 +0,0 @@
-# Maintainer: Evangelos Foutras <[email protected]>
-
-_name=sphinxcontrib-spelling
-pkgname=python-$_name
-pkgver=7.7.0
-pkgrel=1
-pkgdesc="Spelling checker for Sphinx"
-arch=('any')
-url="https://sphinxcontrib-spelling.readthedocs.io/"
-license=('BSD')
-depends=('python-sphinx' 'python-pyenchant')
-makedepends=('python-setuptools' 'python-pbr')
-source=(https://files.pythonhosted.org/packages/source/s/$_name/$_name-$pkgver.tar.gz)
-sha256sums=('56561c3f6a155b0946914e4de988729859315729dc181b5e4dc8a68fe78de35a')
-
-build() {
- cd $_name-$pkgver
- python setup.py build
-}
-
-package() {
- cd $_name-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
- install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-sphinxcontrib-spelling/repos/community-any/PKGBUILD (from rev
1403138, python-sphinxcontrib-spelling/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-02-20 18:33:34 UTC (rev 1403139)
@@ -0,0 +1,28 @@
+# Maintainer: Evangelos Foutras <[email protected]>
+
+_name=sphinxcontrib-spelling
+pkgname=python-$_name
+pkgver=8.0.0
+pkgrel=1
+pkgdesc="Spelling checker for Sphinx"
+arch=('any')
+url="https://sphinxcontrib-spelling.readthedocs.io/"
+license=('BSD')
+depends=('python-sphinx' 'python-pyenchant')
+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=('199d0a16902ad80c387c2966dc9eb10f565b1fb15ccce17210402db7c2443e5c')
+
+build() {
+ cd $_name-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+package() {
+ cd $_name-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}
+
+# vim:set ts=2 sw=2 et: