mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/py3-crayons: new aport
This commit is contained in:
parent
05b7c58ae9
commit
ae0fee44f7
28
testing/py3-crayons/APKBUILD
Normal file
28
testing/py3-crayons/APKBUILD
Normal file
@ -0,0 +1,28 @@
|
||||
# Contributor: Hugo Osvaldo Barrera <hugo@whynothugo.nl>
|
||||
maintainer="Hugo Osvaldo Barrera <hugo@whynothugo.nl>"
|
||||
pkgname=py3-crayons
|
||||
_pyname=crayons
|
||||
pkgver=0.4.0
|
||||
pkgrel=0
|
||||
pkgdesc="TextUI colors for Python"
|
||||
url="https://github.com/kennethreitz/crayons"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
depends="py3-colorama"
|
||||
makedepends="py3-gpep517 py3-setuptools py3-wheel"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="py3-crayons-$pkgver.tar.gz::https://github.com/kennethreitz/crayons/archive/refs/tags/v$pkgver.tar.gz"
|
||||
options="!check" # no tests
|
||||
builddir="$srcdir/$_pyname-$pkgver"
|
||||
|
||||
build() {
|
||||
gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 -m installer -d "$pkgdir" .dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
99656373876f33d4b63e1ed8859f3c88c17af2c2b0b0c82359504b78dc8454a5366ec0297d0baea306ed7a315334d4b3ec109d368d2c92a3aeca26dc68cc05a4 py3-crayons-0.4.0.tar.gz
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user