mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
python/python-kerberos: Updated for version 1.3.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
d5764d3a15
commit
80ab3566ca
3 changed files with 11 additions and 15 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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=""
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue