Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • archlinux/packaging/packages/python-flask-debug
1 result
Show changes
Commits on Source (3)
pkgbase = python-flask-debug
pkgdesc = A small debugging helper for Flask
pkgver = 0.4.3
pkgrel = 7
url = https://github.com/mbr/flask-debug
arch = any
license = MIT
checkdepends = python-pytest
makedepends = python-setuptools
makedepends = python-build
makedepends = python-installer
makedepends = python-wheel
depends = python-flask
depends = python-inflection
source = python-flask-debug-0.4.3.tar.gz::https://github.com/mbr/flask-debug/archive/0.4.3.tar.gz
sha512sums = 7bc1cf9f88f28e2ca5a24c1454dcdb4e2a450eff3c00329f299c3840032e0803079f565652974f4c3a0e5aac443365ce47a3d2c2fee8e21e2e0c7150367e8816
pkgname = python-flask-debug
......@@ -8,23 +8,23 @@ url="https://github.com/mbr/flask-debug"
license=('MIT')
arch=('any')
depends=('python-flask' 'python-inflection')
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-debug/archive/$pkgver.tar.gz")
sha512sums=('7bc1cf9f88f28e2ca5a24c1454dcdb4e2a450eff3c00329f299c3840032e0803079f565652974f4c3a0e5aac443365ce47a3d2c2fee8e21e2e0c7150367e8816')
build() {
cd Flask-Debug-$pkgver
python setup.py build
python -m build --wheel --no-isolation
}
check() {
cd Flask-Debug-$pkgver
python setup.py pytest
PYTHONPATH="$PWD" pytest
}
package() {
cd Flask-Debug-$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
}