blob: 012d6fd484681bf3b2e28a377521dd9bf3608150 (
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
28
29
30
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-ansicolors
_pkgname=ansicolors
pkgver=1.1.8
pkgrel=0
pkgdesc="ANSI colors for Python"
url="https://github.com/jonathaneunice/colors"
arch="noarch"
license="ISC"
provides="py-ansicolors" # for backwards compatibility
replaces="py-ansicolors=$pkgver-r$pkgrel" # for backwards compatibility
depends="python3"
makedepends="python3-dev py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip
fix-requires.patch"
builddir="$srcdir"/$_pkgname-$pkgver
build() {
cd "$builddir"
python3 setup.py build
}
package() {
cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="5afc4a7a6dc4028ad3db80c0e25e340482295ba41082107287abe7f20f6d4a2d0d17bccf269d7ac71482b7944134487f9238bb2c22c8a2f0bf9ea8288e543378 ansicolors-1.1.8.zip
4473c9a75c5d124e3e587cfb091d8f467bae0cbd23b6ab8295001f5bd91fe5381856b109e2be1a9f1197a5490a2dbd9f83e6e500c9364124b2e66c2826b16ae1 fix-requires.patch"
|