[arch-commits] Commit in python-click-help-colors/repos/community-any (2 files)
David Runge
dvzrv at archlinux.org
Thu Dec 3 10:10:13 UTC 2020
Date: Thursday, December 3, 2020 @ 10:10:12
Author: dvzrv
Revision: 769408
archrelease: copy trunk to community-any
Added:
python-click-help-colors/repos/community-any/PKGBUILD
(from rev 769407, python-click-help-colors/trunk/PKGBUILD)
Deleted:
python-click-help-colors/repos/community-any/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-03 10:09:06 UTC (rev 769407)
+++ PKGBUILD 2020-12-03 10:10:12 UTC (rev 769408)
@@ -1,42 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=click-help-colors
-pkgname=python-click-help-colors
-pkgver=0.8
-pkgrel=3
-pkgdesc="Colorization of help messages in Click"
-arch=('any')
-url="https://github.com/click-contrib/click-help-colors"
-license=('MIT')
-depends=('python-click')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('1fcbdcbffa77268066e2b4a9460660b8636058f36e433b9e11567e7b2859596891c27aa059afb269cf285f7317c74c17f19de2591f13c4a38f5a5e15db9482d9')
-
-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 \
- --prefix=/usr \
- --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"
-}
Copied: python-click-help-colors/repos/community-any/PKGBUILD (from rev 769407, python-click-help-colors/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-03 10:10:12 UTC (rev 769408)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=click-help-colors
+pkgname=python-click-help-colors
+pkgver=0.8.1
+pkgrel=1
+pkgdesc="Colorization of help messages in Click"
+arch=('any')
+url="https://github.com/click-contrib/click-help-colors"
+license=('MIT')
+depends=('python-click')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('42e9aa5b94bd6420fc5ed6b06415219e3bcb0233b9c36295919f2557e0e324e1a6cfa64551cbca6363e204f9815bb1a913d2aaca9dcda8e8b3d486748705a986')
+b2sums=('49cba8eeed61d32ffa06008f2b49aea8ff354a098428e64e67eae02f80b81ac86b7404f12a4cf215e8a8a1e360d0e0d21010f7c3aab46fd319e8aa567a4246eb')
+
+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 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