[arch-commits] Commit in python-flask-migrate/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Thu Aug 9 08:59:09 UTC 2018
Date: Thursday, August 9, 2018 @ 08:59:09
Author: anthraxx
Revision: 370601
archrelease: copy trunk to community-any
Added:
python-flask-migrate/repos/community-any/PKGBUILD
(from rev 370600, python-flask-migrate/trunk/PKGBUILD)
Deleted:
python-flask-migrate/repos/community-any/PKGBUILD
----------+
PKGBUILD | 132 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 67 insertions(+), 65 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-09 08:59:03 UTC (rev 370600)
+++ PKGBUILD 2018-08-09 08:59:09 UTC (rev 370601)
@@ -1,65 +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.1.1
-pkgrel=3
-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=(${pkgbase}-${pkgver}.tar.gz::https://github.com/miguelgrinberg/Flask-Migrate/archive/v${pkgver}.tar.gz)
-sha256sums=('883854c9c811746c1d989f4e707e3815d7d3e43316d6cee832e53897737a90e5')
-sha512sums=('b7f81f0b256ac975d287d591e6bc9c2adb50579872d7546512b081d687c1b74002491705ce8ff09ad2ef038f8b120af546f331b5315cd876a4446acd9d2d65ba')
-
-prepare() {
- cp -ra ${_pkgname}-${pkgver}{,-py2}
-}
-
-build() {
- (cd ${_pkgname}-${pkgver}
- python setup.py build
- make -j1 -C docs man text SPHINXBUILD=sphinx-build
- )
- (cd ${_pkgname}-${pkgver}-py2
- python2 setup.py build
- make -j1 -C docs man text SPHINXBUILD=sphinx-build2
- )
-}
-
-check() {
- (cd ${_pkgname}-${pkgver}
- python setup.py test
- )
- (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 CHANGELOG.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 CHANGELOG.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-any/PKGBUILD (from rev 370600, python-flask-migrate/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-09 08:59:09 UTC (rev 370601)
@@ -0,0 +1,67 @@
+# 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.2.1
+pkgrel=1
+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=(${pkgbase}-${pkgver}.tar.gz::https://github.com/miguelgrinberg/Flask-Migrate/archive/v${pkgver}.tar.gz)
+sha256sums=('2195bcdb347bac7469232592bf4a86b443b91b80e73fe34e9fd670f9ea2ad1d9')
+sha512sums=('b68f179f7a7cb966ce0d33bf3040cb4eb990d61e409e8f0a6fe7194810a6bd7ac1cc93d0a277a859ae616da2d1bc2395dcd15adca481ec4537c5ee6192621177')
+
+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 CHANGELOG.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 CHANGELOG.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