mirror of
https://gitlab.com/CinnamonSlackBuilds/csb.git
synced 2025-01-29 20:35:02 +01:00
pysetuptools: Removed (Added to Slackware).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
4433073b96
commit
1b72bef46a
4 changed files with 0 additions and 88 deletions
|
@ -30,7 +30,6 @@ libgee
|
|||
caribou
|
||||
pexpect
|
||||
BeautifulSoup
|
||||
pysetuptools
|
||||
lxml
|
||||
metacity
|
||||
orc
|
||||
|
|
|
@ -70,7 +70,6 @@ for dir in \
|
|||
caribou \
|
||||
pexpect \
|
||||
BeautifulSoup \
|
||||
pysetuptools \
|
||||
lxml \
|
||||
metacity \
|
||||
orc \
|
||||
|
|
|
@ -1,74 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Copyright 2013-2014 Audrius Kažukauskas <audrius@neutrino.lt>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
# permitted provided that the following conditions are met:
|
||||
#
|
||||
# 1. Redistributions of this script must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# Modified by Willy Sudiarto Raharjo for CSB Project
|
||||
|
||||
PRGNAM=pysetuptools
|
||||
VERSION=${VERSION:-6.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_csb}
|
||||
|
||||
SRCNAM=setuptools
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
wget -c https://pypi.python.org/packages/source/s/setuptools/$SRCNAM-$VERSION.tar.gz
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/csb}
|
||||
PKG=${PKG:-$TMP/package-$SRCNAM}
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $SRCNAM-$VERSION
|
||||
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
|
||||
cd $SRCNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
rm -f setuptools/*.exe
|
||||
python setup.py install --root=$PKG
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \;
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}
|
|
@ -1,12 +0,0 @@
|
|||
|-----handy-ruler------------------------------------------------------|
|
||||
pysetuptools: pysetuptools (a collection of enhancements to Python distutils)
|
||||
pysetuptools:
|
||||
pysetuptools: Easily build, install, upgrade, and uninstall Python packages!
|
||||
pysetuptools:
|
||||
pysetuptools: Setuptools is a fully-featured, actively-maintained, and stable
|
||||
pysetuptools: library designed to facilitate packaging Python projects, where
|
||||
pysetuptools: packaging includes Python package and module definitions,
|
||||
pysetuptools: distribution package metadata, test hooks, project installation,
|
||||
pysetuptools: platform-specific details, and Python 3 support.
|
||||
pysetuptools:
|
||||
pysetuptools:
|
Loading…
Add table
Reference in a new issue