summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2023-06-27 17:26:48 +0300
committerYigit Sever2023-06-27 17:26:48 +0300
commit90089785ca73eba3115f179ce06a7e547a513708 (patch)
treec459dacf894a63cc53a31dde148b27e871b8b054
parent408bde77c056fb1fe9d8ed05946d3fe552b35532 (diff)
parent3b08b8196cdfa24405c2cd3c8a537fe090f4853c (diff)
downloadpackages-90089785ca73eba3115f179ce06a7e547a513708.tar.gz
packages-90089785ca73eba3115f179ce06a7e547a513708.tar.bz2
packages-90089785ca73eba3115f179ce06a7e547a513708.zip
Add 'python-extruct/' from commit '3b08b8196cdfa24405c2cd3c8a537fe090f4853c'
git-subtree-dir: python-extruct git-subtree-mainline: 408bde77c056fb1fe9d8ed05946d3fe552b35532 git-subtree-split: 3b08b8196cdfa24405c2cd3c8a537fe090f4853c
-rw-r--r--python-extruct/.SRCINFO22
-rw-r--r--python-extruct/PKGBUILD25
2 files changed, 47 insertions, 0 deletions
diff --git a/python-extruct/.SRCINFO b/python-extruct/.SRCINFO
new file mode 100644
index 0000000..dea3e06
--- /dev/null
+++ b/python-extruct/.SRCINFO
@@ -0,0 +1,22 @@
1pkgbase = python-extruct
2 pkgdesc = Extract embedded metadata from HTML markup
3 pkgver = 0.14.0
4 pkgrel = 1
5 url = https://github.com/scrapinghub/extruct
6 arch = any
7 license = custom
8 makedepends = python-setuptools
9 depends = python-lxml
10 depends = python-requests
11 depends = python-rdflib
12 depends = python-rdflib-jsonld
13 depends = python-pyrdfa3
14 depends = python-mf2py
15 depends = python-six
16 depends = python-w3lib
17 depends = python-html-text
18 depends = python-jstyleson
19 source = python-extruct-0.14.0.tar.gz::https://github.com/scrapinghub/extruct/archive/v0.14.0.tar.gz
20 sha256sums = 7bb956c55eea39fddfb0b827a676abb19abac2af009c1b420b3a004f3e2b1262
21
22pkgname = python-extruct
diff --git a/python-extruct/PKGBUILD b/python-extruct/PKGBUILD
new file mode 100644
index 0000000..2c7b5a9
--- /dev/null
+++ b/python-extruct/PKGBUILD
@@ -0,0 +1,25 @@
1# Maintainer: Yigit Sever <yigit at yigitsever dot com>
2
3pkgname=python-extruct
4_pkgname=extruct
5pkgver=0.14.0
6pkgrel=1
7pkgdesc="Extract embedded metadata from HTML markup"
8arch=('any')
9url="https://github.com/scrapinghub/extruct"
10license=('custom')
11depends=('python-lxml' 'python-requests' 'python-rdflib' 'python-rdflib-jsonld' 'python-pyrdfa3' 'python-mf2py' 'python-six' 'python-w3lib' 'python-html-text' 'python-jstyleson')
12makedepends=('python-setuptools')
13source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
14sha256sums=('7bb956c55eea39fddfb0b827a676abb19abac2af009c1b420b3a004f3e2b1262')
15
16build() {
17 cd "${_pkgname}-${pkgver}"
18 python setup.py build
19}
20
21package() {
22 cd "${_pkgname}-${pkgver}"
23 python setup.py install --root="$pkgdir" --optimize=1
24 install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
25}