user/py3-recipe-scrapers: new aport
This commit is contained in:
parent
7083e622eb
commit
0ca7adc3a8
1 changed files with 32 additions and 0 deletions
32
user/py3-recipe-scrapers/APKBUILD
Normal file
32
user/py3-recipe-scrapers/APKBUILD
Normal file
|
@ -0,0 +1,32 @@
|
|||
# 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
|
||||
"
|
Loading…
Reference in a new issue