[arch-commits] Commit in python-sqlalchemy-utils/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Thu May 13 19:21:51 UTC 2021
Date: Thursday, May 13, 2021 @ 19:21:51
Author: anthraxx
Revision: 933524
upgpkg: python-sqlalchemy-utils 0.37.1-1
Modified:
python-sqlalchemy-utils/trunk/PKGBUILD
----------+
PKGBUILD | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-13 19:21:43 UTC (rev 933523)
+++ PKGBUILD 2021-05-13 19:21:51 UTC (rev 933524)
@@ -4,8 +4,8 @@
_name=sqlalchemy-utils
pkgname=python-sqlalchemy-utils
-pkgver=0.36.8
-pkgrel=3
+pkgver=0.37.1
+pkgrel=1
pkgdesc='Various utility functions, new data types and helpers for SQLAlchemy'
url='https://github.com/kvesteri/sqlalchemy-utils'
depends=('python' 'python-sqlalchemy' 'python-anyjson' 'python-babel'
@@ -16,8 +16,9 @@
makedepends=('python')
license=('BSD')
arch=('any')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/kvesteri/sqlalchemy-utils/archive/${pkgver}.tar.gz)
-sha512sums=('491b707a012432bbf7a6c8d903f51187bcffacb7469c839a2b249acf58bc511049efe2439333d2906d31a1c1d0d2f40e245411072191ba283b6dc31c28c49878')
+source=(https://github.com/kvesteri/sqlalchemy-utils/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('a97fccb85e8de7007716a9a7218a517539b911290c0ac0a5556fcd346266f947bd5d353be2b24b513986ee557d1b3aca2bef85563b5d30b1684cc5e2474d4d08')
+b2sums=('d79fd21f73af3b41e33b4f1c87cac92f36c8249b785dbb76972a0ef19931778ee2d9a24dfb0885508bc396007b6a4387313b1b8f384aa323d2c52a7ba10788f2')
build() {
cd ${_name}-${pkgver}
@@ -24,6 +25,12 @@
python setup.py build
}
+check() {
+ cd ${_name}-${pkgver}
+ # Tests require a postgres and MySQL db
+ pytest --disable-pytest-warnings tests/test_models.py
+}
+
package() {
cd ${_name}-${pkgver}
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
@@ -30,10 +37,4 @@
install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
-check() {
- cd ${_name}-${pkgver}
- # Tests require a postgres and MySQL db
- pytest --disable-pytest-warnings tests/test_models.py
-}
-
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list