mirror of
https://gitlab.com/CinnamonSlackBuilds/csb.git
synced 2024-12-25 21:59:21 +01:00
python-pam: Upgraded to 2.0.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
d194ce1f59
commit
4119a30175
1 changed files with 6 additions and 11 deletions
|
@ -23,9 +23,9 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=python-pam
|
PRGNAM=python-pam
|
||||||
VERSION=${VERSION:-1.8.4}
|
VERSION=${VERSION:-2.0.2}
|
||||||
COMMITVER=8d0e14a53adaeb08d27214976b5ac50adc9146bf
|
COMMITVER=aa64482c9de78672b67e09adefe346e0e250d7af
|
||||||
BUILD=${BUILD:-4}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_csb}
|
TAG=${TAG:-_csb}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
|
@ -77,18 +77,13 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
python setup.py install --root=$PKG
|
python3 -m build --wheel --no-isolation
|
||||||
python3 setup.py install --root=$PKG
|
|
||||||
|
python3 -m installer --destdir "$PKG" dist/*.whl
|
||||||
|
|
||||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
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
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
(
|
|
||||||
cd $PKG/usr/lib${LIBDIRSUFFIX}/python2.7/site-packages/
|
|
||||||
ln -s pam.py PAM.py
|
|
||||||
ln -s pam.pyc PAM.pyc
|
|
||||||
)
|
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
|
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
Loading…
Reference in a new issue