[arch-commits] Commit in python-flask-sqlalchemy/repos/community-any (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Mar 16 14:30:29 UTC 2020
Date: Monday, March 16, 2020 @ 14:30:28
Author: felixonmars
Revision: 599758
archrelease: copy trunk to community-any
Added:
python-flask-sqlalchemy/repos/community-any/PKGBUILD
(from rev 599757, python-flask-sqlalchemy/trunk/PKGBUILD)
Deleted:
python-flask-sqlalchemy/repos/community-any/PKGBUILD
----------+
PKGBUILD | 111 +++++++++++++++++++++++--------------------------------------
1 file changed, 43 insertions(+), 68 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-16 14:30:12 UTC (rev 599757)
+++ PKGBUILD 2020-03-16 14:30:28 UTC (rev 599758)
@@ -1,68 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Serge Victor <arch at random.re>
-# Contributor: Kevin Azzam <aur at azz.am>
-
-_pyname=flask-sqlalchemy
-pkgbase=python-flask-sqlalchemy
-pkgname=('python-flask-sqlalchemy' 'python2-flask-sqlalchemy')
-pkgver=2.4.0
-pkgrel=3
-pkgdesc='Adds SQLAlchemy support to your Flask application'
-url='http://flask-sqlalchemy.pocoo.org/'
-arch=('any')
-license=('BSD')
-makedepends=('python-setuptools' 'python-flask' 'python-sqlalchemy'
- 'python2-setuptools' 'python2-flask' 'python2-sqlalchemy'
- 'python-sphinx' 'python-pallets-sphinx-themes' 'python-sphinx-issues')
-checkdepends=('python-pytest' 'python-blinker' 'python-mock'
- 'python2-pytest' 'python2-blinker' 'python2-mock')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/mitsuhiko/flask-sqlalchemy/archive/${pkgver}.tar.gz)
-sha256sums=('bf8c585851e6c8971751a6d23fa7a3f9bf26d8a4b0c1eff08583224a7ed62b2f')
-sha512sums=('4a5f247527ea07d58004d532365c955364c0999a0214b63fa1a96f3baf17e86e4a7a0d8f911e83fe965e5e9b23427c315ecfa83634379bf70c7b028f526518d5')
-
-prepare() {
- sed -r "s|(release =)|\\1 '${pkgver}' #|" -i ${_pyname}-${pkgver}/docs/conf.py
- cp -a ${_pyname}-${pkgver}{,-py2}
-}
-
-build() {
- (cd ${_pyname}-${pkgver}
- python setup.py build
- make -j1 -C docs man text SPHINXBUILD=sphinx-build PYTHONPATH=..
- )
- (cd ${_pyname}-${pkgver}-py2
- python2 setup.py build
- make -j1 -C docs man text SPHINXBUILD=sphinx-build PYTHONPATH=..
- )
-}
-
-check() {
- (cd ${_pyname}-${pkgver}
- PYTHONPATH=".:${PYTHONPATH}" py.test
- )
- (cd ${_pyname}-${pkgver}-py2
- PYTHONPATH=".:${PYTHONPATH}" py.test2
- )
-}
-
-package_python-flask-sqlalchemy() {
- depends=('python-flask' 'python-sqlalchemy')
- cd ${_pyname}-${pkgver}
- python setup.py install --root="${pkgdir}" -O1 --skip-build
- install -Dm 644 LICENSE.rst -t "${pkgdir}/usr/share/licenses/${pkgname}"
- install -Dm 644 CHANGES.rst README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
- cp -r docs/_build/text "${pkgdir}/usr/share/doc/${pkgname}/text"
- install -Dm 644 docs/_build/man/${_pyname}.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
-}
-
-package_python2-flask-sqlalchemy() {
- depends=('python2-flask' 'python2-sqlalchemy')
- cd ${_pyname}-${pkgver}-py2
- python2 setup.py install --root="${pkgdir}" -O1 --skip-build
- install -Dm 644 LICENSE.rst -t "${pkgdir}/usr/share/licenses/${pkgname}"
- install -Dm 644 CHANGES.rst README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
- cp -r docs/_build/text "${pkgdir}/usr/share/doc/${pkgname}/text"
- install -Dm 644 docs/_build/man/${_pyname}.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
-}
-
-# vim: ts=2 sw=2 et:
Copied: python-flask-sqlalchemy/repos/community-any/PKGBUILD (from rev 599757, python-flask-sqlalchemy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-16 14:30:28 UTC (rev 599758)
@@ -0,0 +1,43 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Serge Victor <arch at random.re>
+# Contributor: Kevin Azzam <aur at azz.am>
+
+_pyname=flask-sqlalchemy
+pkgname=python-flask-sqlalchemy
+pkgver=2.4.1
+pkgrel=1
+pkgdesc='Adds SQLAlchemy support to your Flask application'
+url='http://flask-sqlalchemy.pocoo.org/'
+arch=('any')
+license=('BSD')
+depends=('python-flask' 'python-sqlalchemy')
+makedepends=('python-setuptools' 'python-sphinx' 'python-pallets-sphinx-themes' 'python-sphinx-issues')
+checkdepends=('python-pytest' 'python-blinker' 'python-mock')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/mitsuhiko/flask-sqlalchemy/archive/${pkgver}.tar.gz)
+sha512sums=('fac982399eb59ea30af1ff2f1babc60944b438f8b5f544a9b1c31555d468d5c57ca13845ea1014aaae7bcb1485a6aa1fcad08fbe38167f0931ba42dc60f770ed')
+
+prepare() {
+ sed -r "s|(release =)|\\1 '${pkgver}' #|" -i ${_pyname}-${pkgver}/docs/conf.py
+}
+
+build() {
+ cd ${_pyname}-${pkgver}
+ python setup.py build
+ make -j1 -C docs man text SPHINXBUILD=sphinx-build PYTHONPATH=..
+}
+
+check() {
+ cd ${_pyname}-${pkgver}
+ PYTHONPATH=".:${PYTHONPATH}" py.test
+}
+
+package() {
+ cd ${_pyname}-${pkgver}
+ python setup.py install --root="${pkgdir}" -O1 --skip-build
+ install -Dm 644 LICENSE.rst -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -Dm 644 CHANGES.rst README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+ cp -r docs/_build/text "${pkgdir}/usr/share/doc/${pkgname}/text"
+ install -Dm 644 docs/_build/man/${_pyname}.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list