mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-27 09:21:41 +02:00
31 lines
911 B
Plaintext
31 lines
911 B
Plaintext
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py-ansi2html
|
|
_pkgname=ansi2html
|
|
pkgver=1.3.0
|
|
pkgrel=0
|
|
pkgdesc="Convert text with ANSI color codes to HTML"
|
|
url="http://github.com/ralphbean/ansi2html/"
|
|
arch="noarch"
|
|
license="GPL-3.0-or-later"
|
|
depends="python2 py-setuptools py-six"
|
|
depends_dev=""
|
|
makedepends="python2-dev"
|
|
install=""
|
|
subpackages=""
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
python2 setup.py build || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
|
|
}
|
|
|
|
sha512sums="73d1b3431e22146c4fe18fef4b05413231d79d627c396d67528d0aa1ab07a7ef4bcfeff56829b85d9fe9ad508599b782318911f7b10d6b9a1bc98780e31389d7 ansi2html-1.3.0.tar.gz"
|