[arch-commits] Commit in python-munkres/trunk (PKGBUILD)
Date: Saturday, December 5, 2020 @ 13:57:43 Author: alucryd Revision: 770607 upgpkg: python-munkres 1.1.4-1 Modified: python-munkres/trunk/PKGBUILD --+ PKGBUILD | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-12-05 13:56:49 UTC (rev 770606) +++ PKGBUILD2020-12-05 13:57:43 UTC (rev 770607) @@ -2,8 +2,8 @@ # Contributor: Adrian Sampson pkgname=python-munkres -pkgver=1.1.2 -pkgrel=5 +pkgver=1.1.4 +pkgrel=1 pkgdesc='Munkres algorithm for Python' arch=(any) url=https://github.com/bmc/munkres @@ -13,9 +13,16 @@ git python-setuptools ) -source=(git+https://github.com/bmc/munkres.git#tag=release-${pkgver}) -sha256sums=(SKIP) +_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
[arch-commits] Commit in python-munkres/trunk (PKGBUILD)
Date: Wednesday, November 11, 2020 @ 10:34:25 Author: felixonmars Revision: 750123 upgpkg: python-munkres 1.1.2-5: Python 3.9 rebuild Modified: python-munkres/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-11-11 10:34:20 UTC (rev 750122) +++ PKGBUILD2020-11-11 10:34:25 UTC (rev 750123) @@ -3,7 +3,7 @@ pkgname=python-munkres pkgver=1.1.2 -pkgrel=4 +pkgrel=5 pkgdesc='Munkres algorithm for Python' arch=(any) url=https://github.com/bmc/munkres
[arch-commits] Commit in python-munkres/trunk (PKGBUILD)
Date: Thursday, October 31, 2019 @ 17:56:44 Author: felixonmars Revision: 521475 Python 3.8 rebuild Modified: python-munkres/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-10-31 17:56:43 UTC (rev 521474) +++ PKGBUILD2019-10-31 17:56:44 UTC (rev 521475) @@ -3,7 +3,7 @@ pkgname=python-munkres pkgver=1.1.2 -pkgrel=2 +pkgrel=3 pkgdesc='Munkres algorithm for Python' arch=(any) url=https://github.com/bmc/munkres
[arch-commits] Commit in python-munkres/trunk (PKGBUILD)
Date: Friday, October 25, 2019 @ 15:44:29 Author: felixonmars Revision: 519181 Python 3.8 rebuild Modified: python-munkres/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-10-25 15:44:27 UTC (rev 519180) +++ PKGBUILD2019-10-25 15:44:29 UTC (rev 519181) @@ -3,7 +3,7 @@ pkgname=python-munkres pkgver=1.1.2 -pkgrel=1 +pkgrel=2 pkgdesc='Munkres algorithm for Python' arch=(any) url=https://github.com/bmc/munkres
[arch-commits] Commit in python-munkres/trunk (PKGBUILD)
Date: Thursday, February 21, 2019 @ 14:29:58 Author: alucryd Revision: 435091 upgpkg: python-munkres 1.1.2-1 Modified: python-munkres/trunk/PKGBUILD --+ PKGBUILD | 54 ++ 1 file changed, 18 insertions(+), 36 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-02-21 14:19:55 UTC (rev 435090) +++ PKGBUILD2019-02-21 14:29:58 UTC (rev 435091) @@ -1,49 +1,31 @@ # Maintainer: Maxime Gauduin # Contributor: Adrian Sampson -pkgbase=python-munkres -pkgname=('python-munkres' 'python2-munkres') -pkgver=1.0.12 -pkgrel=2 +pkgname=python-munkres +pkgver=1.1.2 +pkgrel=1 pkgdesc='Munkres algorithm for Python' -arch=('any') -url='https://github.com/bmc/munkres' -license=('Apache') -makedepends=('python-setuptools' 'python2-setuptools') -source=("python-munkres-${pkgver}.tar.gz::https://github.com/bmc/munkres/archive/release-${pkgver}.tar.gz";) -sha256sums=('70b3b32b4fed3b354e5c42e4d1273880a33a13ab8c108a4247140eb661767a0b') +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) -prepare() { - mv {,python-}munkres-release-${pkgver} - cp -r python{,2}-munkres-release-${pkgver} - - cd python2-munkres-release-${pkgver} - - sed 's|#!.*python$|#!/usr/bin/env python2|' -i $(grep -rl '#!.*python$') -} - build() { - for py in python{,2}; do -pushd ${py}-munkres-release-${pkgver} -${py} setup.py build -popd - done -} + cd munkres -package_python-munkres() { - depends=('python') - - cd python-munkres-release-${pkgver} - - python setup.py install --root="${pkgdir}" --optimize='1' + python setup.py build } -package_python2-munkres() { - depends=('python2') +package() { + cd munkres - cd python2-munkres-release-${pkgver} - - python2 setup.py install --root="${pkgdir}" --optimize='1' + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build } # vim: ts=2 sw=2 et:
[arch-commits] Commit in python-munkres/trunk (PKGBUILD)
Date: Saturday, June 30, 2018 @ 18:00:37 Author: foutrelis Revision: 348811 Python 3.7 rebuild Modified: python-munkres/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-06-30 18:00:36 UTC (rev 348810) +++ PKGBUILD2018-06-30 18:00:37 UTC (rev 348811) @@ -5,7 +5,7 @@ pkgbase=python-munkres pkgname=('python-munkres' 'python2-munkres') pkgver=1.0.12 -pkgrel=1 +pkgrel=2 pkgdesc='Munkres algorithm for Python' arch=('any') url='https://github.com/bmc/munkres'
[arch-commits] Commit in python-munkres/trunk (PKGBUILD)
Date: Tuesday, August 8, 2017 @ 22:13:25 Author: alucryd Revision: 249634 upgpkg: python-munkres 1.0.12-1 Modified: python-munkres/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-08-08 21:51:45 UTC (rev 249633) +++ PKGBUILD2017-08-08 22:13:25 UTC (rev 249634) @@ -4,7 +4,7 @@ pkgbase=python-munkres pkgname=('python-munkres' 'python2-munkres') -pkgver=1.0.10 +pkgver=1.0.12 pkgrel=1 pkgdesc='Munkres algorithm for Python' arch=('any') @@ -12,7 +12,7 @@ license=('Apache') makedepends=('python-setuptools' 'python2-setuptools') source=("python-munkres-${pkgver}.tar.gz::https://github.com/bmc/munkres/archive/release-${pkgver}.tar.gz";) -sha256sums=('cc00ca9b1bae6b574797fbefc3a200b65d1317e599055f3edf9643c28cf4ecca') +sha256sums=('70b3b32b4fed3b354e5c42e4d1273880a33a13ab8c108a4247140eb661767a0b') prepare() { mv {,python-}munkres-release-${pkgver}
[arch-commits] Commit in python-munkres/trunk (PKGBUILD)
Date: Thursday, May 25, 2017 @ 13:10:40 Author: alucryd Revision: 230086 upgpkg: python-munkres 1.0.10-1 Modified: python-munkres/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-05-25 13:07:56 UTC (rev 230085) +++ PKGBUILD2017-05-25 13:10:40 UTC (rev 230086) @@ -4,7 +4,7 @@ pkgbase=python-munkres pkgname=('python-munkres' 'python2-munkres') -pkgver=1.0.9 +pkgver=1.0.10 pkgrel=1 pkgdesc='Munkres algorithm for Python' arch=('any') @@ -12,7 +12,7 @@ license=('Apache') makedepends=('python-setuptools' 'python2-setuptools') source=("python-munkres-${pkgver}.tar.gz::https://github.com/bmc/munkres/archive/release-${pkgver}.tar.gz";) -sha256sums=('1dae30b882f409bab8d913af7bbf41877359b1ece3fa0ea31d6486a454f3493b') +sha256sums=('cc00ca9b1bae6b574797fbefc3a200b65d1317e599055f3edf9643c28cf4ecca') prepare() { mv {,python-}munkres-release-${pkgver}
[arch-commits] Commit in python-munkres/trunk (PKGBUILD)
Date: Tuesday, January 10, 2017 @ 17:25:44 Author: alucryd Revision: 206608 upgpkg: python-munkres 1.0.9-1 Modified: python-munkres/trunk/PKGBUILD --+ PKGBUILD |4 1 file changed, 4 insertions(+) Modified: PKGBUILD === --- PKGBUILD2017-01-10 17:17:53 UTC (rev 206607) +++ PKGBUILD2017-01-10 17:25:44 UTC (rev 206608) @@ -17,6 +17,10 @@ prepare() { mv {,python-}munkres-release-${pkgver} cp -r python{,2}-munkres-release-${pkgver} + + cd python2-munkres-release-${pkgver} + + sed 's|#!.*python$|#!/usr/bin/env python2|' -i $(grep -rl '#!.*python$') } build() {