[arch-commits] Commit in python-html2text/repos (community-any community-any/PKGBUILD)

Jaroslav Lichtblau jlichtblau at archlinux.org
Thu Nov 27 14:11:50 UTC 2014


    Date: Thursday, November 27, 2014 @ 15:11:50
  Author: jlichtblau
Revision: 123205

archrelease: copy trunk to community-any

Added:
  python-html2text/repos/community-any/
  python-html2text/repos/community-any/PKGBUILD
    (from rev 123204, python-html2text/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: python-html2text/repos/community-any/PKGBUILD (from rev 123204, python-html2text/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2014-11-27 14:11:50 UTC (rev 123205)
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 97778 2013-09-29 16:22:13Z jlichtblau $
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Daniel J Griffiths <ghost1227 at 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}"
+}


More information about the arch-commits mailing list