python/py3sensors: Update EMAIL.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Philip Lacroix 2015-09-11 01:44:13 +07:00 committed by Willy Sudiarto Raharjo
parent 6010e4cdde
commit 27dfaae64f
4 changed files with 14 additions and 13 deletions

View file

@ -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. included in the lm_sensors project.

View file

@ -1,8 +1,8 @@
#!/bin/sh #!/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. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -48,8 +48,8 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $SRCNAM-$VERSION rm -rf $SRCNAM-$VERSION
# The upstream tarball will be named differently, depending on the file being # The upstream tarball will be named differently, depending on
# downloaded manually (web browser) or with wget. # the file being downloaded manually (web browser) or with wget.
if [ -e $CWD/$VERSION.zip ]; then if [ -e $CWD/$VERSION.zip ]; then
unzip $CWD/$VERSION.zip unzip $CWD/$VERSION.zip
else else
@ -64,9 +64,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \
-o -perm 400 \) -exec chmod 644 {} \; -o -perm 400 \) -exec chmod 644 {} \;
PRGUSR=$PKG/usr
PRGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
python setup.py install --root=$PKG python setup.py install --root=$PKG
# Python 3 support. # Python 3 support.
@ -74,9 +71,13 @@ if $(python3 -c 'import sys' 2>/dev/null); then
python3 setup.py install --root=$PKG python3 setup.py install --root=$PKG
fi fi
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" \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | 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 mkdir -p $PRGDOC
mv README.rst $PRGDOC/ mv README.rst $PRGDOC/
cat $CWD/$PRGNAM.SlackBuild > $PRGDOC/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PRGDOC/$PRGNAM.SlackBuild

View file

@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""
MAINTAINER="Philip Lacroix" MAINTAINER="Philip Lacroix"
EMAIL="philnx at posteo dot de" EMAIL="slackph at posteo dot de"

View file

@ -6,9 +6,9 @@
# customary to leave one space after the ':' except on otherwise blank lines. # customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
py3sensors: Py3sensors (Python bindings to libsensors.so) py3sensors: py3sensors (Python bindings to libsensors.so)
py3sensors: 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: is included in the lm_sensors project.
py3sensors: py3sensors:
py3sensors: Homepage: https://bitbucket.org/gleb_zhulik/py3sensors py3sensors: Homepage: https://bitbucket.org/gleb_zhulik/py3sensors