[arch-commits] Commit in python-html2text/repos (2 files)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Sat Sep 19 16:13:02 UTC 2015
Date: Saturday, September 19, 2015 @ 18:13:02
Author: jlichtblau
Revision: 140908
archrelease: copy trunk to community-staging-any
Added:
python-html2text/repos/community-staging-any/
python-html2text/repos/community-staging-any/PKGBUILD
(from rev 140907, python-html2text/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-html2text/repos/community-staging-any/PKGBUILD (from rev 140907, python-html2text/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2015-09-19 16:13:02 UTC (rev 140908)
@@ -0,0 +1,32 @@
+# $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=2015.6.21
+pkgrel=1
+pkgdesc="A HTML to markdown-structured text converter"
+arch=('any')
+url="https://pypi.python.org/pypi/html2text/"
+license=('GPL3')
+depends=('python-setuptools')
+provides=('html2text')
+replaces=('html2text')
+source=(https://pypi.python.org/packages/source/h/html2text/html2text-$pkgver.tar.gz)
+sha256sums=('5026fe0ca9600709b68ae70e086a1ca000c0af02e88ac8cb108030c6b5be8c6d')
+
+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