[arch-commits] Commit in python-cleo/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Sun Nov 14 15:32:48 UTC 2021
Date: Sunday, November 14, 2021 @ 15:32:48
Author: arojas
Revision: 1047533
Update to 0.8.1
Modified:
python-cleo/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-14 15:32:10 UTC (rev 1047532)
+++ PKGBUILD 2021-11-14 15:32:48 UTC (rev 1047533)
@@ -2,8 +2,8 @@
_pkgname=cleo
pkgname=python-cleo
-pkgver=0.7.6
-pkgrel=4
+pkgver=0.8.1
+pkgrel=1
pkgdesc="create beautiful and testable command-line interfaces"
arch=('any')
url="https://github.com/sdispater/${_pkgname}"
@@ -12,11 +12,11 @@
makedepends=('python-dephell' 'python-setuptools')
checkdepends=('python-pytest' 'python-pytest-mock')
source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('844d732c3306745cd2ffb2bd79327155a303844e3f9111bd7b578d9dd79ad2f7')
-b2sums=('592c4e2d877909ccddc814293bb346c90bc5f4426231bcf8aa8fdae24b2f3ef8531d3cafb77e6f294868a34f66c5bd83b31633917e5b9d37c54e68502cbacf03')
+sha256sums=('3ff6fe33d9e440dba4d9b0947e65ebebf95671d18d89b67bed1e1a09d2266bc1')
+b2sums=('57971f6254a31ecf5101d89e96607b5915ab5138d727279d445172b89a10acd6b76619d344973fa2bdbc320866fa1dbdf05c889f4eca879839fa6bcbbad0af7c')
prepare() {
- cd "${srcdir}"/${_pkgname}-${pkgver}
+ cd ${_pkgname}-${pkgver}
# poetry-generated setup.py are fatally broken, see:
# https://github.com/sdispater/poetry/issues/866
@@ -24,19 +24,19 @@
}
build(){
- cd "${srcdir}"/${_pkgname}-${pkgver}
+ cd ${_pkgname}-${pkgver}
python setup.py build
}
check() {
- cd "${srcdir}"/${_pkgname}-${pkgver}
+ cd ${_pkgname}-${pkgver}
python -m pytest
}
package() {
- cd "${srcdir}"/${_pkgname}-${pkgver}
+ cd ${_pkgname}-${pkgver}
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
More information about the arch-commits
mailing list