# This file is part of BlackArch Linux ( https://blackarch.org ) # See COPYING for license details. pkgname=python-flask-apscheduler _pkgname=Flask-APScheduler pkgver=1.13.0 pkgrel=1 pkgdesc='Adds APScheduler support to Flask.' arch=('any') url='https://pypi.org/project/Flask-apscheduler/#files' depends=('python' 'python-flask' 'python-dateutil' 'python-apscheduler') makedepends=('python-pip' 'python-build' 'python-wheel') license=('Apache') source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/Flask-APScheduler-$pkgver.tar.gz") sha512sums=('f9615d8f9e857ec8a52f28e7752f0b9987a6fbadddfbc8d49f1a5c46d6e3e9fa2d823db04f6acd047ecc88cbd382d53faa78761461fdfa2866a9036f7343be6b') build() { cd "$_pkgname-$pkgver" python -m build --wheel --outdir="$startdir/dist" } package() { cd "$_pkgname-$pkgver" pip install \ --verbose \ --disable-pip-version-check \ --no-warn-script-location \ --ignore-installed \ --no-compile \ --no-deps \ --root="$pkgdir" \ --prefix=/usr \ --no-index \ --find-links="file://$startdir/dist" \ $_pkgname }