mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
python/py3sensors: Update EMAIL.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
6010e4cdde
commit
27dfaae64f
4 changed files with 14 additions and 13 deletions
|
@ -1,2 +1,2 @@
|
|||
Py3sensors provides Python bindings to the libsensors library, which is
|
||||
py3sensors provides Python bindings to the libsensors library, which is
|
||||
included in the lm_sensors project.
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for Py3sensors
|
||||
# Slackware build script for py3sensors
|
||||
|
||||
# Copyright 2015 Philip Lacroix <philnx at posteo dot de>
|
||||
# Copyright 2015 Philip Lacroix <slackph at posteo dot de>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -48,8 +48,8 @@ mkdir -p $TMP $PKG $OUTPUT
|
|||
cd $TMP
|
||||
rm -rf $SRCNAM-$VERSION
|
||||
|
||||
# The upstream tarball will be named differently, depending on the file being
|
||||
# downloaded manually (web browser) or with wget.
|
||||
# The upstream tarball will be named differently, depending on
|
||||
# the file being downloaded manually (web browser) or with wget.
|
||||
if [ -e $CWD/$VERSION.zip ]; then
|
||||
unzip $CWD/$VERSION.zip
|
||||
else
|
||||
|
@ -64,9 +64,6 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \
|
||||
-o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
PRGUSR=$PKG/usr
|
||||
PRGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
||||
python setup.py install --root=$PKG
|
||||
|
||||
# Python 3 support.
|
||||
|
@ -74,9 +71,13 @@ if $(python3 -c 'import sys' 2>/dev/null); then
|
|||
python3 setup.py install --root=$PKG
|
||||
fi
|
||||
|
||||
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
|
||||
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
|
||||
|
||||
PRGUSR=$PKG/usr
|
||||
PRGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
||||
# Install documentation.
|
||||
mkdir -p $PRGDOC
|
||||
mv README.rst $PRGDOC/
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PRGDOC/$PRGNAM.SlackBuild
|
||||
|
|
|
@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
|
|||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="Philip Lacroix"
|
||||
EMAIL="philnx at posteo dot de"
|
||||
EMAIL="slackph at posteo dot de"
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
py3sensors: Py3sensors (Python bindings to libsensors.so)
|
||||
py3sensors: py3sensors (Python bindings to libsensors.so)
|
||||
py3sensors:
|
||||
py3sensors: Py3sensors provides Python bindings to the libsensors library, which
|
||||
py3sensors: py3sensors provides Python bindings to the libsensors library, which
|
||||
py3sensors: is included in the lm_sensors project.
|
||||
py3sensors:
|
||||
py3sensors: Homepage: https://bitbucket.org/gleb_zhulik/py3sensors
|
||||
|
|
Loading…
Reference in a new issue