[arch-commits] Commit in python-sqlalchemy-continuum/repos/community-any (2 files)
Jelle van der Waa
jelle at archlinux.org
Sat Jul 11 14:25:28 UTC 2020
Date: Saturday, July 11, 2020 @ 14:25:28
Author: jelle
Revision: 663265
archrelease: copy trunk to community-any
Added:
python-sqlalchemy-continuum/repos/community-any/PKGBUILD
(from rev 663264, python-sqlalchemy-continuum/trunk/PKGBUILD)
Deleted:
python-sqlalchemy-continuum/repos/community-any/PKGBUILD
----------+
PKGBUILD | 90 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 45 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-11 14:24:23 UTC (rev 663264)
+++ PKGBUILD 2020-07-11 14:25:28 UTC (rev 663265)
@@ -1,45 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: Jelle van der Waa <jelle at archlinux.org
-
-_pkgname=sqlalchemy-continuum
-pkgname=python-sqlalchemy-continuum
-pkgver=1.3.9
-pkgrel=1
-pkgdesc='Versioning and auditing extension for SQLAlchemy'
-url='https://github.com/kvesteri/sqlalchemy-continuum'
-arch=('any')
-license=('BSD')
-depends=('python' 'python-sqlalchemy' 'python-sqlalchemy-utils')
-makedepends=('python-setuptools' 'python-sphinx')
-checkdepends=('sqlite' 'python-pytest' 'python-flexmock' 'python-psycopg2' 'python-mysql-connector'
- 'python-six' 'python-anyjson' 'python-flask' 'python-flask-login' 'python-flask-sqlalchemy'
- 'python-sqlalchemy-i18n')
-optdepends=('python-flask: flask plugin'
- 'python-flask-login: flask plugin'
- 'python-flask-sqlalchemy: flask plugin'
- 'python-sqlalchemy-i18n: internationalization')
-options=('!makeflags')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/kvesteri/sqlalchemy-continuum/archive/${pkgver}.tar.gz)
-sha512sums=('f597f537999c59005e09fe6dad40d03bd9fb933f9ea88135888c4a848ecb61df05e4a2dcb9af5399ed84bc127af2c48e8fc2993e3a1d3d561cad6ca3d34319ec')
-
-build() {
- cd ${_pkgname}-${pkgver}
- python setup.py build
- make -C docs text man
-}
-
-check() {
- cd ${_pkgname}-${pkgver}/tests
- DB=sqlite pytest
-}
-
-package() {
- cd ${_pkgname}-${pkgver}
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
- install -Dm 644 README.rst docs/_build/text/* -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -Dm 644 docs/_build/man/sqlalchemy-continuum.1 -t "${pkgdir}/usr/share/man/man1"
- ln -sf /usr/share/man/man1/sqlalchemy-continuum.1.gz "${pkgdir}/usr/share/man/man1/${pkgname}.1.gz"
-}
-
-# vim: ts=2 sw=2 et:
Copied: python-sqlalchemy-continuum/repos/community-any/PKGBUILD (from rev 663264, python-sqlalchemy-continuum/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-11 14:25:28 UTC (rev 663265)
@@ -0,0 +1,45 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Jelle van der Waa <jelle at archlinux.org
+
+_pkgname=sqlalchemy-continuum
+pkgname=python-sqlalchemy-continuum
+pkgver=1.3.9
+pkgrel=2
+pkgdesc='Versioning and auditing extension for SQLAlchemy'
+url='https://github.com/kvesteri/sqlalchemy-continuum'
+arch=('any')
+license=('BSD')
+depends=('python' 'python-sqlalchemy' 'python-sqlalchemy-utils')
+makedepends=('python-setuptools' 'python-sphinx')
+checkdepends=('sqlite' 'python-pytest' 'python-flexmock' 'python-psycopg2' 'python-mysql-connector'
+ 'python-six' 'python-anyjson' 'python-flask' 'python-flask-login' 'python-flask-sqlalchemy'
+ 'python-sqlalchemy-i18n')
+optdepends=('python-flask: flask plugin'
+ 'python-flask-login: flask plugin'
+ 'python-flask-sqlalchemy: flask plugin'
+ 'python-sqlalchemy-i18n: internationalization')
+options=('!makeflags')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/kvesteri/sqlalchemy-continuum/archive/${pkgver}.tar.gz)
+sha512sums=('f597f537999c59005e09fe6dad40d03bd9fb933f9ea88135888c4a848ecb61df05e4a2dcb9af5399ed84bc127af2c48e8fc2993e3a1d3d561cad6ca3d34319ec')
+
+build() {
+ cd ${_pkgname}-${pkgver}
+ python setup.py build
+ make -C docs text man
+}
+
+check() {
+ cd ${_pkgname}-${pkgver}/tests
+ DB=sqlite pytest -k 'not test_flask'
+}
+
+package() {
+ cd ${_pkgname}-${pkgver}
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -Dm 644 README.rst docs/_build/text/* -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dm 644 docs/_build/man/sqlalchemy-continuum.1 -t "${pkgdir}/usr/share/man/man1"
+ ln -sf /usr/share/man/man1/sqlalchemy-continuum.1.gz "${pkgdir}/usr/share/man/man1/${pkgname}.1.gz"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list