Daniel M. Capella pushed to branch main at Arch Linux / Packaging / Packages / python-flask-nav
Commits: 6c0675e3 by loqs at 2024-02-28T17:48:51+00:00 Remove pytest-runner - - - - - a36c6a45 by loqs at 2024-02-28T17:49:10+00:00 Change to a PEP 517 based workflow - - - - - 2f1801b4 by Daniel M. Capella at 2024-02-28T18:52:16-05:00 Add SRCINFO - - - - - 2 changed files: - + .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -0,0 +1,21 @@ +pkgbase = python-flask-nav + pkgdesc = Easily create navigation for Flask applications + pkgver = 0.6 + pkgrel = 7 + url = https://github.com/mbr/flask-nav + arch = any + license = MIT + checkdepends = python-pytest + makedepends = python-setuptools + makedepends = python-build + makedepends = python-installer + makedepends = python-wheel + depends = python-flask + depends = python-visitor + depends = python-dominate + source = python-flask-nav-0.6.tar.gz::https://github.com/mbr/flask-nav/archive/0.6.tar.gz + source = python310.patch + sha512sums = a7930687425a53fac9ad9a7cb65c2e2a759a0c9660189965bf37ea6e9925dd869074d37a283801631b3e6c3391f9f4167e0a36294104f72970e876b5a7a0930c + sha512sums = 27841a43aa185e0cd7ddd49bdef7f7d1884f3b8068dcb59e7902d16f02d4920b05e38a83f6873c8d735bc8884c7e02f5cb29c3368474ccd289e9e52686b491e1 + +pkgname = python-flask-nav ===================================== PKGBUILD ===================================== @@ -8,8 +8,8 @@ url="https://github.com/mbr/flask-nav" license=('MIT') arch=('any') depends=('python-flask' 'python-visitor' 'python-dominate') -makedepends=('python-setuptools') -checkdepends=('python-pytest-runner') +makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel') +checkdepends=('python-pytest') source=("$pkgname-$pkgver.tar.gz::https://github.com/mbr/flask-nav/archive/$pkgver.tar.gz" python310.patch) sha512sums=('a7930687425a53fac9ad9a7cb65c2e2a759a0c9660189965bf37ea6e9925dd869074d37a283801631b3e6c3391f9f4167e0a36294104f72970e876b5a7a0930c' @@ -22,16 +22,16 @@ prepare() { build() { cd flask-nav-$pkgver - python setup.py build + python -m build --wheel --no-isolation } check() { cd flask-nav-$pkgver - python setup.py pytest + PYTHONPATH="$PWD" pytest } package() { cd flask-nav-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-flask-nav/-/compare/9d640995f615aeb42f478e96a51437fd53343617...2f1801b49a69a4ba3cb236886753bc160111a502 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-flask-nav/-/compare/9d640995f615aeb42f478e96a51437fd53343617...2f1801b49a69a4ba3cb236886753bc160111a502 You're receiving this email because of your account on gitlab.archlinux.org.