[arch-commits] Commit in python-sphinxcontrib-applehelp/repos/community-any (2 files)
Daniel M. Capella
polyzen at archlinux.org
Mon Feb 15 05:54:33 UTC 2021
Date: Monday, February 15, 2021 @ 05:54:33
Author: polyzen
Revision: 860794
archrelease: copy trunk to community-any
Added:
python-sphinxcontrib-applehelp/repos/community-any/PKGBUILD
(from rev 860793, python-sphinxcontrib-applehelp/trunk/PKGBUILD)
Deleted:
python-sphinxcontrib-applehelp/repos/community-any/PKGBUILD
----------+
PKGBUILD | 68 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 35 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-15 05:54:04 UTC (rev 860793)
+++ PKGBUILD 2021-02-15 05:54:33 UTC (rev 860794)
@@ -1,33 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-_name=sphinxcontrib-applehelp
-pkgname=python-sphinxcontrib-applehelp
-pkgver=1.0.2
-pkgrel=4
-pkgdesc='Sphinx extension which outputs Apple help books'
-arch=('any')
-url=https://github.com/sphinx-doc/sphinxcontrib-applehelp
-license=('BSD')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-sphinx')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
-sha256sums=('a072735ec80e7675e3f432fcae8610ecf509c5f1869d17e2eecff44389cdbc58')
-
-build() {
- cd $_name-$pkgver
- python setup.py build
-}
-
-check() {
- cd $_name-$pkgver
- pytest
-}
-
-package() {
- cd $_name-$pkgver
- rm -r tests
- 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-applehelp/repos/community-any/PKGBUILD (from rev 860793, python-sphinxcontrib-applehelp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-02-15 05:54:33 UTC (rev 860794)
@@ -0,0 +1,35 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+_name=sphinxcontrib-applehelp
+pkgname=python-sphinxcontrib-applehelp
+pkgver=1.0.2
+pkgrel=5
+pkgdesc='Sphinx extension which outputs Apple help books'
+arch=('any')
+url=https://github.com/sphinx-doc/sphinxcontrib-applehelp
+license=('BSD')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-sphinx')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('a072735ec80e7675e3f432fcae8610ecf509c5f1869d17e2eecff44389cdbc58')
+
+build() {
+ cd $_name-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd $_name-$pkgver
+ pytest
+
+ # Remove created cache files for reproduciblity with rebuilderd
+ rm -r tests/__pycache__
+}
+
+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:
More information about the arch-commits
mailing list