python/testpath: Fix install dir.

Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Benjamin Trigona-Harany 2021-02-18 21:06:32 +01:00 committed by Willy Sudiarto Raharjo
parent 4e92e75cac
commit f4c418d6bb
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 4 additions and 18 deletions

View file

@ -1,13 +0,0 @@
from setuptools import setup, find_packages
setup(
name='testpath',
version='0.4.1',
description='Test utilities for Python code working with files and commands',
url='https://github.com/jupyter/testpath',
author='The Jupyter Development Team',
license='MIT',
long_description='Test utilities for Python code working with files and commands',
packages=find_packages(exclude=['tests'])
)

View file

@ -2,7 +2,7 @@
# Slackware build script for testpath
# Copyright 2017-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -24,7 +24,7 @@
PRGNAM=testpath
VERSION=${VERSION:-0.4.4}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -69,7 +69,6 @@ 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 {} \;
cp $CWD/setup.py .
python2 setup.py install --root=$PKG
python3 setup.py install --root=$PKG

View file

@ -1,8 +1,8 @@
PRGNAM="testpath"
VERSION="0.4.4"
HOMEPAGE="https://github.com/jupyter/testpath"
DOWNLOAD="https://github.com/jupyter/testpath/archive/0.4.4/testpath-0.4.4.tar.gz"
MD5SUM="4d7795541fccebd2be9818aead36caf1"
DOWNLOAD="https://files.pythonhosted.org/packages/source/t/testpath/testpath-0.4.4.tar.gz"
MD5SUM="297100d49a6f20859383434a182cf426"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3"