[arch-commits] Commit in python-flask-sqlalchemy/repos/community-any (2 files)

Levente Polyak anthraxx at archlinux.org
Wed Mar 29 19:38:21 UTC 2017


    Date: Wednesday, March 29, 2017 @ 19:38:20
  Author: anthraxx
Revision: 219966

archrelease: copy trunk to community-any

Added:
  python-flask-sqlalchemy/repos/community-any/PKGBUILD
    (from rev 219965, python-flask-sqlalchemy/trunk/PKGBUILD)
Deleted:
  python-flask-sqlalchemy/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  128 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 64 insertions(+), 64 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-29 19:38:10 UTC (rev 219965)
+++ PKGBUILD	2017-03-29 19:38:20 UTC (rev 219966)
@@ -1,64 +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.1
-pkgrel=3
-pkgdesc='Adds SQLAlchemy support to your Flask application'
-url='http://flask-sqlalchemy.pocoo.org/'
-arch=('any')
-license=('BSD')
-makedepends=('python-setuptools' 'python-sphinx' 'python-flask' 'python-sqlalchemy'
-             'python2-setuptools' 'python2-sphinx' 'python2-flask' 'python2-sqlalchemy')
-checkdepends=('python-pytest' 'python-blinker'
-              'python2-pytest' 'python2-blinker')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/mitsuhiko/flask-sqlalchemy/archive/${pkgver}.tar.gz)
-sha512sums=('46f4920cdfdf7cadd73be03a9d70cd4f8bfb96ed025b7141ec8b6269cc86316f1b0803a33fb41b19fda070019d34f5e94d224370a468e63dcd6960af83b20cf3')
-
-prepare() {
-  sed -r "s|(release =)|\\1 '${pkgver}'  #|" -i ${_pyname}-${pkgver}/docs/conf.py
-  cp -a ${_pyname}-${pkgver}{,-py2}
-}
-
-build() {
-  (cd ${_pyname}-${pkgver}
-    make -C docs man text SPHINXBUILD=sphinx-build
-  )
-  (cd ${_pyname}-${pkgver}-py2
-    make -C docs man text SPHINXBUILD=sphinx-build2
-  )
-}
-
-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
-  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -Dm 644 CHANGES README  -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}
-  python2 setup.py install --root="${pkgdir}" -O1
-  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -Dm 644 CHANGES README  -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 219965, python-flask-sqlalchemy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-03-29 19:38:20 UTC (rev 219966)
@@ -0,0 +1,64 @@
+# 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.2
+pkgrel=1
+pkgdesc='Adds SQLAlchemy support to your Flask application'
+url='http://flask-sqlalchemy.pocoo.org/'
+arch=('any')
+license=('BSD')
+makedepends=('python-setuptools' 'python-sphinx' 'python-flask' 'python-sqlalchemy'
+             'python2-setuptools' 'python2-sphinx' 'python2-flask' 'python2-sqlalchemy')
+checkdepends=('python-pytest' 'python-blinker'
+              'python2-pytest' 'python2-blinker')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/mitsuhiko/flask-sqlalchemy/archive/${pkgver}.tar.gz)
+sha512sums=('73a8a088d67eed27c54b5becbb7319583fed0f89c59bc1170d62b237b21bc9037df3173699a9eb5e2cac2b2d59c84cfa9e1d2f142d46292e72d6bb283a35c1ce')
+
+prepare() {
+  sed -r "s|(release =)|\\1 '${pkgver}'  #|" -i ${_pyname}-${pkgver}/docs/conf.py
+  cp -a ${_pyname}-${pkgver}{,-py2}
+}
+
+build() {
+  (cd ${_pyname}-${pkgver}
+    make -C docs man text SPHINXBUILD=sphinx-build
+  )
+  (cd ${_pyname}-${pkgver}-py2
+    make -C docs man text SPHINXBUILD=sphinx-build2
+  )
+}
+
+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
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 CHANGES README  -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}
+  python2 setup.py install --root="${pkgdir}" -O1
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 CHANGES README  -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