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

Eli Schwartz eschwartz at archlinux.org
Fri Sep 25 06:12:15 UTC 2020


    Date: Friday, September 25, 2020 @ 06:12:15
  Author: eschwartz
Revision: 711981

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   88 +++++++++++++++++++++++--------------------------------------
 1 file changed, 34 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-25 06:12:02 UTC (rev 711980)
+++ PKGBUILD	2020-09-25 06:12:15 UTC (rev 711981)
@@ -1,54 +0,0 @@
-# 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=2019.8.11
-pkgrel=4
-pkgdesc="A HTML to markdown-structured text converter"
-arch=('any')
-url="https://pypi.python.org/pypi/html2text/"
-license=('GPL3')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest' 'python2-pytest')
-provides=('html2text')
-replaces=('html2text')
-source=($pkgname-$pkgver.tar.gz::https://github.com/Alir3z4/html2text/archive/$pkgver.tar.gz)
-sha256sums=('aeffe2b403ddf242f43aba6b91b77791a489b32e6e8fa108f7963d11cb85c862')
-
-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
-  pytest
-
-  cd "${srcdir}"/html2text-$pkgver-py2
-  pytest
-}
-
-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 711980, python-html2text/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-25 06:12:15 UTC (rev 711981)
@@ -0,0 +1,34 @@
+# 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>
+
+pkgname=python-html2text
+pkgver=2020.1.16
+pkgrel=1
+pkgdesc="A HTML to markdown-structured text converter"
+arch=('any')
+url="https://pypi.python.org/pypi/html2text/"
+license=('GPL3')
+depends=('python-setuptools')
+checkdepends=('python-pytest')
+provides=('html2text')
+replaces=('html2text')
+source=($pkgname-$pkgver.tar.gz::https://github.com/Alir3z4/html2text/archive/$pkgver.tar.gz)
+sha256sums=('209a2c4d7897e83a6999160ef51ae71bdb8c3eede99e103f12edb25199d4d11e')
+
+build() {
+  cd "${srcdir}"/html2text-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "${srcdir}"/html2text-$pkgver
+  pytest
+}
+
+package() {
+  cd "${srcdir}"/html2text-$pkgver
+
+  python setup.py install --root="${pkgdir}"
+}


More information about the arch-commits mailing list