[arch-commits] Commit in python-sqlalchemy-utils/trunk (PKGBUILD)

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


    Date: Monday, August 29, 2022 @ 21:31:07
  Author: anthraxx
Revision: 1286231

upgpkg: python-sqlalchemy-utils 0.38.3-1

Modified:
  python-sqlalchemy-utils/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-29 21:30:54 UTC (rev 1286230)
+++ PKGBUILD	2022-08-29 21:31:07 UTC (rev 1286231)
@@ -4,7 +4,7 @@
 
 _name=sqlalchemy-utils
 pkgname=python-sqlalchemy-utils
-pkgver=0.38.2
+pkgver=0.38.3
 pkgrel=1
 pkgdesc='Various utility functions, new data types and helpers for SQLAlchemy'
 url='https://github.com/kvesteri/sqlalchemy-utils'
@@ -11,18 +11,18 @@
 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-pendulum' 'python-importlib-metadata')
 checkdepends=('python-pytest' 'python-mock' 'python-flexmock' 'python-jinja')
-makedepends=('python' 'python-setuptools')
+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=('611099e53995aadf226a4e53b3a7e61d6bbb7b33574b65c25f9880daa9b35bbd261929a804b2f14de774b253d64a57dbba9fa7af0a931648b9e0b53477421e39')
-b2sums=('0a81b3f53e4e2207820f408e6f932afc28b7be1848753a5734ace0c295ea4269df406b87953a1036e21038b5c2f2cf96cedda0a10fbc6756b266e24cb373ce47')
+sha512sums=('d6790cc9df0424f528f066e9d9302beb9ed16ba50370878d387796b4adaec5e19466e6093b5758c189735db1f1d210a4a17579ec31a7d38df5c91f04a215ff71')
+b2sums=('162a01e67b14f419723ef698b389de1ca427f01da3a005878838755468691c8e0c2c8ca347e064940c6ef41fd0c2e1f0651cacf620407073e85cecc38b392a64')
 
 build() {
   cd ${_name}-${pkgver}
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -33,7 +33,7 @@
 
 package() {
   cd ${_name}-${pkgver}
-  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  python -m installer --destdir="${pkgdir}" dist/*.whl
   install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }
 



More information about the arch-commits mailing list