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

Levente Polyak anthraxx at gemini.archlinux.org
Thu Mar 31 00:17:52 UTC 2022


    Date: Thursday, March 31, 2022 @ 00:17:52
  Author: anthraxx
Revision: 1177889

upgpkg: python-bidict 0.22.0-1

Modified:
  python-bidict/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-31 00:17:08 UTC (rev 1177888)
+++ PKGBUILD	2022-03-31 00:17:52 UTC (rev 1177889)
@@ -3,7 +3,7 @@
 
 pkgname=python-bidict
 _name=${pkgname#python-}
-pkgver=0.21.4
+pkgver=0.22.0
 pkgrel=1
 pkgdesc='Bidirectional mapping library for Python'
 url='https://bidict.readthedocs.org/'
@@ -10,16 +10,16 @@
 arch=('any')
 license=('MPL2')
 depends=('python')
-makedepends=('python-setuptools' 'python-pip' 'python-wheel')
+makedepends=('python-setuptools' 'python-pip' 'python-wheel' 'python-build' 'python-installer')
 checkdepends=('python-pytest' 'python-sphinx' 'python-sphinx-autodoc-typehints' 'python-pytest-benchmark'
 	          'python-hypothesis' 'python-py-cpuinfo' 'python-sortedcollections')
 source=(https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz)
-sha256sums=('42c84ffbe6f8de898af6073b4be9ea7ccedcd78d3474aa844c54e49d5a079f6f')
-b2sums=('36933b070a30c5f64c28dda2efccc1d22a8a56a5b13b25c14f240a3bf6ee17d1f2cfee0b6d4f43f86bb1a14dd626acc0b611c8b2e4d2047529d46b463344c7d3')
+sha256sums=('5c826b3e15e97cc6e615de295756847c282a79b79c5430d3bfc909b1ac9f5bd8')
+b2sums=('511bea446922c959c7ab2c42fadfe63dc486f9b8f4d060779048195ed02344c36819be917716be6773e2173aa9dbd9e5452e747ee325db6ee92057644789653e')
 
 build() {
   cd "bidict-${pkgver}"
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -29,7 +29,7 @@
 
 package() {
   cd "bidict-${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