[arch-commits] Commit in python-sphinx-autobuild/repos/community-any (2 files)

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


    Date: Monday, August 1, 2022 @ 07:08:20
  Author: arojas
Revision: 1259581

archrelease: copy trunk to community-any

Added:
  python-sphinx-autobuild/repos/community-any/PKGBUILD
    (from rev 1259580, python-sphinx-autobuild/trunk/PKGBUILD)
Deleted:
  python-sphinx-autobuild/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   80 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 37 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-01 07:08:10 UTC (rev 1259580)
+++ PKGBUILD	2022-08-01 07:08:20 UTC (rev 1259581)
@@ -1,43 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=sphinx-autobuild
-pkgname=python-$_pkgname
-pkgver=2020.09.01
-pkgrel=2
-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')
-checkdepends=('python-pytest')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha512sums=('fc72ba86749ff186eab52458241d687eaf99f5faf6f33ecd588f988826c5e3f02bd7a592c30d67faa122f146b2c483c2df7ad23937ee3ad46d80ed580063ce12')
-
-prepare() {
-  cd $_pkgname-$pkgver
-
-  dephell deps convert --from pyproject.toml --to setup.py
-}
-
-build() {
-  cd $_pkgname-$pkgver
-
-  python setup.py build
-}
-
-check() {
-  cd $_pkgname-$pkgver
-
-  PYTHONPATH=src pytest
-}
-
-package() {
-  cd $_pkgname-$pkgver
-
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
-  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-sphinx-autobuild/repos/community-any/PKGBUILD (from rev 1259580, python-sphinx-autobuild/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-01 07:08:20 UTC (rev 1259581)
@@ -0,0 +1,37 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=sphinx-autobuild
+pkgname=python-$_pkgname
+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-build' 'python-installer' 'python-flit-core')
+checkdepends=('python-pytest')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('6be06e129119f2ab9d6443fc04bd1f6005c154fd53f231124babe6fd5f6371e0c9d8b42b119ab3cf53926d17970894b6ee883c464384abaa98a152f61020ed90')
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd $_pkgname-$pkgver
+
+  PYTHONPATH=src pytest
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list