aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-ansi2html
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-28 00:40:51 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-28 00:40:51 +0000
commitef957a3044256ab22d6d2358bf781050e9af8dc4 (patch)
treee92cfe982d372b2465f074c672c2496f08f84fba /testing/py-ansi2html
parent8da84c9eb568a72a9a788479c764d9fd4337e758 (diff)
downloadaports-ef957a3044256ab22d6d2358bf781050e9af8dc4.tar.bz2
aports-ef957a3044256ab22d6d2358bf781050e9af8dc4.tar.xz
testing/py-ansi2html: upgrade to 1.1.1
Diffstat (limited to 'testing/py-ansi2html')
-rw-r--r--testing/py-ansi2html/APKBUILD23
1 files changed, 7 insertions, 16 deletions
diff --git a/testing/py-ansi2html/APKBUILD b/testing/py-ansi2html/APKBUILD
index 6a81033f0..114120944 100644
--- a/testing/py-ansi2html/APKBUILD
+++ b/testing/py-ansi2html/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-ansi2html
_pkgname=ansi2html
-pkgver=1.0.6
+pkgver=1.1.1
pkgrel=0
pkgdesc="Convert text with ANSI color codes to HTML"
url="http://github.com/ralphbean/ansi2html/"
@@ -15,27 +15,18 @@ install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
-_builddir="$srcdir"/$_pkgname-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/$_pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
python setup.py build || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
-md5sums="df764afaa8e1167d7e7747ea59705e49 ansi2html-1.0.6.tar.gz"
-sha256sums="5e929c1817d8f33a63c5245eab2553fd45b453aa4dbb2fd8f674642231fc652d ansi2html-1.0.6.tar.gz"
-sha512sums="ab05b789fe2d7c7333766e461f476cb534b7b9265c1eea2b80d07ae32f1896bd0a033d1deae4244036db6a8064c195221849dc76c6d51dd2d4075684acb77e02 ansi2html-1.0.6.tar.gz"
+md5sums="39c0454667def0f7e22d91d1001d8fc4 ansi2html-1.1.1.tar.gz"
+sha256sums="5c8a482e92fd49005c083d5ed5aa946d424a71eda60be27fda005bbb5ed8c53f ansi2html-1.1.1.tar.gz"
+sha512sums="5f08e6e3e89797f23759da7aac8cbd17e86ffcac37af8db8c345423c69744d88a1517cb0f17dc9c366b509b972484d25877cce8c7466a7a463eea24af17133de ansi2html-1.1.1.tar.gz"