mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
29 lines
975 B
Text
29 lines
975 B
Text
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-ansi2html
|
|
_pkgname=ansi2html
|
|
pkgver=1.5.2
|
|
pkgrel=2
|
|
pkgdesc="Convert text with ANSI color codes to HTML"
|
|
url="https://github.com/ralphbean/ansi2html"
|
|
arch="noarch"
|
|
license="LGPL-3.0-or-later"
|
|
replaces="py-ansi2html" # for backwards compatibility
|
|
provides="py-ansi2html=$pkgver-r$pkgrel" # for backwards compatibility
|
|
depends="python3 py3-six"
|
|
makedepends="py3-setuptools python3-dev"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="163d5784d04e6eea0847676b967051382fa74a354c19462d1b73980fd1b0a7eb45ce1f1bd88cca803356e7767ccab1bbce6de4152c98aec98534f4ed7d65a83f ansi2html-1.5.2.tar.gz"
|