diff options
author | Benjamin Trigona-Harany <bosth@alumni.sfu.ca> | 2018-10-04 20:45:20 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-10-06 07:25:24 +0700 |
commit | e03f6f28b567d7c1e34a895a3426e1c7d4688c25 (patch) | |
tree | a9a6e098fd569c718c3616d56f0e5453069edfd9 /python/python-prometheus_client | |
parent | e567ef466545941ead91eb6b90a4d34178b8d62b (diff) | |
download | slackbuilds-e03f6f28b567d7c1e34a895a3426e1c7d4688c25.tar.gz |
python/python-prometheus_client: Updated for version 0.4.0.
Diffstat (limited to 'python/python-prometheus_client')
-rw-r--r-- | python/python-prometheus_client/python-prometheus_client.SlackBuild | 12 | ||||
-rw-r--r-- | python/python-prometheus_client/python-prometheus_client.info | 8 |
2 files changed, 10 insertions, 10 deletions
diff --git a/python/python-prometheus_client/python-prometheus_client.SlackBuild b/python/python-prometheus_client/python-prometheus_client.SlackBuild index 058941a232..12b03ecb15 100644 --- a/python/python-prometheus_client/python-prometheus_client.SlackBuild +++ b/python/python-prometheus_client/python-prometheus_client.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=python-prometheus_client SRCNAM=client_python -VERSION=${VERSION:-0.3.1} +VERSION=${VERSION:-0.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -70,16 +70,16 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python setup.py install --root=$PKG -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi +python2 setup.py install --root=$PKG +python3 setup.py install --root=$PKG 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python-prometheus_client/python-prometheus_client.info b/python/python-prometheus_client/python-prometheus_client.info index 2edf1c0fd1..41f47412a2 100644 --- a/python/python-prometheus_client/python-prometheus_client.info +++ b/python/python-prometheus_client/python-prometheus_client.info @@ -1,10 +1,10 @@ PRGNAM="python-prometheus_client" -VERSION="0.3.1" +VERSION="0.4.0" HOMEPAGE="https://prometheus.io/" -DOWNLOAD="https://github.com/prometheus/client_python/archive/v0.3.1/client_python-0.3.1.tar.gz" -MD5SUM="7ea7dee12c8607e9ef1a79d86cf4c684" +DOWNLOAD="https://github.com/prometheus/client_python/archive/v0.4.0/client_python-0.4.0.tar.gz" +MD5SUM="968bc63ac7874eba87a007ce50594561" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3" MAINTAINER="Benjamin Trigona-Harany" EMAIL="slackbuilds@jaxartes.net" |