[arch-commits] Commit in python-sqlalchemy-utils/repos/community-any (2 files)

Levente Polyak anthraxx at gemini.archlinux.org
Mon Aug 29 21:31:12 UTC 2022


    Date: Monday, August 29, 2022 @ 21:31:12
  Author: anthraxx
Revision: 1286233

archrelease: copy trunk to community-any

Added:
  python-sqlalchemy-utils/repos/community-any/PKGBUILD
    (from rev 1286232, python-sqlalchemy-utils/trunk/PKGBUILD)
Deleted:
  python-sqlalchemy-utils/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   80 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-29 21:31:07 UTC (rev 1286232)
+++ PKGBUILD	2022-08-29 21:31:12 UTC (rev 1286233)
@@ -1,40 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Husam Bilal <husam212 AT gmail DOT com>
-
-_name=sqlalchemy-utils
-pkgname=python-sqlalchemy-utils
-pkgver=0.38.2
-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'
-         'python-arrow' 'python-intervals' 'python-phonenumbers' 'python-passlib'
-         'python-colour' 'python-dateutil' 'python-furl' 'python-cryptography'
-         'python-pendulum')
-checkdepends=('python-pytest' 'python-mock' 'python-flexmock' 'python-jinja')
-makedepends=('python' 'python-setuptools')
-license=('BSD')
-arch=('any')
-source=(https://github.com/kvesteri/sqlalchemy-utils/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('611099e53995aadf226a4e53b3a7e61d6bbb7b33574b65c25f9880daa9b35bbd261929a804b2f14de774b253d64a57dbba9fa7af0a931648b9e0b53477421e39')
-b2sums=('0a81b3f53e4e2207820f408e6f932afc28b7be1848753a5734ace0c295ea4269df406b87953a1036e21038b5c2f2cf96cedda0a10fbc6756b266e24cb373ce47')
-
-build() {
-  cd ${_name}-${pkgver}
-  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
-  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-sqlalchemy-utils/repos/community-any/PKGBUILD (from rev 1286232, python-sqlalchemy-utils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-29 21:31:12 UTC (rev 1286233)
@@ -0,0 +1,40 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Husam Bilal <husam212 AT gmail DOT com>
+
+_name=sqlalchemy-utils
+pkgname=python-sqlalchemy-utils
+pkgver=0.38.3
+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'
+         'python-arrow' 'python-intervals' 'python-phonenumbers' 'python-passlib'
+         'python-colour' 'python-dateutil' 'python-furl' 'python-cryptography'
+         'python-pendulum' 'python-importlib-metadata')
+checkdepends=('python-pytest' 'python-mock' 'python-flexmock' 'python-jinja')
+makedepends=('python' 'python-setuptools' 'python-build' 'python-installer' 'python-wheel')
+license=('BSD')
+arch=('any')
+source=(https://github.com/kvesteri/sqlalchemy-utils/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('d6790cc9df0424f528f066e9d9302beb9ed16ba50370878d387796b4adaec5e19466e6093b5758c189735db1f1d210a4a17579ec31a7d38df5c91f04a215ff71')
+b2sums=('162a01e67b14f419723ef698b389de1ca427f01da3a005878838755468691c8e0c2c8ca347e064940c6ef41fd0c2e1f0651cacf620407073e85cecc38b392a64')
+
+build() {
+  cd ${_name}-${pkgver}
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd ${_name}-${pkgver}
+  # Tests require a postgres and MySQL db
+  pytest --disable-pytest-warnings tests/test_models.py
+}
+
+package() {
+  cd ${_name}-${pkgver}
+  python -m installer --destdir="${pkgdir}" dist/*.whl
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list