From 475d0e56448740d8b37a1b34aba0fdf95ac054cd Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Wed, 29 Sep 2021 16:33:16 +0300 Subject: Initial commit v0.13.0 --- PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 PKGBUILD (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..3737ea3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Yigit Sever +pkgname=python-extruct +_pkgname=extruct +pkgver=0.13.0 +pkgrel=1 +pkgdesc="Extract embedded metadata from HTML markup" +arch=('any') +url="https://github.com/scrapinghub/extruct" +license=('custom') +depends=('python-lxml' 'python-requests' 'python-rdflib' 'python-rdflib-jsonld' 'python-pyrdfa3' 'python-mf2py' 'python-six' 'python-w3lib' 'python-html-text' 'python-jstyleson') +makedepends=('python-setuptools') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") +sha256sums=('2bf4d8aaf9cfd2ea27bac256e5cabd601a480a47f49b9531ac8bfe3b42a9c74f') + +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