diff options
author | Dugan Chen <thedoogster [at] gmail [dot] com> | 2018-09-02 00:59:03 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-09-08 08:37:38 +0700 |
commit | 8d08ee6e1986f769413b667fe237bd8b10724eff (patch) | |
tree | b9d724ddd2fffcc37c7ae64d8e4d1fb6e80c60ff /python | |
parent | dcd937fd24c909af505f8c8975cc31d245bdedc9 (diff) |
python/python-evdev: Updated for version 1.1.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/python-evdev/python-evdev.SlackBuild | 8 | ||||
-rw-r--r-- | python/python-evdev/python-evdev.info | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/python/python-evdev/python-evdev.SlackBuild b/python/python-evdev/python-evdev.SlackBuild index a4081dfcbebf1..9b567b0a413e6 100644 --- a/python/python-evdev/python-evdev.SlackBuild +++ b/python/python-evdev/python-evdev.SlackBuild @@ -22,9 +22,9 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +PRGNAM=python-evdev SRCNAM=evdev -PRGNAM=python-$SRCNAM -VERSION=${VERSION:-1.0.0} +VERSION=${VERSION:-1.1.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,7 +60,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION +rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . @@ -75,7 +75,7 @@ find -L . -perm 660 -exec chmod 644 {} \; python setup.py install --root=$PKG -if hash python3 ; then +if $(python3 -c 'import sys' 2>/dev/null); then python3 setup.py install --root=$PKG fi diff --git a/python/python-evdev/python-evdev.info b/python/python-evdev/python-evdev.info index 333c6116d32b8..86f519074aa09 100644 --- a/python/python-evdev/python-evdev.info +++ b/python/python-evdev/python-evdev.info @@ -1,8 +1,8 @@ PRGNAM="python-evdev" -VERSION="1.0.0" +VERSION="1.1.2" HOMEPAGE="http://python-evdev.readthedocs.org/en/latest/" -DOWNLOAD="https://pypi.python.org/packages/source/e/evdev/evdev-1.0.0.tar.gz" -MD5SUM="1c9830c5a87ef5147cabfadfefc91a20" +DOWNLOAD="https://pypi.python.org/packages/source/e/evdev/evdev-1.1.2.tar.gz" +MD5SUM="504de457af50c3847c1994a7306eb776" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |