diff options
-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 a4081dfcbe..9b567b0a41 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 333c6116d3..86f519074a 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="" |