From 80ab3566caff0fee300d48473150541f99c52e66 Mon Sep 17 00:00:00 2001 From: Thibaut Notteboom Date: Thu, 13 Oct 2022 22:19:05 +0100 Subject: python/python-kerberos: Updated for version 1.3.1. Signed-off-by: Willy Sudiarto Raharjo --- python/python-kerberos/python-kerberos.SlackBuild | 16 ++++++---------- python/python-kerberos/python-kerberos.info | 8 ++++---- python/python-kerberos/slack-desc | 2 +- 3 files changed, 11 insertions(+), 15 deletions(-) (limited to 'python') diff --git a/python/python-kerberos/python-kerberos.SlackBuild b/python/python-kerberos/python-kerberos.SlackBuild index b1810f1c74..6589f88d34 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 aea6daef19..5c8282beb1 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 03cec30072..3a3c19b9cf 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: -- cgit v1.2.3