mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-06 08:26:50 +01:00
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:
parent
4e92e75cac
commit
f4c418d6bb
3 changed files with 4 additions and 18 deletions
|
@ -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'])
|
||||
)
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue