[arch-commits] Commit in python-sphinx-click/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Sat Nov 6 11:23:42 UTC 2021
Date: Saturday, November 6, 2021 @ 11:23:42
Author: dvzrv
Revision: 1037512
archrelease: copy trunk to community-any
Added:
python-sphinx-click/repos/community-any/PKGBUILD
(from rev 1037511, python-sphinx-click/trunk/PKGBUILD)
Deleted:
python-sphinx-click/repos/community-any/PKGBUILD
----------+
PKGBUILD | 80 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 39 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-06 11:23:35 UTC (rev 1037511)
+++ PKGBUILD 2021-11-06 11:23:42 UTC (rev 1037512)
@@ -1,41 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=sphinx-click
-pkgname=python-sphinx-click
-pkgver=3.0.1
-pkgrel=1
-pkgdesc="Sphinx plugin to automatically document click-based applications"
-arch=('any')
-url="https://github.com/click-contrib/sphinx-click"
-license=('MIT')
-depends=('python-pbr' 'python-sphinx')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-click')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('ef3627e53e762e19f0b11824f32369aece053cfa861b49cd08e8d8e34d392883fff7df79a1eb23b256d401a803c93eed4bad91daf54eb2ad4c93655911c2e8e4')
-b2sums=('4110e7b69975d90729b48eaa8587771ee8b082574774f1fbc22278c0e3c8993f16c7682aafa273198b14c1d698faed39216d4ff3563e5a6b56e0646a987bf58e')
-
-prepare() {
- mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
-}
-
-build() {
- cd "$pkgname-$pkgver"
- python setup.py build
-}
-
-check() {
- cd "$pkgname-$pkgver"
- export PYTHONPATH="build:${PYTHONPATH}"
- pytest -v
-}
-
-package() {
- cd "$pkgname-$pkgver"
- python setup.py install --skip-build \
- --optimize=1 \
- --root="${pkgdir}"
- install -vDm 644 {AUTHORS,ChangeLog,README.rst} -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -vDm 644 docs/*.rst -t "${pkgdir}/usr/share/doc/${pkgname}/docs/"
- install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
Copied: python-sphinx-click/repos/community-any/PKGBUILD (from rev 1037511, python-sphinx-click/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-06 11:23:42 UTC (rev 1037512)
@@ -0,0 +1,39 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=sphinx-click
+pkgname=python-sphinx-click
+pkgver=3.0.2
+pkgrel=1
+pkgdesc="Sphinx plugin to automatically document click-based applications"
+arch=('any')
+url="https://github.com/click-contrib/sphinx-click"
+license=('MIT')
+depends=('python-pbr' 'python-sphinx')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-click')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('dcf60ca31dcc7c1f45157ed88a5d723d8b531f01b617fb0cc4ada8f09c709b23b55a86bcf8bbe66bf4c2f5ef77329123d271724887022a43b86747087e87ed7c')
+b2sums=('7190958afaa8edab311e6728c5b2ea37e04d9402882c8bb0ceac935fc1bc93b5c087cbe6847396f9331b9b6b4d7fcb2a439d725661bd8d4cebdde6851f38f78a')
+
+prepare() {
+ mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ python setup.py build
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ export PYTHONPATH="build:${PYTHONPATH}"
+ pytest -v
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ python setup.py install --optimize=1 --root="${pkgdir}"
+ install -vDm 644 {AUTHORS,ChangeLog,README.rst} -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -vDm 644 docs/*.rst -t "${pkgdir}/usr/share/doc/${pkgname}/docs/"
+ install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
More information about the arch-commits
mailing list