mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-26 08:02:26 +02:00
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py-ansi2html
|
|
_pkgname=ansi2html
|
|
pkgver=1.1.1
|
|
pkgrel=0
|
|
pkgdesc="Convert text with ANSI color codes to HTML"
|
|
url="http://github.com/ralphbean/ansi2html/"
|
|
arch="noarch"
|
|
license="GPL3+"
|
|
depends="python2"
|
|
depends_dev=""
|
|
makedepends="python2-dev py-setuptools"
|
|
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
|
|
}
|
|
|
|
md5sums="39c0454667def0f7e22d91d1001d8fc4 ansi2html-1.1.1.tar.gz"
|
|
sha256sums="5c8a482e92fd49005c083d5ed5aa946d424a71eda60be27fda005bbb5ed8c53f ansi2html-1.1.1.tar.gz"
|
|
sha512sums="5f08e6e3e89797f23759da7aac8cbd17e86ffcac37af8db8c345423c69744d88a1517cb0f17dc9c366b509b972484d25877cce8c7466a7a463eea24af17133de ansi2html-1.1.1.tar.gz"
|