aboutsummaryrefslogtreecommitdiff
path: root/python/python-prometheus_client/python-prometheus_client.SlackBuild
diff options
context:
space:
mode:
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