From c63dbc22c3a341245f950f1f27447de6f913295f Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Tue, 3 May 2011 15:31:32 -0500 Subject: python/pep8: Moved from Development category Signed-off-by: Robby Workman --- development/pep8/LICENSE.txt | 21 ----------------- development/pep8/README | 4 ---- development/pep8/pep8.SlackBuild | 50 ---------------------------------------- development/pep8/pep8.info | 10 -------- development/pep8/slack-desc | 19 --------------- python/pep8/LICENSE.txt | 21 +++++++++++++++++ python/pep8/README | 4 ++++ python/pep8/pep8.SlackBuild | 50 ++++++++++++++++++++++++++++++++++++++++ python/pep8/pep8.info | 10 ++++++++ python/pep8/slack-desc | 19 +++++++++++++++ 10 files changed, 104 insertions(+), 104 deletions(-) delete mode 100644 development/pep8/LICENSE.txt delete mode 100644 development/pep8/README delete mode 100644 development/pep8/pep8.SlackBuild delete mode 100644 development/pep8/pep8.info delete mode 100644 development/pep8/slack-desc create mode 100644 python/pep8/LICENSE.txt create mode 100644 python/pep8/README create mode 100644 python/pep8/pep8.SlackBuild create mode 100644 python/pep8/pep8.info create mode 100644 python/pep8/slack-desc diff --git a/development/pep8/LICENSE.txt b/development/pep8/LICENSE.txt deleted file mode 100644 index c4610a9f6da08..0000000000000 --- a/development/pep8/LICENSE.txt +++ /dev/null @@ -1,21 +0,0 @@ -Copyright (C) 2006 Johann C. Rocholl - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation files -(the "Software"), to deal in the Software without restriction, -including without limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of the Software, -and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/development/pep8/README b/development/pep8/README deleted file mode 100644 index a169dbd683ab8..0000000000000 --- a/development/pep8/README +++ /dev/null @@ -1,4 +0,0 @@ -pep8 is a tool to check your Python code against some of the style -conventions in PEP 8 . - -This requires pysetuptools. diff --git a/development/pep8/pep8.SlackBuild b/development/pep8/pep8.SlackBuild deleted file mode 100644 index a3ba6a6b296ea..0000000000000 --- a/development/pep8/pep8.SlackBuild +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/sh - -# Slackware build script for pep8 -# Written by Audrius Kažukauskas - -PRGNAM=pep8 -VERSION=${VERSION:-0.6.1} -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 . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -python setup.py install --root=$PKG - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGES.txt README.rst $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/LICENSE.txt > $PKG/usr/doc/$PRGNAM-$VERSION/LICENSE.txt -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/pep8/pep8.info b/development/pep8/pep8.info deleted file mode 100644 index fbd2906d6f21c..0000000000000 --- a/development/pep8/pep8.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="pep8" -VERSION="0.6.1" -HOMEPAGE="http://pypi.python.org/pypi/pep8" -DOWNLOAD="http://pypi.python.org/packages/source/p/pep8/pep8-0.6.1.tar.gz" -MD5SUM="49380cdf6ba2e222e8630cb0afe29d66" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Audrius Kažukauskas" -EMAIL="audrius@neutrino.lt" -APPROVED="Niels Horn" diff --git a/development/pep8/slack-desc b/development/pep8/slack-desc deleted file mode 100644 index 016ed3f89e7cb..0000000000000 --- a/development/pep8/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# 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------------------------------------------------------| -pep8: pep8 (Check Python source code formatting) -pep8: -pep8: pep8 is a tool to check your Python code against some of the style -pep8: conventions in PEP 8 . -pep8: -pep8: Homepage: http://pypi.python.org/pypi/pep8 -pep8: -pep8: -pep8: -pep8: -pep8: diff --git a/python/pep8/LICENSE.txt b/python/pep8/LICENSE.txt new file mode 100644 index 0000000000000..c4610a9f6da08 --- /dev/null +++ b/python/pep8/LICENSE.txt @@ -0,0 +1,21 @@ +Copyright (C) 2006 Johann C. Rocholl + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation files +(the "Software"), to deal in the Software without restriction, +including without limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of the Software, +and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS +BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/python/pep8/README b/python/pep8/README new file mode 100644 index 0000000000000..a169dbd683ab8 --- /dev/null +++ b/python/pep8/README @@ -0,0 +1,4 @@ +pep8 is a tool to check your Python code against some of the style +conventions in PEP 8 . + +This requires pysetuptools. diff --git a/python/pep8/pep8.SlackBuild b/python/pep8/pep8.SlackBuild new file mode 100644 index 0000000000000..a3ba6a6b296ea --- /dev/null +++ b/python/pep8/pep8.SlackBuild @@ -0,0 +1,50 @@ +#!/bin/sh + +# Slackware build script for pep8 +# Written by Audrius Kažukauskas + +PRGNAM=pep8 +VERSION=${VERSION:-0.6.1} +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 . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +python setup.py install --root=$PKG + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGES.txt README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/LICENSE.txt > $PKG/usr/doc/$PRGNAM-$VERSION/LICENSE.txt +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/python/pep8/pep8.info b/python/pep8/pep8.info new file mode 100644 index 0000000000000..fbd2906d6f21c --- /dev/null +++ b/python/pep8/pep8.info @@ -0,0 +1,10 @@ +PRGNAM="pep8" +VERSION="0.6.1" +HOMEPAGE="http://pypi.python.org/pypi/pep8" +DOWNLOAD="http://pypi.python.org/packages/source/p/pep8/pep8-0.6.1.tar.gz" +MD5SUM="49380cdf6ba2e222e8630cb0afe29d66" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Audrius Kažukauskas" +EMAIL="audrius@neutrino.lt" +APPROVED="Niels Horn" diff --git a/python/pep8/slack-desc b/python/pep8/slack-desc new file mode 100644 index 0000000000000..016ed3f89e7cb --- /dev/null +++ b/python/pep8/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------------------------------------------------------| +pep8: pep8 (Check Python source code formatting) +pep8: +pep8: pep8 is a tool to check your Python code against some of the style +pep8: conventions in PEP 8 . +pep8: +pep8: Homepage: http://pypi.python.org/pypi/pep8 +pep8: +pep8: +pep8: +pep8: +pep8: -- cgit v1.2.3