Date: Saturday, December 5, 2020 @ 13:57:48 Author: alucryd Revision: 770608
archrelease: copy trunk to community-any Added: python-munkres/repos/community-any/PKGBUILD (from rev 770607, python-munkres/trunk/PKGBUILD) Deleted: python-munkres/repos/community-any/PKGBUILD ----------+ PKGBUILD | 69 +++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 38 insertions(+), 31 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-12-05 13:57:43 UTC (rev 770607) +++ PKGBUILD 2020-12-05 13:57:48 UTC (rev 770608) @@ -1,31 +0,0 @@ -# Maintainer: Maxime Gauduin <aluc...@archlinux.org> -# Contributor: Adrian Sampson <adr...@radbox.org> - -pkgname=python-munkres -pkgver=1.1.2 -pkgrel=5 -pkgdesc='Munkres algorithm for Python' -arch=(any) -url=https://github.com/bmc/munkres -license=(Apache) -depends=(python) -makedepends=( - git - python-setuptools -) -source=(git+https://github.com/bmc/munkres.git#tag=release-${pkgver}) -sha256sums=(SKIP) - -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: Copied: python-munkres/repos/community-any/PKGBUILD (from rev 770607, python-munkres/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-12-05 13:57:48 UTC (rev 770608) @@ -0,0 +1,38 @@ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> +# Contributor: Adrian Sampson <adr...@radbox.org> + +pkgname=python-munkres +pkgver=1.1.4 +pkgrel=1 +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: