Levente Polyak pushed to branch main at Arch Linux / Packaging / Packages / python-flask-talisman
Commits: 0d3a27b6 by loqs at 2026-02-06T21:11:10+00:00 SPDX license identifier https://github.com/wntrblm/flask-talisman/blob/v1.1.0/LICENSE - - - - - feabdbb5 by loqs at 2026-02-06T21:13:04+00:00 Use PEP 517 for building Related https://archlinux.org/todo/use-pep-517-for-building-if-supported/. - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -4,9 +4,12 @@ pkgbase = python-flask-talisman pkgrel = 6 url = https://github.com/wntrblm/flask-talisman arch = any - license = APACHE + license = Apache-2.0 checkdepends = python-pytest + makedepends = python-build + makedepends = python-installer makedepends = python-setuptools + makedepends = python-wheel depends = python-flask source = https://github.com/wntrblm/flask-talisman/archive/v1.1.0/python-flask-talisman-1.1.0.tar.gz sha256sums = 02829a008f7127166d66f3731a57e5cd0bcbb6182e7b8fea30a6cb115d3726a4 ===================================== PKGBUILD ===================================== @@ -8,16 +8,16 @@ pkgrel=6 pkgdesc='HTTP security headers for Flask' url='https://github.com/wntrblm/flask-talisman' arch=('any') -license=('APACHE') +license=('Apache-2.0') depends=('python-flask') -makedepends=('python-setuptools') +makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') checkdepends=('python-pytest') source=(https://github.com/wntrblm/flask-talisman/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz) sha256sums=('02829a008f7127166d66f3731a57e5cd0bcbb6182e7b8fea30a6cb115d3726a4') build() { cd ${_pyname}-${pkgver} - python setup.py build + python -m build --wheel --no-isolation } check() { @@ -27,7 +27,7 @@ check() { package() { cd ${_pyname}-${pkgver} - python setup.py install --root="${pkgdir}" -O1 --skip-build + python -m installer --destdir="$pkgdir" dist/*.whl install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}" } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-flask-talisman/-/compare/9053321f3b33c7aad135f81d97b0cfbbf92010c4...feabdbb5a866a3bc42a29897a40a28cfe75c5439 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-flask-talisman/-/compare/9053321f3b33c7aad135f81d97b0cfbbf92010c4...feabdbb5a866a3bc42a29897a40a28cfe75c5439 You're receiving this email because of your account on gitlab.archlinux.org.
