mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
development/distribute: Added (fork of the Setuptools project)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
4fd7d5c97e
commit
9795bb800a
4 changed files with 91 additions and 0 deletions
14
development/distribute/README
Normal file
14
development/distribute/README
Normal file
|
@ -0,0 +1,14 @@
|
|||
distribute is a fork of the setuptools project.
|
||||
|
||||
Distribute is intended to replace Setuptools as the standard method for working
|
||||
with Python module distributions.
|
||||
|
||||
For those who may wonder why they should switch to Distribute over Setuptools,
|
||||
it's quite simple:
|
||||
|
||||
- Distribute is a drop-in replacement for Setuptools.
|
||||
- The code is actively maintained, and has over 10 commiters.
|
||||
- Distribute offers Python 3 support!
|
||||
|
||||
If you have pysetuptools installed, you need to remove it before installing
|
||||
this package.
|
48
development/distribute/distribute.SlackBuild
Normal file
48
development/distribute/distribute.SlackBuild
Normal file
|
@ -0,0 +1,48 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for distribute
|
||||
# Written by Audrius Kažukauskas <audrius@neutrino.lt>
|
||||
|
||||
PRGNAM=distribute
|
||||
VERSION=${VERSION:-0.6.14}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
set -eu
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
|
||||
# Don't need this.
|
||||
rm -f setuptools/*.exe
|
||||
|
||||
python setup.py install --root=$PKG
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
install -m 0644 *.txt $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
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:-tgz}
|
10
development/distribute/distribute.info
Normal file
10
development/distribute/distribute.info
Normal file
|
@ -0,0 +1,10 @@
|
|||
PRGNAM="distribute"
|
||||
VERSION="0.6.14"
|
||||
HOMEPAGE="http://packages.python.org/distribute/"
|
||||
DOWNLOAD="http://pypi.python.org/packages/source/d/distribute/distribute-0.6.14.tar.gz"
|
||||
MD5SUM="ac607e05682116c06383b27a15e2db90"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Audrius Kažukauskas"
|
||||
EMAIL="audrius@neutrino.lt"
|
||||
APPROVED="dsomero"
|
19
development/distribute/slack-desc
Normal file
19
development/distribute/slack-desc
Normal file
|
@ -0,0 +1,19 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|'
|
||||
# on the right side marks the last column you can put a character in. You must
|
||||
# make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
distribute: Distribute (a fork of the Setuptools project)
|
||||
distribute:
|
||||
distribute: Distribute is intended to replace Setuptools as the standard method
|
||||
distribute: for working with Python module distributions.
|
||||
distribute:
|
||||
distribute: Homepage: http://packages.python.org/distribute/
|
||||
distribute:
|
||||
distribute:
|
||||
distribute:
|
||||
distribute:
|
||||
distribute:
|
Loading…
Reference in a new issue