Date: Tuesday, January 24, 2023 @ 21:20:08 Author: arojas Revision: 1388138
New python-invoke chackdepends Added: python-icecream/ python-icecream/trunk/ python-icecream/trunk/PKGBUILD ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Added: python-icecream/trunk/PKGBUILD =================================================================== --- python-icecream/trunk/PKGBUILD (rev 0) +++ python-icecream/trunk/PKGBUILD 2023-01-24 21:20:08 UTC (rev 1388138) @@ -0,0 +1,32 @@ +# Maintainer: +# Contributor: Luis Martinez <luis dot martinez at disroot dot org> + +_pyname=icecream +pkgname=python-$_pyname +pkgver=2.1.3 +pkgrel=2 +pkgdesc='Sweet and creamy print debugging' +arch=(any) +url='https://github.com/gruns/icecream' +license=(MIT) +depends=(python-colorama python-pygments python-executing python-asttokens) +makedepends=(python-build python-installer python-setuptools python-wheel) +source=(https://files.pythonhosted.org/packages/source/i/$_pyname/$_pyname-$pkgver.tar.gz) +sha256sums=('0aa4a7c3374ec36153a1d08f81e3080e83d8ac1eefd97d2f4fe9544e8f9b49de') + +build() { + cd $_pyname-$pkgver + python -m build --wheel --no-isolation +} + +check() { + cd $_pyname-$pkgver + python setup.py test +} + +package() { + cd $_pyname-$pkgver + python -m installer --destdir="$pkgdir" dist/*.whl + install -Dm644 README.md -t "$pkgdir"/usr/share/doc/$pkgname + install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname +}
