[arch-commits] Commit in python-sphinx-autobuild/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Mon Aug 1 07:08:11 UTC 2022


    Date: Monday, August 1, 2022 @ 07:08:10
  Author: arojas
Revision: 1259580

upgpkg: python-sphinx-autobuild 2021.03.14-1: Update to 2021.3.14, drop dephell usage

Modified:
  python-sphinx-autobuild/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-01 07:05:47 UTC (rev 1259579)
+++ PKGBUILD	2022-08-01 07:08:10 UTC (rev 1259580)
@@ -2,28 +2,22 @@
 
 _pkgname=sphinx-autobuild
 pkgname=python-$_pkgname
-pkgver=2020.09.01
-pkgrel=2
+pkgver=2021.03.14
+pkgrel=1
 pkgdesc='Rebuild Sphinx documentation on changes, with live-reload in the browser'
 arch=('any')
 url='https://github.com/executablebooks/sphinx-autobuild'
 license=('BSD')
 depends=('python' 'python-sphinx' 'python-livereload')
-makedepends=('python-setuptools' 'python-dephell')
+makedepends=('python-build' 'python-installer' 'python-flit-core')
 checkdepends=('python-pytest')
 source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha512sums=('fc72ba86749ff186eab52458241d687eaf99f5faf6f33ecd588f988826c5e3f02bd7a592c30d67faa122f146b2c483c2df7ad23937ee3ad46d80ed580063ce12')
+sha512sums=('6be06e129119f2ab9d6443fc04bd1f6005c154fd53f231124babe6fd5f6371e0c9d8b42b119ab3cf53926d17970894b6ee883c464384abaa98a152f61020ed90')
 
-prepare() {
-  cd $_pkgname-$pkgver
-
-  dephell deps convert --from pyproject.toml --to setup.py
-}
-
 build() {
   cd $_pkgname-$pkgver
 
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -35,7 +29,7 @@
 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
 }



More information about the arch-commits mailing list