[arch-commits] Commit in python-sphinx-click/repos/community-any (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Fri May 14 17:21:33 UTC 2021


    Date: Friday, May 14, 2021 @ 17:21:33
  Author: dvzrv
Revision: 934265

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   82 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-14 17:21:22 UTC (rev 934264)
+++ PKGBUILD	2021-05-14 17:21:33 UTC (rev 934265)
@@ -1,41 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=sphinx-click
-pkgname=python-sphinx-click
-pkgver=2.7.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=('55749ab1f48569225558eda243c77991623418a2185fbda266d75d3a52f4551fb619b3024bb368d8332e55c0755da7a9da5b5da97158c9d8eefec3a2007f201e')
-b2sums=('4fe15f3e8ad413f36a9aa6125f973fdb8d150a0996a373bc877ccec1c40132d81235abaf28a1ab90e647cbdb6a9571d782078e1de19c98e76818c6a957490bec')
-
-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 934264, python-sphinx-click/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-14 17:21:33 UTC (rev 934265)
@@ -0,0 +1,41 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=sphinx-click
+pkgname=python-sphinx-click
+pkgver=3.0.0
+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=('a5d4aa443f149fbc875e773ac721a48e19f35c96ddff47fc5763639babe1dd7d87a92ce4b7139b0b2e6b252792de32f52e9bcbbf509c7af0fdbd12cb480fe0dc')
+b2sums=('103b4d4374baac92baef327ed4a10e60b8ecbc1fecb828082ab2e9be766ba13bc4e1479d4e07eda456ba545be1626658cf599e48c3782f7257e646b819426b61')
+
+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}"
+}



More information about the arch-commits mailing list