Date: Sunday, October 3, 2021 @ 15:40:21 Author: jelle Revision: 1027197
archrelease: copy trunk to community-any Added: python-flask-security-too/repos/community-any/PKGBUILD (from rev 1027196, python-flask-security-too/trunk/PKGBUILD) Deleted: python-flask-security-too/repos/community-any/PKGBUILD ----------+ PKGBUILD | 116 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 58 insertions(+), 58 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-10-03 15:40:12 UTC (rev 1027196) +++ PKGBUILD 2021-10-03 15:40:21 UTC (rev 1027197) @@ -1,58 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> - -_pkgname=flask-security -pkgname=python-flask-security-too -pkgver=4.0.1 -pkgrel=1 -pkgdesc='Quick and simple security for Flask applications' -url='https://github.com/jwag956/flask-security' -arch=('any') -license=('MIT') -depends=('python' 'python-flask' 'python-flask-login' 'python-flask-mail' 'python-flask-principal' - 'python-flask-wtf' 'python-flask-babelex' 'python-itsdangerous' 'python-passlib') -makedepends=('python-flask' 'python-flask-login' 'python-flask-mail' 'python-flask-principal' - 'python-flask-wtf' 'python-flask-babelex' 'python-itsdangerous' 'python-passlib' - 'python-sphinx' 'python-setuptools' 'python-pallets-sphinx-themes' 'python-sphinx-issues') -#checkdepends=('python-pytest' 'python-pytest-runner' 'python-pytest-cov' 'python-pytest-cache' - #'python-mock' 'python-sqlalchemy' 'python-flask-sqlalchemy' 'python-bcrypt' 'python-pony') -provides=('python-flask-security') -conflicts=('python-flask-security') -source=(https://github.com/jwag956/flask-security/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) -sha512sums=('ea541cb40679432dea67ffc0bc640147c518e07b7e83a01e3beacc156d0a9198a33da3f458a9219b04148c011f1a26f1a4019a216904239efea3b57e65f3cb45') -b2sums=('38e352dab5fe687211240011d844a1d5f6c0b5fcbb10752960f7ff5de14f5aa2e30ed9bdadda6684a3bc99e176edb7b8937d99322b4c131e22e87b273896c391') - -prepare() { - cd ${_pkgname}-${pkgver} - sed -e 's/ --translations//' \ - -e 's/ --pep8//' \ - -e 's/ --black//' \ - -e 's/ --flake8//' \ - -e 's/ --flakes//' \ - -i pytest.ini -} - -build() { - cd ${_pkgname}-${pkgver} - export PYTHONHASHSEED=0 - python setup.py build - sphinx-build -b text docs docs/_build/text - sphinx-build -b man docs docs/_build/man -} - -# TODO: test marks not compatible with latest pytest -#check() { - #cd ${_pkgname}-${pkgver} - #PYTHONPATH=. py.test -#} - -package() { - cd ${_pkgname}-${pkgver} - python setup.py install --root="${pkgdir}" --optimize=1 --skip-build - install -Dm 644 README.rst CHANGES.rst -t "${pkgdir}/usr/share/doc/${pkgname}" - install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" - install -Dm 644 docs/_build/text/*.txt -t "${pkgdir}/usr/share/doc/${pkgname}" - install -Dm 644 docs/_build/man/flask-security.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1" - install -Dm 644 docs/_build/man/flask-security.1 "${pkgdir}/usr/share/man/man1/python-flask-security.1" -} - -# vim: ts=2 sw=2 et: Copied: python-flask-security-too/repos/community-any/PKGBUILD (from rev 1027196, python-flask-security-too/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-10-03 15:40:21 UTC (rev 1027197) @@ -0,0 +1,58 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> + +_pkgname=flask-security +pkgname=python-flask-security-too +pkgver=4.0.1 +pkgrel=2 +pkgdesc='Quick and simple security for Flask applications' +url='https://github.com/jwag956/flask-security' +arch=('any') +license=('MIT') +depends=('python' 'python-flask' 'python-flask-login' 'python-flask-mail' 'python-flask-principal' + 'python-flask-wtf' 'python-flask-babelex' 'python-itsdangerous' 'python-passlib' + 'python-email-validator') +makedepends=('python-flask' 'python-flask-login' 'python-flask-mail' 'python-flask-principal' + 'python-flask-wtf' 'python-flask-babelex' 'python-itsdangerous' 'python-passlib' + 'python-sphinx' 'python-setuptools' 'python-pallets-sphinx-themes' 'python-sphinx-issues') +#checkdepends=('python-pytest' 'python-pytest-runner' 'python-pytest-cov' 'python-pytest-cache' + #'python-mock' 'python-sqlalchemy' 'python-flask-sqlalchemy' 'python-bcrypt' 'python-pony') +provides=('python-flask-security') +conflicts=('python-flask-security') +source=(https://github.com/jwag956/flask-security/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha512sums=('ea541cb40679432dea67ffc0bc640147c518e07b7e83a01e3beacc156d0a9198a33da3f458a9219b04148c011f1a26f1a4019a216904239efea3b57e65f3cb45') +b2sums=('38e352dab5fe687211240011d844a1d5f6c0b5fcbb10752960f7ff5de14f5aa2e30ed9bdadda6684a3bc99e176edb7b8937d99322b4c131e22e87b273896c391') + +prepare() { + cd ${_pkgname}-${pkgver} + sed -e 's/ --translations//' \ + -e 's/ --pep8//' \ + -e 's/ --black//' \ + -e 's/ --flake8//' \ + -e 's/ --flakes//' \ + -i pytest.ini +} + +build() { + cd ${_pkgname}-${pkgver} + python setup.py build + sphinx-build -b text docs docs/_build/text + sphinx-build -b man docs docs/_build/man +} + +# TODO: test marks not compatible with latest pytest +#check() { + #cd ${_pkgname}-${pkgver} + #PYTHONPATH=. py.test +#} + +package() { + cd ${_pkgname}-${pkgver} + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + install -Dm 644 README.rst CHANGES.rst -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm 644 docs/_build/text/*.txt -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 docs/_build/man/flask-security.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1" + install -Dm 644 docs/_build/man/flask-security.1 "${pkgdir}/usr/share/man/man1/python-flask-security.1" +} + +# vim: ts=2 sw=2 et: