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

Antonio Rojas arojas at gemini.archlinux.org
Wed Mar 2 07:20:11 UTC 2022


    Date: Wednesday, March 2, 2022 @ 07:20:10
  Author: arojas
Revision: 1139314

Update to 2022.3.1

Modified:
  python-database-knotinfo/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-02 06:45:53 UTC (rev 1139313)
+++ PKGBUILD	2022-03-02 07:20:10 UTC (rev 1139314)
@@ -2,23 +2,23 @@
 
 pkgname=python-database-knotinfo
 _pyname=database_knotinfo
-pkgver=2022.2.1
+pkgver=2022.3.1
 pkgrel=1
 arch=(any)
 pkgdesc='Snapshot of the complete content of the KnotInfo and LinkInfo databases for Python'
 url='https://github.com/soehms/database_knotinfo'
 depends=(python)
-makedepends=(python-setuptools-scm)
+makedepends=(python-build python-installer python-wheel python-setuptools-scm)
 license=(GPL)
 source=(https://pypi.io/packages/source/d/$_pyname/$_pyname-$pkgver.tar.gz)
-sha256sums=('6c003301bef634805bc7e935addee4310bd620bfcff84d46158764e301fc2765')
+sha256sums=('2405a5438d9a47a5859419cdffe25105ca3b7bf36ecaa4d4e0b6030769b2903c')
 
 build() {
   cd $_pyname-$pkgver
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 package() {
   cd $_pyname-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }



More information about the arch-commits mailing list