aboutsummaryrefslogtreecommitdiff
path: root/python/python-prometheus_client/python-prometheus_client.SlackBuild
diff options
context:
space:
mode:
authorIsaac Yu <isaacyu1@isaacyu1.com>2022-02-22 14:24:26 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-23 08:45:31 +0700
commit925fae1c42d2df2474317f383fb1704db26ac3c2 (patch)
tree4e91bc160c2e0b8949596552e79e29c59dad2c20 /python/python-prometheus_client/python-prometheus_client.SlackBuild
parent062653d9f65e5bfd918182d638b5cc933a395663 (diff)
python/python-prometheus_client: Updated for version 0.12.0 (+new maintainer)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python-prometheus_client/python-prometheus_client.SlackBuild')
-rw-r--r--python/python-prometheus_client/python-prometheus_client.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/python/python-prometheus_client/python-prometheus_client.SlackBuild b/python/python-prometheus_client/python-prometheus_client.SlackBuild
index 8a8fc826d5..b444a7a1cb 100644
--- a/python/python-prometheus_client/python-prometheus_client.SlackBuild
+++ b/python/python-prometheus_client/python-prometheus_client.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for prometheus_client
# Copyright 2018-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2022 Isaac Yu <isaacyu1@isaacyu1.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,12 +26,13 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python-prometheus_client
-SRCNAM=client_python
-VERSION=${VERSION:-0.10.1}
+VERSION=${VERSION:-0.12.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+SRCNAM=client_python
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -88,7 +90,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- LICENSE README.md \
+ LICENSE NOTICE *.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild