diff options
-rw-r--r-- | python-extruct/.SRCINFO | 22 | ||||
-rw-r--r-- | python-extruct/PKGBUILD | 25 |
2 files changed, 0 insertions, 47 deletions
diff --git a/python-extruct/.SRCINFO b/python-extruct/.SRCINFO deleted file mode 100644 index dea3e06..0000000 --- a/python-extruct/.SRCINFO +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | pkgbase = 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 | |||
22 | pkgname = python-extruct | ||
diff --git a/python-extruct/PKGBUILD b/python-extruct/PKGBUILD deleted file mode 100644 index 2c7b5a9..0000000 --- a/python-extruct/PKGBUILD +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> | ||
2 | |||
3 | pkgname=python-extruct | ||
4 | _pkgname=extruct | ||
5 | pkgver=0.14.0 | ||
6 | pkgrel=1 | ||
7 | pkgdesc="Extract embedded metadata from HTML markup" | ||
8 | arch=('any') | ||
9 | url="https://github.com/scrapinghub/extruct" | ||
10 | license=('custom') | ||
11 | depends=('python-lxml' 'python-requests' 'python-rdflib' 'python-rdflib-jsonld' 'python-pyrdfa3' 'python-mf2py' 'python-six' 'python-w3lib' 'python-html-text' 'python-jstyleson') | ||
12 | makedepends=('python-setuptools') | ||
13 | source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") | ||
14 | sha256sums=('7bb956c55eea39fddfb0b827a676abb19abac2af009c1b420b3a004f3e2b1262') | ||
15 | |||
16 | build() { | ||
17 | cd "${_pkgname}-${pkgver}" | ||
18 | python setup.py build | ||
19 | } | ||
20 | |||
21 | package() { | ||
22 | cd "${_pkgname}-${pkgver}" | ||
23 | python setup.py install --root="$pkgdir" --optimize=1 | ||
24 | install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/" | ||
25 | } | ||