diff options
author | Yigit Sever | 2021-09-29 16:33:16 +0300 |
---|---|---|
committer | Yigit Sever | 2021-09-29 17:14:09 +0300 |
commit | 475d0e56448740d8b37a1b34aba0fdf95ac054cd (patch) | |
tree | 59df683d8fe38536419a465f6828b4d4cd3fc2c5 | |
download | packages-475d0e56448740d8b37a1b34aba0fdf95ac054cd.tar.gz packages-475d0e56448740d8b37a1b34aba0fdf95ac054cd.tar.bz2 packages-475d0e56448740d8b37a1b34aba0fdf95ac054cd.zip |
Initial commit v0.13.0
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..f5f4a33 --- /dev/null +++ b/.SRCINFO | |||
@@ -0,0 +1,23 @@ | |||
1 | pkgbase = python-extruct | ||
2 | pkgdesc = Extract embedded metadata from HTML markup | ||
3 | pkgver = 0.13.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-w3lib | ||
18 | depends = python-html-text | ||
19 | depends = python-jstyleson | ||
20 | source = python-extruct-0.13.0.tar.gz::https://github.com/scrapinghub/extruct/archive/v0.13.0.tar.gz | ||
21 | sha256sums = 2bf4d8aaf9cfd2ea27bac256e5cabd601a480a47f49b9531ac8bfe3b42a9c74f | ||
22 | |||
23 | pkgname = python-extruct | ||
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..3737ea3 --- /dev/null +++ b/PKGBUILD | |||
@@ -0,0 +1,23 @@ | |||
1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> | ||
2 | pkgname=python-extruct | ||
3 | _pkgname=extruct | ||
4 | pkgver=0.13.0 | ||
5 | pkgrel=1 | ||
6 | pkgdesc="Extract embedded metadata from HTML markup" | ||
7 | arch=('any') | ||
8 | url="https://github.com/scrapinghub/extruct" | ||
9 | license=('custom') | ||
10 | depends=('python-lxml' 'python-requests' 'python-rdflib' 'python-rdflib-jsonld' 'python-pyrdfa3' 'python-mf2py' 'python-six' 'python-w3lib' 'python-html-text' 'python-jstyleson') | ||
11 | makedepends=('python-setuptools') | ||
12 | source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") | ||
13 | sha256sums=('2bf4d8aaf9cfd2ea27bac256e5cabd601a480a47f49b9531ac8bfe3b42a9c74f') | ||
14 | |||
15 | build() { | ||
16 | cd "${_pkgname}-${pkgver}" | ||
17 | python setup.py build | ||
18 | } | ||
19 | |||
20 | package() { | ||
21 | cd "${_pkgname}-${pkgver}" | ||
22 | python setup.py install --root="$pkgdir" --optimize=1 | ||
23 | } | ||