Date: Tuesday, January 10, 2023 @ 20:07:16
  Author: felixonmars
Revision: 1382364

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-10 20:07:03 UTC (rev 1382363)
+++ PKGBUILD    2023-01-10 20:07:16 UTC (rev 1382364)
@@ -1,28 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-toposort
-pkgver=1.7
-pkgrel=3
-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
-}

Copied: python-toposort/repos/community-any/PKGBUILD (from rev 1382363, 
python-toposort/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-01-10 20:07:16 UTC (rev 1382364)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-toposort
+pkgver=1.8
+pkgrel=1
+pkgdesc='Implements a topological sort algorithm'
+arch=('any')
+license=('Apache')
+url='https://gitlab.com/ericvsmith/toposort'
+depends=('python')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
+source=("https://gitlab.com/ericvsmith/toposort/-/archive/$pkgver/toposort-$pkgver.tar.bz2";)
+sha512sums=('c8ccdf71dd1d53bff93b69da4558f0e2e23103aa20d0db7dd1a0aa5c33371ccb1bb699502d5a286c7a81d71f71809bc79d454a61d14712f5940044755b556f9c')
+
+build() {
+  cd toposort-$pkgver
+  python -m build -nw
+}
+
+check() {
+  cd toposort-$pkgver
+  make test
+}
+
+package() {
+  cd toposort-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+}

Reply via email to