[arch-commits] Commit in python-flask-migrate/repos (2 files)
Date: Tuesday, November 10, 2020 @ 04:05:08 Author: foutrelis Revision: 748455 archrelease: copy trunk to community-staging-any Added: python-flask-migrate/repos/community-staging-any/ python-flask-migrate/repos/community-staging-any/PKGBUILD (from rev 748454, python-flask-migrate/trunk/PKGBUILD) --+ PKGBUILD | 39 +++ 1 file changed, 39 insertions(+) Copied: python-flask-migrate/repos/community-staging-any/PKGBUILD (from rev 748454, python-flask-migrate/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2020-11-10 04:05:08 UTC (rev 748455) @@ -0,0 +1,39 @@ +# Maintainer: Levente Polyak +# Contributor: Anthony25 + +_pkgname=Flask-Migrate +pkgname=python-flask-migrate +pkgver=2.5.3 +pkgrel=2 +pkgdesc='SQLAlchemy database migrations for Flask applications using Alembic..' +url='https://github.com/miguelgrinberg/Flask-Migrate/' +arch=('any') +license=('MIT') +depends=('python' 'python-alembic' 'python-flask' 'python-flask-script' 'python-flask-sqlalchemy' + 'python-setuptools') +makedepends=('python-sphinx') +source=(https://github.com/miguelgrinberg/Flask-Migrate/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha256sums=('4af1feb1b5e5a0332c11c3ebe7981228719776b73c0bfa28b4aead541dff46d8') +sha512sums=('f9fff3d94d07a5d79bdd40b04cfe808c40915c3f4e48b0db8f5268897892591604480612aefb1587bc9736fbca023bd5738f5d168f16e6460568151521fa4609') + +build() { + cd ${_pkgname}-${pkgver} + python setup.py build + make -j1 -C docs man text SPHINXBUILD=sphinx-build +} + +check() { + cd ${_pkgname}-${pkgver} + python setup.py test +} + +package() { + cd ${_pkgname}-${pkgver} + python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build + install -Dm 644 README.md CHANGES.md -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm 644 docs/_build/text/* -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 docs/_build/man/flask-migrate.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1" +} + +# vim: ts=2 sw=2 et:
[arch-commits] Commit in python-flask-migrate/repos (2 files)
Date: Saturday, October 26, 2019 @ 16:01:20 Author: felixonmars Revision: 520416 archrelease: copy trunk to community-staging-any Added: python-flask-migrate/repos/community-staging-any/ python-flask-migrate/repos/community-staging-any/PKGBUILD (from rev 520415, python-flask-migrate/trunk/PKGBUILD) --+ PKGBUILD | 67 + 1 file changed, 67 insertions(+) Copied: python-flask-migrate/repos/community-staging-any/PKGBUILD (from rev 520415, python-flask-migrate/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2019-10-26 16:01:20 UTC (rev 520416) @@ -0,0 +1,67 @@ +# Maintainer: Levente Polyak +# Contributor: Anthony25 + +_pkgname=Flask-Migrate +pkgbase=python-flask-migrate +pkgname=('python-flask-migrate' 'python2-flask-migrate') +pkgver=2.5.2 +pkgrel=2 +pkgdesc='SQLAlchemy database migrations for Flask applications using Alembic..' +url='https://github.com/miguelgrinberg/Flask-Migrate/' +arch=('any') +license=('MIT') +makedepends=('python-alembic' 'python-flask' 'python-flask-script' 'python-flask-sqlalchemy' 'python-setuptools' 'python-sphinx' + 'python2-alembic' 'python2-flask' 'python2-flask-script' 'python2-flask-sqlalchemy' 'python2-setuptools' 'python2-sphinx') +source=(https://github.com/miguelgrinberg/Flask-Migrate/archive/v${pkgver}/${pkgbase}-${pkgver}.tar.gz) +sha256sums=('ddf53166d92f29c5b6aca4abf6371d2e596dcd22a03ecaa8ba6a2393adf222eb') +sha512sums=('f7355bfa41972c93b8975e37dc8ab01935ff71fcced7198cf9db015f9f88df07b82b1841e938611fe3272a3f7df2fb878568ba0d17fdb87e81b46dec03bc2565') + +prepare() { + cp -ra ${_pkgname}-${pkgver}{,-py2} +} + +build() { + msg2 "Building python..." + (cd ${_pkgname}-${pkgver} +python setup.py build +make -j1 -C docs man text SPHINXBUILD=sphinx-build + ) + msg2 "Building python2..." + (cd ${_pkgname}-${pkgver}-py2 +python2 setup.py build +make -j1 -C docs man text SPHINXBUILD=sphinx-build2 + ) +} + +check() { + msg2 "Checking python..." + (cd ${_pkgname}-${pkgver} +python setup.py test + ) + msg2 "Checking python2..." + (cd ${_pkgname}-${pkgver}-py2 +python2 setup.py test + ) +} + +package_python-flask-migrate() { + depends=('python-alembic' 'python-flask' 'python-flask-script' 'python-flask-sqlalchemy' 'python-setuptools') + cd ${_pkgname}-${pkgver} + python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build + install -Dm 644 README.md CHANGES.md -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm 644 docs/_build/text/* -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 docs/_build/man/flask-migrate.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1" +} + +package_python2-flask-migrate() { + depends=('python2-alembic' 'python2-flask' 'python2-flask-script' 'python2-flask-sqlalchemy' 'python2-setuptools') + cd ${_pkgname}-${pkgver} + python2 setup.py install --root="${pkgdir}/" --optimize=1 --skip-build + install -Dm 644 README.md CHANGES.md -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm 644 docs/_build/text/* -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 docs/_build/man/flask-migrate.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1" +} + +# vim: ts=2 sw=2 et:
[arch-commits] Commit in python-flask-migrate/repos (2 files)
Date: Monday, July 23, 2018 @ 15:31:34 Author: foutrelis Revision: 363020 archrelease: copy trunk to community-staging-any Added: python-flask-migrate/repos/community-staging-any/ python-flask-migrate/repos/community-staging-any/PKGBUILD (from rev 363019, python-flask-migrate/trunk/PKGBUILD) --+ PKGBUILD | 65 + 1 file changed, 65 insertions(+) Copied: python-flask-migrate/repos/community-staging-any/PKGBUILD (from rev 363019, python-flask-migrate/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-07-23 15:31:34 UTC (rev 363020) @@ -0,0 +1,65 @@ +# Maintainer: Levente Polyak +# Contributor: Anthony25 + +_pkgname=Flask-Migrate +pkgbase=python-flask-migrate +pkgname=('python-flask-migrate' 'python2-flask-migrate') +pkgver=2.1.1 +pkgrel=3 +pkgdesc='SQLAlchemy database migrations for Flask applications using Alembic..' +url='https://github.com/miguelgrinberg/Flask-Migrate/' +arch=('any') +license=('MIT') +makedepends=('python-alembic' 'python-flask' 'python-flask-script' 'python-flask-sqlalchemy' 'python-setuptools' 'python-sphinx' + 'python2-alembic' 'python2-flask' 'python2-flask-script' 'python2-flask-sqlalchemy' 'python2-setuptools' 'python2-sphinx') +source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/miguelgrinberg/Flask-Migrate/archive/v${pkgver}.tar.gz) +sha256sums=('883854c9c811746c1d989f4e707e3815d7d3e43316d6cee832e53897737a90e5') +sha512sums=('b7f81f0b256ac975d287d591e6bc9c2adb50579872d7546512b081d687c1b74002491705ce8ff09ad2ef038f8b120af546f331b5315cd876a4446acd9d2d65ba') + +prepare() { + cp -ra ${_pkgname}-${pkgver}{,-py2} +} + +build() { + (cd ${_pkgname}-${pkgver} +python setup.py build +make -j1 -C docs man text SPHINXBUILD=sphinx-build + ) + (cd ${_pkgname}-${pkgver}-py2 +python2 setup.py build +make -j1 -C docs man text SPHINXBUILD=sphinx-build2 + ) +} + +check() { + (cd ${_pkgname}-${pkgver} +python setup.py test + ) + (cd ${_pkgname}-${pkgver}-py2 +python2 setup.py test + ) +} + +package_python-flask-migrate() { + depends=('python-alembic' 'python-flask' 'python-flask-script' 'python-flask-sqlalchemy' 'python-setuptools') + + cd ${_pkgname}-${pkgver} + python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build + install -Dm 644 README.md CHANGELOG.md -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm 644 docs/_build/text/* -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 docs/_build/man/flask-migrate.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1" +} + +package_python2-flask-migrate() { + depends=('python2-alembic' 'python2-flask' 'python2-flask-script' 'python2-flask-sqlalchemy' 'python2-setuptools') + + cd ${_pkgname}-${pkgver} + python2 setup.py install --root="${pkgdir}/" --optimize=1 --skip-build + install -Dm 644 README.md CHANGELOG.md -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm 644 docs/_build/text/* -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 docs/_build/man/flask-migrate.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1" +} + +# vim: ts=2 sw=2 et:
[arch-commits] Commit in python-flask-migrate/repos (2 files)
Date: Thursday, September 14, 2017 @ 15:45:38 Author: anthraxx Revision: 257531 archrelease: copy trunk to community-any Added: python-flask-migrate/repos/community-any/ python-flask-migrate/repos/community-any/PKGBUILD (from rev 257530, python-flask-migrate/trunk/PKGBUILD) --+ PKGBUILD | 65 + 1 file changed, 65 insertions(+) Copied: python-flask-migrate/repos/community-any/PKGBUILD (from rev 257530, python-flask-migrate/trunk/PKGBUILD) === --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2017-09-14 15:45:38 UTC (rev 257531) @@ -0,0 +1,65 @@ +# Maintainer: Levente Polyak+# Contributor: Anthony25 + +_pkgname=Flask-Migrate +pkgbase=python-flask-migrate +pkgname=('python-flask-migrate' 'python2-flask-migrate') +pkgver=2.1.1 +pkgrel=2 +pkgdesc='SQLAlchemy database migrations for Flask applications using Alembic..' +url='https://github.com/miguelgrinberg/Flask-Migrate/' +arch=('any') +license=('MIT') +makedepends=('python-alembic' 'python-flask' 'python-flask-script' 'python-flask-sqlalchemy' 'python-setuptools' 'python-sphinx' + 'python2-alembic' 'python2-flask' 'python2-flask-script' 'python2-flask-sqlalchemy' 'python2-setuptools' 'python2-sphinx') +source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/miguelgrinberg/Flask-Migrate/archive/v${pkgver}.tar.gz) +sha256sums=('883854c9c811746c1d989f4e707e3815d7d3e43316d6cee832e53897737a90e5') +sha512sums=('b7f81f0b256ac975d287d591e6bc9c2adb50579872d7546512b081d687c1b74002491705ce8ff09ad2ef038f8b120af546f331b5315cd876a4446acd9d2d65ba') + +prepare() { + cp -ra ${_pkgname}-${pkgver}{,-py2} +} + +build() { + (cd ${_pkgname}-${pkgver} +python setup.py build +make -j1 -C docs man text SPHINXBUILD=sphinx-build + ) + (cd ${_pkgname}-${pkgver}-py2 +python2 setup.py build +make -j1 -C docs man text SPHINXBUILD=sphinx-build2 + ) +} + +check() { + (cd ${_pkgname}-${pkgver} +python setup.py test + ) + (cd ${_pkgname}-${pkgver}-py2 +python2 setup.py test + ) +} + +package_python-flask-migrate() { + depends=('python-alembic' 'python-flask' 'python-flask-script' 'python-flask-sqlalchemy' 'python-setuptools') + + cd ${_pkgname}-${pkgver} + python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build + install -Dm 644 README.md CHANGELOG.md -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm 644 docs/_build/text/* -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 docs/_build/man/flask-migrate.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1" +} + +package_python2-flask-migrate() { + depends=('python2-alembic' 'python2-flask' 'python2-flask-script' 'python2-flask-sqlalchemy' 'python2-setuptools') + + cd ${_pkgname}-${pkgver} + python2 setup.py install --root="${pkgdir}/" --optimize=1 --skip-build + install -Dm 644 README.md CHANGELOG.md -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm 644 docs/_build/text/* -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 docs/_build/man/flask-migrate.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1" +} + +# vim: ts=2 sw=2 et: