Date: Thursday, November 27, 2014 @ 15:11:05 Author: jlichtblau Revision: 123204
html2text update to a new (python) version Added: python-html2text/ python-html2text/repos/ python-html2text/trunk/ python-html2text/trunk/PKGBUILD ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Added: python-html2text/trunk/PKGBUILD =================================================================== --- python-html2text/trunk/PKGBUILD (rev 0) +++ python-html2text/trunk/PKGBUILD 2014-11-27 14:11:05 UTC (rev 123204) @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 97778 2013-09-29 16:22:13Z jlichtblau $ +# Maintainer: Jaroslav Lichtblau <svetlemo...@archlinux.org> +# Contributor: Giovanni Scafora <giova...@archlinux.org> +# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> + +pkgname=python-html2text +pkgver=2014.9.25 +pkgrel=1 +pkgdesc="A HTML to markdown-structured text converter" +arch=('any') +url="https://pypi.python.org/pypi/html2text/" +license=('GPL3') +depends=('python') +makedepends=('python-setuptools') +provides=('html2text') +replaces=('html2text') +source=(https://pypi.python.org/packages/source/h/html2text/html2text-2014.9.25.tar.gz) +sha256sums=('a3bbabcb1726b3177e9d476a27cb6b47e31aa1e5eafb5f7fbbf5bd77c877450b') + +build() { + cd "${srcdir}"/html2text-${pkgver} + python setup.py build +} + +check() { + cd "${srcdir}"/html2text-${pkgver} + PYTHONPATH=$PYTHONPATH:. python setup.py test --verbose +} + +package() { + cd "${srcdir}"/html2text-${pkgver} + python setup.py install --root="${pkgdir}" +}