[arch-commits] Commit in python-html2text/repos/community-any (PKGBUILD PKGBUILD)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Thu Jan 25 19:59:07 UTC 2018
Date: Thursday, January 25, 2018 @ 19:59:05
Author: jlichtblau
Revision: 286871
archrelease: copy trunk to community-any
Added:
python-html2text/repos/community-any/PKGBUILD
(from rev 286870, python-html2text/trunk/PKGBUILD)
Deleted:
python-html2text/repos/community-any/PKGBUILD
----------+
PKGBUILD | 108 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 54 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-25 19:58:47 UTC (rev 286870)
+++ PKGBUILD 2018-01-25 19:59:05 UTC (rev 286871)
@@ -1,54 +0,0 @@
-# $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>
-# Contributor: Felix Yan <felixonmars at archlinux>
-
-pkgbase=python-html2text
-pkgname=('python-html2text' 'python2-html2text')
-pkgver=2017.10.4
-pkgrel=1
-pkgdesc="A HTML to markdown-structured text converter"
-arch=('any')
-url="https://pypi.python.org/pypi/html2text/"
-license=('GPL3')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-coverage' 'python2-coverage')
-provides=('html2text')
-replaces=('html2text')
-source=($pkgname-$pkgver.tar.gz::https://github.com/Alir3z4/html2text/archive/$pkgver.tar.gz)
-sha256sums=('e32553658cfe504db084a98ccc11758727107acc4c12c5fe464f6a8cdccc938f')
-
-prepare() {
- cp -a html2text-$pkgver{,-py2}
-}
-
-build() {
- cd "${srcdir}"/html2text-$pkgver
- python setup.py build
-
- cd "${srcdir}"/html2text-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "${srcdir}"/html2text-$pkgver
- PYTHONPATH=$PYTHONPATH:. python setup.py test --verbose
-
- cd "${srcdir}"/html2text-$pkgver-py2
- PYTHONPATH=$PYTHONPATH:. python2 setup.py test --verbose
-}
-
-package_python-html2text() {
- depends=('python-setuptools')
-
- cd "${srcdir}"/html2text-$pkgver
- python setup.py install --root="${pkgdir}"
-}
-
-package_python2-html2text() {
- depends=('python2-setuptools')
-
- cd "${srcdir}"/html2text-$pkgver-py2
- python2 setup.py install --root="${pkgdir}"
- mv "$pkgdir/usr/bin/html2text"{,2}
-}
Copied: python-html2text/repos/community-any/PKGBUILD (from rev 286870, python-html2text/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-01-25 19:59:05 UTC (rev 286871)
@@ -0,0 +1,54 @@
+# $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>
+# Contributor: Felix Yan <felixonmars at archlinux>
+
+pkgbase=python-html2text
+pkgname=('python-html2text' 'python2-html2text')
+pkgver=2018.1.9
+pkgrel=1
+pkgdesc="A HTML to markdown-structured text converter"
+arch=('any')
+url="https://pypi.python.org/pypi/html2text/"
+license=('GPL3')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-coverage' 'python2-coverage')
+provides=('html2text')
+replaces=('html2text')
+source=($pkgname-$pkgver.tar.gz::https://github.com/Alir3z4/html2text/archive/$pkgver.tar.gz)
+sha256sums=('9ad585bb7fda536ce231349e5046aefec7ccc2d111d11b859c9040edab94416b')
+
+prepare() {
+ cp -a html2text-$pkgver{,-py2}
+}
+
+build() {
+ cd "${srcdir}"/html2text-$pkgver
+ python setup.py build
+
+ cd "${srcdir}"/html2text-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "${srcdir}"/html2text-$pkgver
+ PYTHONPATH=$PYTHONPATH:. python setup.py test --verbose
+
+ cd "${srcdir}"/html2text-$pkgver-py2
+ PYTHONPATH=$PYTHONPATH:. python2 setup.py test --verbose
+}
+
+package_python-html2text() {
+ depends=('python-setuptools')
+
+ cd "${srcdir}"/html2text-$pkgver
+ python setup.py install --root="${pkgdir}"
+}
+
+package_python2-html2text() {
+ depends=('python2-setuptools')
+
+ cd "${srcdir}"/html2text-$pkgver-py2
+ python2 setup.py install --root="${pkgdir}"
+ mv "$pkgdir/usr/bin/html2text"{,2}
+}
More information about the arch-commits
mailing list