[arch-commits] Commit in python-flask-migrate/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Thu Dec 20 00:10:27 UTC 2018
Date: Thursday, December 20, 2018 @ 00:10:26
Author: anthraxx
Revision: 416825
archrelease: copy trunk to community-any
Added:
python-flask-migrate/repos/community-any/PKGBUILD
(from rev 416824, python-flask-migrate/trunk/PKGBUILD)
Deleted:
python-flask-migrate/repos/community-any/PKGBUILD
----------+
PKGBUILD | 134 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 67 insertions(+), 67 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-12-20 00:10:18 UTC (rev 416824)
+++ PKGBUILD 2018-12-20 00:10:26 UTC (rev 416825)
@@ -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.3.0
-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=('ce702062043496e89c174c158d1ad227b7112f6631f4ec8a750d41e54a9f30ba')
-sha512sums=('7e7ab39d78a5870f986538ba3ff73bba94196d1e02259380e3522587069f9d156962978c037d21c2c0c53800393825b986f9fd8fc93fe6868410518374180f6d')
-
-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:
Copied: python-flask-migrate/repos/community-any/PKGBUILD (from rev 416824, python-flask-migrate/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-12-20 00:10:26 UTC (rev 416825)
@@ -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.3.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=('92b61640f000ed5e9a72d0f71f357802e27e517d8dc0fbf92ba5dde2e3a9f014')
+sha512sums=('6557235350a286141e946def30f117a2beab4c71009c09a46bb683704b475fb23028b01028c4429913fdafbd5245b4ba3cad785274ebbe42fa6695bc4d16b087')
+
+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