Date: Thursday, April 6, 2023 @ 16:41:37
  Author: felixonmars
Revision: 1439645

archrelease: copy trunk to community-staging-any

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

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

Copied: python-munkres/repos/community-staging-any/PKGBUILD (from rev 1439644, 
python-munkres/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-06 16:41:37 UTC (rev 1439645)
@@ -0,0 +1,38 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+# Contributor: Adrian Sampson <[email protected]>
+
+pkgname=python-munkres
+pkgver=1.1.4
+pkgrel=4
+pkgdesc='Munkres algorithm for Python'
+arch=(any)
+url=https://github.com/bmc/munkres
+license=(Apache)
+depends=(python)
+makedepends=(
+  git
+  python-setuptools
+)
+_tag=ac8af9e3b6093e4be8e3935829bc7d7fc45a84d2
+source=(git+https://github.com/bmc/munkres.git#tag=${_tag})
+b2sums=(SKIP)
+
+pkgver() {
+  cd munkres
+
+  git describe --tags | sed 's/^release-//'
+}
+
+build() {
+  cd munkres
+
+  python setup.py build
+}
+
+package() {
+  cd munkres
+
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}
+
+# vim: ts=2 sw=2 et:

Reply via email to