[arch-commits] Commit in python-clikit/trunk (PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Thu Jan 2 15:29:20 UTC 2020
Date: Thursday, January 2, 2020 @ 15:29:20
Author: eschwartz
Revision: 546234
upgpkg: python-clikit 0.4.1-2: fix FS#65012
[python-clikit] ValueError with python-pastel-0.2.0 when running poetry
Fixes renamed value to work with the new version of pastel.
Modified:
python-clikit/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-02 15:28:46 UTC (rev 546233)
+++ PKGBUILD 2020-01-02 15:29:20 UTC (rev 546234)
@@ -3,7 +3,7 @@
_pkgname=clikit
pkgname=python-clikit
pkgver=0.4.1
-pkgrel=1
+pkgrel=2
pkgdesc="clikit allows you to create beautiful and testable command-line interfaces"
arch=('any')
url="https://github.com/sdispater/${_pkgname}"
@@ -11,13 +11,19 @@
depends=('python-pastel' 'python-pylev')
makedepends=('python-dephell')
checkdepends=('python-pytest-mock')
-source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('e63e5f1501dbfb69edcf945de8e8eb99375d17a31dfc9651dcfa160c4927595f')
-b2sums=('8efbb179fc8cc8bdc8ed8028d3ebac5b14dc6fce86c9f72a7c7ed8e6bb8288e2af882a17c1cb36a8b7c321d57f4bd32b4d74dd5923bb8563202409b66c342944')
+source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz"
+ "https://github.com/sdispater/clikit/pull/12/commits/00cb6a31be769ed8568fd296aa0b23dd6b4cbc8d.patch")
+sha256sums=('e63e5f1501dbfb69edcf945de8e8eb99375d17a31dfc9651dcfa160c4927595f'
+ '068170e881b13b3f7215e74c77d68d09a59b782a9bbe1ffaa8b4f6e2f6597c2d')
+b2sums=('8efbb179fc8cc8bdc8ed8028d3ebac5b14dc6fce86c9f72a7c7ed8e6bb8288e2af882a17c1cb36a8b7c321d57f4bd32b4d74dd5923bb8563202409b66c342944'
+ '3dba18178ff39e2128ebc74f171b40c6405c9fa536549c0807dd89dfe3efb1d3437a60e6fe403223b97f32151b973720e6a3f582d1479d2ba955bf9c6bc6924b')
prepare() {
cd "${srcdir}"/${_pkgname}-${pkgver}
+ # compat with latest pastel
+ patch -p1 -i ../00cb6a31be769ed8568fd296aa0b23dd6b4cbc8d.patch
+
# poetry-generated setup.py are fatally broken, see:
# https://github.com/sdispater/poetry/issues/866
dephell deps convert --from pyproject.toml --to setup.py
More information about the arch-commits
mailing list