diff options
author | chrisjbillington | 2024-01-07 10:40:06 +1100 |
---|---|---|
committer | chrisjbillington | 2024-01-07 10:40:06 +1100 |
commit | ac07cd22c2f44976571391f423c210ed65c4812d (patch) | |
tree | be2d013d397fb892eaaed23fb8f6c3b6f066ba76 | |
parent | 52e2143b54044661bd5d6e5df69067e86521dbac (diff) | |
download | aur-ac07cd22c2f44976571391f423c210ed65c4812d.tar.gz |
Remove pinned prompt_toolkit version
Arch doesn't ship that pinned version, so for now we accept the partial breakage.
I believe this change suppresses errors when building packages that depend on this one,
or something like that.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = python-questionary pkgdesc = Python library to build pretty command line user prompts pkgver = 2.0.1 - pkgrel = 1 + pkgrel = 2 url = https://pypi.python.org/pypi/questionary arch = any license = MIT @@ -2,7 +2,7 @@ pkgname=python-questionary _name=${pkgname#python-} pkgver=2.0.1 -pkgrel=1 +pkgrel=2 pkgdesc="Python library to build pretty command line user prompts" license=("MIT") url="https://pypi.python.org/pypi/$_name" @@ -12,6 +12,10 @@ source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_nam sha256sums=('bcce898bf3dbb446ff62830c86c5c6fb9a22a54146f0f5597d3da43b10d8fc8b') arch=('any') +prepare() { + cd "$_name-$pkgver" + sed -i -E "/^prompt_toolkit =/s/,.*$/\"/" pyproject.toml +} build() { cd "$_name-$pkgver" |