From 9795bb800a5c3992e8ba4501d50016efce8ee0fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Audrius=20Ka=C5=BEukauskas?= Date: Fri, 17 Sep 2010 04:38:52 -0400 Subject: development/distribute: Added (fork of the Setuptools project) Signed-off-by: dsomero --- development/distribute/README | 14 ++++++++ development/distribute/distribute.SlackBuild | 48 ++++++++++++++++++++++++++++ development/distribute/distribute.info | 10 ++++++ development/distribute/slack-desc | 19 +++++++++++ 4 files changed, 91 insertions(+) create mode 100644 development/distribute/README create mode 100644 development/distribute/distribute.SlackBuild create mode 100644 development/distribute/distribute.info create mode 100644 development/distribute/slack-desc diff --git a/development/distribute/README b/development/distribute/README new file mode 100644 index 0000000000..3ba0c42347 --- /dev/null +++ b/development/distribute/README @@ -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. diff --git a/development/distribute/distribute.SlackBuild b/development/distribute/distribute.SlackBuild new file mode 100644 index 0000000000..a2b54f7767 --- /dev/null +++ b/development/distribute/distribute.SlackBuild @@ -0,0 +1,48 @@ +#!/bin/sh + +# Slackware build script for distribute +# Written by Audrius Kažukauskas + +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} diff --git a/development/distribute/distribute.info b/development/distribute/distribute.info new file mode 100644 index 0000000000..246324c8ff --- /dev/null +++ b/development/distribute/distribute.info @@ -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" diff --git a/development/distribute/slack-desc b/development/distribute/slack-desc new file mode 100644 index 0000000000..fa712f2e70 --- /dev/null +++ b/development/distribute/slack-desc @@ -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: -- cgit v1.2.3