ayaports/user/py3-pastel/APKBUILD
2022-07-29 15:47:03 +00:00

30 lines
966 B
Text

# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-pastel
_realname=pastel
pkgver=0.2.1
pkgrel=1
pkgdesc="Python3 library to bring colors to your terminal"
options="!check" # No testsuite on tarball with setup.py
url="https://github.com/sdispater/pastel"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
source="https://pypi.io/packages/source/p/pastel/pastel-$pkgver.tar.gz"
builddir="$srcdir/$_realname-$pkgver"
build() {
python3 setup.py build
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
# do not install the tests package
# see: https://github.com/sdispater/pastel/issues/7
rm -r "$pkgdir"/usr/lib/python*/site-packages/tests
}
sha512sums="7e310d632212c3d940823dc45fffc192094701ac3f8a06b030f0738522637be5dd770af74c009e7c96c120f6a0935e696baa8ee65b75cded1d064b885c2a2eea pastel-0.2.1.tar.gz"