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

Felix Yan felixonmars at gemini.archlinux.org
Sat Nov 27 23:02:32 UTC 2021


    Date: Saturday, November 27, 2021 @ 23:02:32
  Author: felixonmars
Revision: 1055162

upgpkg: python-toposort 1.7-1

Modified:
  python-toposort/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-27 20:19:16 UTC (rev 1055161)
+++ PKGBUILD	2021-11-27 23:02:32 UTC (rev 1055162)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python-toposort
-pkgver=1.6
+pkgver=1.7
 pkgrel=1
 pkgdesc='Implements a topological sort algorithm'
 arch=('any')
@@ -8,22 +8,21 @@
 license=('Apache')
 url='https://gitlab.com/ericvsmith/toposort'
 depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
+makedepends=('python-pyproject2setuppy')
 source=("https://pypi.io/packages/source/t/toposort/toposort-$pkgver.tar.gz")
-sha512sums=('8dc30b5d5a6f476756520236bc93840243690779783ec8f0b5ef0f72c64d774177b25d10d2e024cda968f81352abbc4f89f3069760fc3a86bd5ee387e7951928')
+sha512sums=('a585d1c103b2162fa3f37f6b0ef60a8709f08d9543d7fab619af3718bf9f752a293e50061d370fd08872b2d8a8db504cb9d9c1cce5446885b46fe8e833813833')
 
 build() {
   cd toposort-$pkgver
-  python setup.py build
+  python -m pyproject2setuppy.main build
 }
 
 check() {
   cd toposort-$pkgver
-  python setup.py test
+  make test
 }
 
 package() {
   cd toposort-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
+  python -m pyproject2setuppy.main install --root="$pkgdir" --optimize=1
 }



More information about the arch-commits mailing list