Date: Tuesday, January 10, 2023 @ 00:34:26
Author: polyzen
Revision: 1382204
archrelease: copy trunk to community-any
Added:
python-sphinxcontrib-applehelp/repos/community-any/PKGBUILD
(from rev 1382203, python-sphinxcontrib-applehelp/trunk/PKGBUILD)
Deleted:
python-sphinxcontrib-applehelp/repos/community-any/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 37 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-10 00:34:03 UTC (rev 1382203)
+++ PKGBUILD 2023-01-10 00:34:26 UTC (rev 1382204)
@@ -1,37 +0,0 @@
-# Maintainer: Daniel M. Capella <[email protected]>
-
-_name=sphinxcontrib-applehelp
-pkgname=python-sphinxcontrib-applehelp
-pkgver=1.0.2
-pkgrel=9
-pkgdesc='Sphinx extension which outputs Apple help books'
-arch=('any')
-url=https://github.com/sphinx-doc/sphinxcontrib-applehelp
-license=('BSD')
-makedepends=('python-build' 'python-installer' 'python-setuptools'
- 'python-wheel')
-checkdepends=('python-pytest' 'python-sphinx')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
-sha256sums=('a072735ec80e7675e3f432fcae8610ecf509c5f1869d17e2eecff44389cdbc58')
-b2sums=('9532cb990ed97c6773388a66895a066958187e9100d226e2274c26ba07fc5832e42ba407864b69b002da926a79e71ac2d6315125906156214df3920b585d9f71')
-
-build() {
- cd $_name-$pkgver
- python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
- cd $_name-$pkgver
- pytest
-}
-
-package() {
- cd $_name-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
-
- # Symlink license file
- local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
- install -d "$pkgdir"/usr/share/licenses/$pkgname
- ln -s "$site_packages"/sphinxcontrib_applehelp-$pkgver.dist-info/LICENSE \
- "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-sphinxcontrib-applehelp/repos/community-any/PKGBUILD (from rev
1382203, python-sphinxcontrib-applehelp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-10 00:34:26 UTC (rev 1382204)
@@ -0,0 +1,37 @@
+# Maintainer: Daniel M. Capella <[email protected]>
+
+_name=sphinxcontrib.applehelp
+pkgname=python-sphinxcontrib-applehelp
+pkgver=1.0.3
+pkgrel=1
+pkgdesc='Sphinx extension which outputs Apple help books'
+arch=('any')
+url=https://github.com/sphinx-doc/sphinxcontrib-applehelp
+license=('BSD')
+makedepends=('python-build' 'python-flit-core' 'python-installer'
+ 'python-wheel')
+checkdepends=('python-pytest' 'python-sphinx')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('83749f09f6ac843b8cb685277dbc818a8bf2d76cc19602699094fe9a74db529e')
+b2sums=('3fc12ede9a0cb713f5c68942a41fbb14e160a104fc2ce6425ee61f3f6a11448ab6ab0492a86d1637a596a27bf86fc2876eb96579e234f87b81e19e74b90335e3')
+
+build() {
+ cd $_name-$pkgver
+ python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+ cd $_name-$pkgver
+ pytest
+}
+
+package() {
+ cd $_name-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+
+ # Symlink license file
+ local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
+ install -d "$pkgdir"/usr/share/licenses/$pkgname
+ ln -s "$site_packages"/sphinxcontrib_applehelp-$pkgver.dist-info/LICENSE \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}