aboutsummaryrefslogtreecommitdiff
path: root/python/python-kerberos
diff options
context:
space:
mode:
authorThibaut Notteboom <thibaut.notteboom@gmail.com>2022-10-13 22:19:05 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-10-15 10:47:29 +0700
commit80ab3566caff0fee300d48473150541f99c52e66 (patch)
tree72833a0c4a803a471ad0e0cd7e006feff21df3b6 /python/python-kerberos
parentd5764d3a1594dd5e5336e6879d9c34f9b260fc92 (diff)
python/python-kerberos: Updated for version 1.3.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python-kerberos')
-rw-r--r--python/python-kerberos/python-kerberos.SlackBuild16
-rw-r--r--python/python-kerberos/python-kerberos.info8
-rw-r--r--python/python-kerberos/slack-desc2
3 files changed, 11 insertions, 15 deletions
diff --git a/python/python-kerberos/python-kerberos.SlackBuild b/python/python-kerberos/python-kerberos.SlackBuild
index b1810f1c74d1..6589f88d3404 100644
--- a/python/python-kerberos/python-kerberos.SlackBuild
+++ b/python/python-kerberos/python-kerberos.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for python-kerberos
# Copyright (c) 2014 LEVAI Daniel
-# Copyright 2018 Thibaut Notteboom, Paris, FRANCE
+# Copyright 2018-2022 Thibaut Notteboom, Paris, FRANCE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,12 +26,12 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python-kerberos
-VERSION=${VERSION:-1.2.1}
+VERSION=${VERSION:-1.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-SRCNAM=pykerberos
+SRCNAM=kerberos
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -82,19 +82,15 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
-
-# Python 3 support.
-if $(python3 -c 'import sys' 2>/dev/null); then
- python3 setup.py install --root=$PKG
-fi
+python2 setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- LICENSE README.txt \
+ README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/python/python-kerberos/python-kerberos.info b/python/python-kerberos/python-kerberos.info
index aea6daef1942..5c8282beb146 100644
--- a/python/python-kerberos/python-kerberos.info
+++ b/python/python-kerberos/python-kerberos.info
@@ -1,8 +1,8 @@
PRGNAM="python-kerberos"
-VERSION="1.2.1"
-HOMEPAGE="https://pypi.python.org/pypi/pykerberos"
-DOWNLOAD="https://github.com/02strich/pykerberos/archive/v1.2.1/pykerberos-1.2.1.tar.gz"
-MD5SUM="1f3523b1af9f347fa67741f23c810b5b"
+VERSION="1.3.1"
+HOMEPAGE="https://pypi.python.org/pypi/kerberos"
+DOWNLOAD="https://pypi.python.org/packages/source/k/kerberos/kerberos-1.3.1.tar.gz"
+MD5SUM="88653e69baece33385e014177d61865d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/python/python-kerberos/slack-desc b/python/python-kerberos/slack-desc
index 03cec3007272..3a3c19b9cfc0 100644
--- a/python/python-kerberos/slack-desc
+++ b/python/python-kerberos/slack-desc
@@ -11,7 +11,7 @@ python-kerberos:
python-kerberos: This Python package is a high-level wrapper for Kerberos (GSSAPI)
python-kerberos: operations.
python-kerberos:
-python-kerberos: Homepage: https://pypi.python.org/pypi/pykerberos
+python-kerberos: Homepage: https://pypi.python.org/pypi/kerberos
python-kerberos:
python-kerberos:
python-kerberos: