[arch-commits] Commit in python-flask-migrate/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Nov 3 23:01:44 UTC 2019
Date: Sunday, November 3, 2019 @ 23:01:43
Author: felixonmars
Revision: 522787
archrelease: copy trunk to community-staging-any
Added:
python-flask-migrate/repos/community-staging-any/PKGBUILD
(from rev 522786, python-flask-migrate/trunk/PKGBUILD)
Deleted:
python-flask-migrate/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 107 ++++++++++++++++++++++---------------------------------------
1 file changed, 40 insertions(+), 67 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-03 23:01:28 UTC (rev 522786)
+++ PKGBUILD 2019-11-03 23:01:43 UTC (rev 522787)
@@ -1,67 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Anthony25 <Anthony Ruhier>
-
-_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:
Copied: python-flask-migrate/repos/community-staging-any/PKGBUILD (from rev 522786, python-flask-migrate/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-11-03 23:01:43 UTC (rev 522787)
@@ -0,0 +1,40 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Anthony25 <Anthony Ruhier>
+
+_pkgname=Flask-Migrate
+pkgname=python-flask-migrate
+pkgver=2.5.2
+pkgrel=3
+pkgdesc='SQLAlchemy database migrations for Flask applications using Alembic..'
+url='https://github.com/miguelgrinberg/Flask-Migrate/'
+arch=('any')
+license=('MIT')
+depends=('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=('ddf53166d92f29c5b6aca4abf6371d2e596dcd22a03ecaa8ba6a2393adf222eb')
+sha512sums=('f7355bfa41972c93b8975e37dc8ab01935ff71fcced7198cf9db015f9f88df07b82b1841e938611fe3272a3f7df2fb878568ba0d17fdb87e81b46dec03bc2565')
+
+build() {
+ msg2 "Building python..."
+ cd ${_pkgname}-${pkgver}
+ python setup.py build
+ make -j1 -C docs man text SPHINXBUILD=sphinx-build
+}
+
+check() {
+ msg2 "Checking python..."
+ 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:
More information about the arch-commits
mailing list