[arch-commits] Commit in python-click-help-colors/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Sat Mar 14 12:24:49 UTC 2020


    Date: Saturday, March 14, 2020 @ 12:24:48
  Author: dvzrv
Revision: 596717

upgpkg: python-click-help-colors 0.8-1: Upgrading to 0.8. Adding examples.

Modified:
  python-click-help-colors/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-14 12:13:57 UTC (rev 596716)
+++ PKGBUILD	2020-03-14 12:24:48 UTC (rev 596717)
@@ -2,7 +2,7 @@
 
 _name=click-help-colors
 pkgname=python-click-help-colors
-pkgver=0.7
+pkgver=0.8
 pkgrel=1
 pkgdesc="Colorization of help messages in Click"
 arch=('any')
@@ -11,11 +11,8 @@
 depends=('python-click')
 makedepends=('python-setuptools')
 checkdepends=('python-pytest')
-# tests missing from sdist tarball on pypi:
-# https://github.com/click-contrib/click-help-colors/issues/10
-# source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-source=("${_name}-${pkgver}.tar.gz::https://github.com/click-contrib/${_name}/archive/${pkgver}.tar.gz")
-sha512sums=('c28c18db83e7f4811e9b1a5aa8e8fc8e89b880d98ec80ba01bbb19b8916d88ce04111139da00099a7fc93d01d898bed88a6d910e838c3891e857ceb1e5ef423f')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('1fcbdcbffa77268066e2b4a9460660b8636058f36e433b9e11567e7b2859596891c27aa059afb269cf285f7317c74c17f19de2591f13c4a38f5a5e15db9482d9')
 
 prepare() {
   mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
@@ -40,4 +37,6 @@
     --root="${pkgdir}"
   install -vDm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
   install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -vDm 644 examples/*.py \
+    -t "${pkgdir}/usr/share/doc/${pkgname}/examples"
 }



More information about the arch-commits mailing list