[arch-commits] Commit in python-flask-sqlalchemy/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 13:20:53 UTC 2020
Date: Thursday, November 12, 2020 @ 13:20:53
Author: foutrelis
Revision: 751783
archrelease: copy trunk to community-staging-any
Added:
python-flask-sqlalchemy/repos/community-staging-any/PKGBUILD
(from rev 751782, python-flask-sqlalchemy/trunk/PKGBUILD)
Deleted:
python-flask-sqlalchemy/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-12 13:20:49 UTC (rev 751782)
+++ PKGBUILD 2020-11-12 13:20:53 UTC (rev 751783)
@@ -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=2
-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-staging-any/PKGBUILD (from rev 751782, python-flask-sqlalchemy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-12 13:20:53 UTC (rev 751783)
@@ -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.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:
More information about the arch-commits
mailing list