blob: fa701204f6e0cfd163689e72e6c8656b9ce1e8fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Maintainer: Xavier Francisco <echo moc.liamg@ocsicnarf.n.reivax | rev>
pkgname=python-ultimate-sitemap-parser
_pkgname=ultimate-sitemap-parser
pkgver=1.8.0
pkgrel=1
pkgdesc="A performant library for parsing and crawling sitemaps"
arch=('any')
url="https://github.com/GateNLP/ultimate-sitemap-parser"
license=('GPL-3.0-or-later')
depends=('python' 'python-dateutil' 'python-requests')
makedepends=('python-build' 'python-installer')
source=("$_pkgname-$pkgver.tar.gz::https://github.com/GateNLP/ultimate-sitemap-parser/archive/$pkgver.tar.gz")
sha256sums=('SKIP')
build() {
cd "$_pkgname-$pkgver"
python -m build --wheel
}
package() {
cd "$_pkgname-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|