[arch-commits] Commit in python-flask-sqlalchemy/repos/community-any (2 files)
Levente Polyak
anthraxx at archlinux.org
Sun May 9 10:06:09 UTC 2021
Date: Sunday, May 9, 2021 @ 10:06:08
Author: anthraxx
Revision: 929018
archrelease: copy trunk to community-any
Added:
python-flask-sqlalchemy/repos/community-any/PKGBUILD
(from rev 929017, python-flask-sqlalchemy/trunk/PKGBUILD)
Deleted:
python-flask-sqlalchemy/repos/community-any/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-09 10:05:58 UTC (rev 929017)
+++ PKGBUILD 2021-05-09 10:06:08 UTC (rev 929018)
@@ -1,43 +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
-pkgname=python-flask-sqlalchemy
-pkgver=2.4.4
-pkgrel=3
-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=('6a72aababf7f3c76dc70fd178a97ae5616bcf887309a06f5f0d3d09f0c4b82c855c2c65e51a48a89dcbd346444472d73cf159eecc0f6b2fb8665d52d186b6626')
-
-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:
Copied: python-flask-sqlalchemy/repos/community-any/PKGBUILD (from rev 929017, python-flask-sqlalchemy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-09 10:06:08 UTC (rev 929018)
@@ -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.5.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=('6780213b959bbc43306bad97ff6d3bf120baeff26cdaeba84b98b1b5b288a78fcbe80884e5342e8907bdfd2a7acd87aa0a8e761018bf8662b9509c1227b443cd')
+
+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/1/${_pyname}.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list