backports/py3-colored: new aport #352

Merged
ayakael merged 1 commit from py3-colored/initial into edge 2024-01-12 21:56:20 +00:00
Showing only changes of commit 645eeea482 - Show all commits

View file

@ -0,0 +1,28 @@
# Maintainer: Hoang Nguyen <folliekazetani@protonmail.com>
pkgname=py3-colored
_pyname=${pkgname/py3-/}
pkgver=1.4.4
pkgrel=1
pkgdesc="Simple Python library for color and formatting in terminal"
url="https://gitlab.com/dslackw/colored"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
subpackages="$pkgname-pyc"
source="https://gitlab.com/dslackw/colored/-/archive/$pkgver/colored-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
options="!check" # No testsuite
build() {
python3 setup.py build
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
d49075f97bcc220802a8a64780b4c3910acd420e7e0e82ee71659132e7a294a638b098e4e46ae54f531739f8a43cd35979e521c02bb359205a13d96e37cfe8ed colored-1.4.4.tar.gz
"