From 31d147b20c67d95a9e306d0749200bf964ac42af Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 29 Oct 2021 01:30:24 +0300 Subject: Use actual files instead of submodules --- python-html-text | 1 - python-html-text/.SRCINFO | 13 +++++++++++++ python-html-text/PKGBUILD | 23 +++++++++++++++++++++++ 3 files changed, 36 insertions(+), 1 deletion(-) delete mode 160000 python-html-text create mode 100644 python-html-text/.SRCINFO create mode 100644 python-html-text/PKGBUILD (limited to 'python-html-text') diff --git a/python-html-text b/python-html-text deleted file mode 160000 index eafafd2..0000000 --- a/python-html-text +++ /dev/null @@ -1 +0,0 @@ -Subproject commit eafafd25e5acb94b02a5529e1c517f3b99673ef2 diff --git a/python-html-text/.SRCINFO b/python-html-text/.SRCINFO new file mode 100644 index 0000000..5922460 --- /dev/null +++ b/python-html-text/.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/python-html-text/PKGBUILD b/python-html-text/PKGBUILD new file mode 100644 index 0000000..140450d --- /dev/null +++ b/python-html-text/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