mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
libraries/munkres: Updated for version 1.1.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
111b6944fb
commit
cf7f498508
3 changed files with 13 additions and 12 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue