[arch-commits] Commit in python-toposort/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sat Nov 14 01:01:05 UTC 2020


    Date: Saturday, November 14, 2020 @ 01:01:05
  Author: felixonmars
Revision: 754042

archrelease: copy trunk to community-staging-any

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

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

Copied: python-toposort/repos/community-staging-any/PKGBUILD (from rev 754041, python-toposort/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-14 01:01:05 UTC (rev 754042)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-toposort
+pkgver=1.5
+pkgrel=5
+pkgdesc='Implements a topological sort algorithm'
+arch=('any')
+license=('Apache')
+url='https://bitbucket.org/ericvsmith/toposort'
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://pypi.io/packages/source/t/toposort/toposort-$pkgver.tar.gz")
+sha512sums=('d63548c6a03d2141e37741e62065b91033d40cfd454e40acbb9f47e3d1bfeed4434ca31ed55f27a19f52684eafa35b01e519b58dad1e22cce39be082c632712e')
+
+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
+}



More information about the arch-commits mailing list