From eafafd25e5acb94b02a5529e1c517f3b99673ef2 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Wed, 29 Sep 2021 16:34:54 +0300 Subject: Initial commit 0.5.2 --- .SRCINFO | 13 +++++++++++++ PKGBUILD | 23 +++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..5922460 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = python-html-text + pkgdesc = Python library to extract text from HTML + pkgver = 0.5.2 + pkgrel = 1 + url = https://github.com/TeamHG-Memex/html-text + arch = any + license = MIT + makedepends = python-setuptools + depends = python-lxml + source = python-html-text-0.5.2.tar.gz::https://github.com/TeamHG-Memex/html-text/archive/0.5.2.tar.gz + sha256sums = c75a1da10d649f55162446de57f98374059a998071110a343815841286a442f9 + +pkgname = python-html-text diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..140450d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Yigit Sever +pkgname=python-html-text +_pkgname=html-text +pkgver=0.5.2 +pkgrel=1 +pkgdesc="Python library to extract text from HTML" +arch=('any') +url="https://github.com/TeamHG-Memex/html-text" +license=('MIT') +depends=('python-lxml') +makedepends=('python-setuptools') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") +sha256sums=('c75a1da10d649f55162446de57f98374059a998071110a343815841286a442f9') + +build() { + cd "${_pkgname}-${pkgver}" + python setup.py build +} + +package() { + cd "${_pkgname}-${pkgver}" + python setup.py install --root="$pkgdir" --optimize=1 +} -- cgit v1.2.3-70-g09d2