ayaports/user/py3-recipe-scrapers/APKBUILD

32 lines
1 KiB
Text

# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=py3-recipe-scrapers
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
_pkgreal=recipe_scrapers
pkgver=14.53.0
pkgrel=0
pkgdesc="Python package, scraping recipes from all over the internet"
url="https://pypi.python.org/project/recipe-scrapers"
arch="noarch"
license="MIT"
depends="py3-beautifulsoup4 py3-extruct py3-isodate py3-requests"
checkdepends="python3-dev"
makedepends="py3-setuptools py3-gpep517 py3-wheel"
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/r/recipe_scrapers/recipe_scrapers-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
subpackages="$pkgname-pyc"
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 -m installer -d "$pkgdir" \
.dist/*.whl
}
sha512sums="
5a8f7ac802c193c12ce85000fbc83d49bd82080a31e5bb0e9d9de51a8f5053d4e98c69f927b9d518846131151ca7857ce3880c568dc80c14a21f621ee6d69f24 py3-recipe-scrapers-14.53.0.tar.gz
"