aboutsummaryrefslogtreecommitdiff
path: root/python/python3-pytest-runner
diff options
context:
space:
mode:
authorJeremy Hansen <jebrhansen+github@gmail.com>2023-09-22 19:07:53 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-09-23 11:00:02 +0700
commit1a2499375bbb563509a808981cc01687b8486ff6 (patch)
treeea33439e74d8883eec9716bb56b8989a62ca00d0 /python/python3-pytest-runner
parentaa0d391e8fe3045a244f8a43ce07e3ebf1af75c8 (diff)
python/python3-pytest-runner: Correct email and clean up SlackBuild
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-pytest-runner')
-rw-r--r--python/python3-pytest-runner/python3-pytest-runner.SlackBuild21
-rw-r--r--python/python3-pytest-runner/python3-pytest-runner.info2
2 files changed, 3 insertions, 20 deletions
diff --git a/python/python3-pytest-runner/python3-pytest-runner.SlackBuild b/python/python3-pytest-runner/python3-pytest-runner.SlackBuild
index 22dc7e560b4a..a72ab3014aa5 100644
--- a/python/python3-pytest-runner/python3-pytest-runner.SlackBuild
+++ b/python/python3-pytest-runner/python3-pytest-runner.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for python3-pytest-runner
# Copyright 2022 Isaac Yu <isaacyu@protonmail.com>
+# Copyright 2023 Jeremy Hansen <jebrhansen+SBo@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,13 +26,12 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-pytest-runner
+SRCNAM=pytest-runner
VERSION=${VERSION:-6.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-SRCNAM=pytest-runner
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -52,20 +49,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
diff --git a/python/python3-pytest-runner/python3-pytest-runner.info b/python/python3-pytest-runner/python3-pytest-runner.info
index f29fe04d9310..e5fe17e5d418 100644
--- a/python/python3-pytest-runner/python3-pytest-runner.info
+++ b/python/python3-pytest-runner/python3-pytest-runner.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-pytest python3-build python3-wheel"
MAINTAINER="Jeremy Hansen"
-EMAIL="jebrhansen+SBp@gmail.com"
+EMAIL="jebrhansen+SBo@gmail.com"