blob: 21c3d85c86a212f1bfbf7140ab81d55552641332 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Rafael Dominiquini <rafaeldominiquini at gmail dor com>
_pyname=click-prompt
pkgname=python-${_pyname}
pkgver=0.6.3
pkgrel=1
pkgdesc="Interactive command line options for the click library "
arch=('any')
url="https://github.com/markusgrotz/${_pyname}"
license=(MIT)
groups=()
# Normally validators 0.22 is required, but Arch only provides 0.20.2 (flagged a few months ago)
depends=('python>=3.6.9' 'python-click>=8.0.4' 'python-click<9.0' 'python-questionary>=1.10.0')
makedepends=(python-build python-installer python-wheel 'python-poetry-core>=1.0.0' python-poetry-plugin-export 'python-platformdirs<5.0' 'python-platformdirs>=3.9.1')
optdepends=()
source=("https://files.pythonhosted.org/packages/ef/5b/1c642ba27a72afb537df8210ec3092dbaef0df6ac890a656977577c31583/${_pyname//-/_}-${pkgver}.tar.gz")
sha256sums=('d9411ff0909387da6404595f7bac13b859021fad3f73649b437dd0b61de21c05')
build() {
cd "click_prompt-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "click_prompt-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|