Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / python-flask-login
Commits: 38d99dc2 by loqs at 2024-03-09T20:02:35+00:00 Change to a PEP 517 based workflow - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -8,14 +8,14 @@ arch=('any') url="https://pythonhosted.org/Flask-Login/" license=('MIT') depends=('python' 'python-flask' 'python-werkzeug') -makedepends=('python-setuptools') +makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel') checkdepends=('python-nose' 'python-blinker' 'python-semantic-version' 'python-asgiref') source=("https://github.com/maxcountryman/flask-login/archive/$pkgver/$pkgname-$pkgver.tar.gz") sha512sums=('c421f85387b9ba0ba2ad98053cae596dd9bf6119c0a366d2b13c483d4fbf45afc0c0e4d46f35368f42fa088398ace9a0a0aab931826d8612d94f55b95afef71b') build() { cd flask-login-$pkgver - python setup.py build + python -m build --wheel --no-isolation } # Tests unsupported with flask 2.0+ @@ -27,7 +27,7 @@ build() { package() { cd flask-login-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl install -Dm 644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname install -Dm 644 README.md -t "$pkgdir"/usr/share/doc/$pkgname View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-flask-login/-/commit/38d99dc2f4cffb25da3618b664a1689f60cdd67a -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-flask-login/-/commit/38d99dc2f4cffb25da3618b664a1689f60cdd67a You're receiving this email because of your account on gitlab.archlinux.org.