From 0ca7adc3a81f7947cbae7d3ff8e5547eaf601d27 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Thu, 4 Jan 2024 20:59:49 -0500 Subject: [PATCH] user/py3-recipe-scrapers: new aport --- user/py3-recipe-scrapers/APKBUILD | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 user/py3-recipe-scrapers/APKBUILD diff --git a/user/py3-recipe-scrapers/APKBUILD b/user/py3-recipe-scrapers/APKBUILD new file mode 100644 index 0000000..8819f6f --- /dev/null +++ b/user/py3-recipe-scrapers/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Antoine Martin (ayakael) +# Maintainer: Antoine Martin (ayakael) +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 +"