From 519ea16abd4355c5e3ff98defcc7cb5cdeb66a47 Mon Sep 17 00:00:00 2001 From: Philip Lacroix Date: Fri, 11 Sep 2015 01:48:59 +0700 Subject: libraries/pymdstat: Update EMAIL. Signed-off-by: Willy Sudiarto Raharjo --- libraries/pymdstat/pymdstat.SlackBuild | 20 ++++++++++---------- libraries/pymdstat/pymdstat.info | 2 +- libraries/pymdstat/slack-desc | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) (limited to 'libraries') diff --git a/libraries/pymdstat/pymdstat.SlackBuild b/libraries/pymdstat/pymdstat.SlackBuild index 0971d96085..7f1b8562db 100644 --- a/libraries/pymdstat/pymdstat.SlackBuild +++ b/libraries/pymdstat/pymdstat.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh -# Slackware build script for PyMDstat +# Slackware build script for pymdstat -# Copyright 2015 Philip Lacroix +# Copyright 2015 Philip Lacroix # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -47,8 +47,8 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$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/v$VERSION.tar.gz ]; then tar xvzf $CWD/v$VERSION.tar.gz else @@ -63,10 +63,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 -PRGSHR=$PKG/usr/share -PRGDOC=$PKG/usr/doc/$PRGNAM-$VERSION - python setup.py install --root=$PKG # Python 3 support. @@ -75,9 +71,13 @@ if $(python3 -c 'import sys' 2>/dev/null); then 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 + | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +PRGUSR=$PKG/usr +PRGSHR=$PKG/usr/share +PRGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +# Install documentation. mkdir -p $PRGDOC mv $PRGSHR/doc/$PRGNAM/* $PRGDOC/ rm -rf $PRGSHR diff --git a/libraries/pymdstat/pymdstat.info b/libraries/pymdstat/pymdstat.info index 739b544433..cb42b02d6d 100644 --- a/libraries/pymdstat/pymdstat.info +++ b/libraries/pymdstat/pymdstat.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="pysetuptools" MAINTAINER="Philip Lacroix" -EMAIL="philnx at posteo dot de" +EMAIL="slackph at posteo dot de" diff --git a/libraries/pymdstat/slack-desc b/libraries/pymdstat/slack-desc index ab1c531328..819065ff8b 100644 --- a/libraries/pymdstat/slack-desc +++ b/libraries/pymdstat/slack-desc @@ -11,8 +11,8 @@ pymdstat: pymdstat: PyMDstat is a pythonic library to parse /proc/mdstat, which shows a pymdstat: snapshot of the kernel's RAID/md state. pymdstat: -pymdstat: pymdstat: Homepage: https://github.com/nicolargo/pymdstat +pymdstat: pymdstat: pymdstat: pymdstat: -- cgit v1.2.3