[arch-commits] Commit in python-toposort/repos/community-any (PKGBUILD PKGBUILD)

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


    Date: Saturday, November 27, 2021 @ 23:02:40
  Author: felixonmars
Revision: 1055163

archrelease: copy trunk to community-any

Added:
  python-toposort/repos/community-any/PKGBUILD
    (from rev 1055162, python-toposort/trunk/PKGBUILD)
Deleted:
  python-toposort/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   57 ++++++++++++++++++++++++++++-----------------------------
 1 file changed, 28 insertions(+), 29 deletions(-)

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

Copied: python-toposort/repos/community-any/PKGBUILD (from rev 1055162, python-toposort/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-27 23:02:40 UTC (rev 1055163)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-toposort
+pkgver=1.7
+pkgrel=1
+pkgdesc='Implements a topological sort algorithm'
+arch=('any')
+license=('Apache')
+url='https://gitlab.com/ericvsmith/toposort'
+depends=('python')
+makedepends=('python-pyproject2setuppy')
+source=("https://pypi.io/packages/source/t/toposort/toposort-$pkgver.tar.gz")
+sha512sums=('a585d1c103b2162fa3f37f6b0ef60a8709f08d9543d7fab619af3718bf9f752a293e50061d370fd08872b2d8a8db504cb9d9c1cce5446885b46fe8e833813833')
+
+build() {
+  cd toposort-$pkgver
+  python -m pyproject2setuppy.main build
+}
+
+check() {
+  cd toposort-$pkgver
+  make test
+}
+
+package() {
+  cd toposort-$pkgver
+  python -m pyproject2setuppy.main install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list