Date: Friday, December 4, 2015 @ 05:14:50 Author: fyan Revision: 148278
archrelease: copy trunk to community-any Added: python2-html2text/repos/community-any/PKGBUILD (from rev 148277, python2-html2text/trunk/PKGBUILD) Deleted: python2-html2text/repos/community-any/PKGBUILD ----------+ PKGBUILD | 66 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2015-12-04 04:14:33 UTC (rev 148277) +++ PKGBUILD 2015-12-04 04:14:50 UTC (rev 148278) @@ -1,33 +0,0 @@ -# $Id: PKGBUILD 97778 2013-09-29 16:22:13Z jlichtblau $ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Jaroslav Lichtblau <svetlemo...@archlinux.org> -# Contributor: Giovanni Scafora <giova...@archlinux.org> -# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> - -pkgname=python2-html2text -pkgver=2015.6.12 -pkgrel=1 -pkgdesc="A HTML to markdown-structured text converter" -arch=('any') -url="https://pypi.python.org/pypi/html2text/" -license=('GPL3') -depends=('python2-setuptools') -source=("https://pypi.python.org/packages/source/h/html2text/html2text-$pkgver.tar.gz") -sha256sums=('240bef2049fb3e0b7e5d50e28bc99121a457cd8bd8c6c9f5f9706195fd61556e') - -build() { - cd "${srcdir}"/html2text-$pkgver - python2 setup.py build -} - -check() { - cd "${srcdir}"/html2text-$pkgver - PYTHONPATH=$PYTHONPATH:. python2 setup.py test --verbose -} - -package() { - cd "${srcdir}"/html2text-${pkgver} - python2 setup.py install --root="${pkgdir}" - - mv "$pkgdir/usr/bin/html2text"{,2} -} Copied: python2-html2text/repos/community-any/PKGBUILD (from rev 148277, python2-html2text/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-12-04 04:14:50 UTC (rev 148278) @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 97778 2013-09-29 16:22:13Z jlichtblau $ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Jaroslav Lichtblau <svetlemo...@archlinux.org> +# Contributor: Giovanni Scafora <giova...@archlinux.org> +# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> + +pkgname=python2-html2text +pkgver=2015.11.4 +pkgrel=1 +pkgdesc="A HTML to markdown-structured text converter" +arch=('any') +url="https://pypi.python.org/pypi/html2text/" +license=('GPL3') +depends=('python2-setuptools') +source=("https://pypi.python.org/packages/source/h/html2text/html2text-$pkgver.tar.gz") +sha256sums=('44531c00fd125d0d987adf4e5ab6b4a8a2b44bfa5c4dc8896f50aa0e35c33708') + +build() { + cd "${srcdir}"/html2text-$pkgver + python2 setup.py build +} + +check() { + cd "${srcdir}"/html2text-$pkgver + PYTHONPATH=$PYTHONPATH:. python2 setup.py test --verbose +} + +package() { + cd "${srcdir}"/html2text-${pkgver} + python2 setup.py install --root="${pkgdir}" + + mv "$pkgdir/usr/bin/html2text"{,2} +}