aboutsummaryrefslogtreecommitdiff
path: root/libraries/munkres
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-04-30 10:18:04 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-30 13:52:13 +0700
commitcf7f49850854b17d02e95d7d08b181c32fdfab96 (patch)
treeb6bdd873aab75d33020ad2dc07688ac1be68ae15 /libraries/munkres
parent111b6944fba5c3373b2857bd022da557970a3abf (diff)
libraries/munkres: Updated for version 1.1.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/munkres')
-rw-r--r--libraries/munkres/README6
-rw-r--r--libraries/munkres/munkres.SlackBuild9
-rw-r--r--libraries/munkres/munkres.info10
3 files changed, 13 insertions, 12 deletions
diff --git a/libraries/munkres/README b/libraries/munkres/README
index 7508a920c6f8e..4d39e3319e7a0 100644
--- a/libraries/munkres/README
+++ b/libraries/munkres/README
@@ -6,6 +6,6 @@ j-th job, and it figures out the least-cost solution, choosing a
single item from each row and column in the matrix, such that no row
and no column are used more than once.
-If you want to build this for use with Python 3.x (needs the
-optional dependency python3) pass the script PYTHON3=yes, like
- PYTHON3=yes ./munkres.SlackBuild
+If you want to build this for use with Python 2.x (needs the
+optional dependency python2) pass the script PYTHON2=yes, like
+ PYTHON2=yes ./munkres.SlackBuild
diff --git a/libraries/munkres/munkres.SlackBuild b/libraries/munkres/munkres.SlackBuild
index d48fc97d686d6..92160d83f2bea 100644
--- a/libraries/munkres/munkres.SlackBuild
+++ b/libraries/munkres/munkres.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for munkres
+# Copyright 2022 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
@@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=munkres
-VERSION=${VERSION:-1.0.10}
+VERSION=${VERSION:-1.1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -64,8 +65,8 @@ else
LIBDIRSUFFIX=""
fi
-PYTHON=python
-[ "${PYTHON3:-no}" = "yes" ] && PYTHON=python3
+PYTHON=python3
+[ "${PYTHON2:-no}" = "yes" ] && PYTHON=python2
set -e
@@ -88,7 +89,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE.md README.md CHANGELOG.md PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/libraries/munkres/munkres.info b/libraries/munkres/munkres.info
index 53dcd3d05abcc..0c9a01c6ec9c8 100644
--- a/libraries/munkres/munkres.info
+++ b/libraries/munkres/munkres.info
@@ -1,10 +1,10 @@
PRGNAM="munkres"
-VERSION="1.0.10"
+VERSION="1.1.4"
HOMEPAGE="http://software.clapper.org/munkres/"
-DOWNLOAD="https://pypi.python.org/packages/05/cc/f5b2e2aadda370fbf0d6981b8c3970db8edcd5d751a7e17a5f6196366c5a/munkres-1.0.10.tar.gz"
-MD5SUM="db06af5239cee31c1c792f6b4ecbb3c4"
+DOWNLOAD="https://files.pythonhosted.org/packages/fd/41/6a3d0ef908f47d07c31e5d1c2504388c27c39b10b8cf610175b5a789a5c1/munkres-1.1.4.tar.gz"
+MD5SUM="98c185e5e7b290c91a754dde9a7da6e7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+MAINTAINER="fourtysixandtwo"
+EMAIL="fourtysixandtwo@sliderr.net"