diff options
Diffstat (limited to 'python')
144 files changed, 197 insertions, 3740 deletions
diff --git a/python/Mako/Mako.SlackBuild b/python/Mako/Mako.SlackBuild deleted file mode 100644 index bf7baa10c6..0000000000 --- a/python/Mako/Mako.SlackBuild +++ /dev/null @@ -1,75 +0,0 @@ -#!/bin/sh - -# Slackware build script for Mako - -# Written by Larry Hajali <larryhaja[at]gmail[dot]com> -# Copyright 2017, 2019 Hunter Sezen California, USA -# 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. - -PRGNAM=Mako -VERSION=${VERSION:-1.1.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - 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 -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 {} \; - -python setup.py install --root=$PKG - -# Python 3 support. -if python3 -c 'import sys' 2>/dev/null; then - python3 setup.py install --root=$PKG -fi - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS CHANGES LICENSE README.rst doc/*.html \ - $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/python/Mako/Mako.info b/python/Mako/Mako.info deleted file mode 100644 index 7aac08c55f..0000000000 --- a/python/Mako/Mako.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="Mako" -VERSION="1.1.0" -HOMEPAGE="https://www.makotemplates.org/" -DOWNLOAD="https://files.pythonhosted.org/packages/b0/3c/8dcd6883d009f7cae0f3157fb53e9afb05a0d3d33b3db1268ec2e6f4a56b/Mako-1.1.0.tar.gz" -MD5SUM="6c3f2da0b74af529a4c4a537d0848bf2" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Hunter Sezen" -EMAIL="orbea@riseup.net" diff --git a/python/Mako/README b/python/Mako/README deleted file mode 100644 index b39455cf1d..0000000000 --- a/python/Mako/README +++ /dev/null @@ -1,11 +0,0 @@ -Mako is a template library written in Python. It provides a familiar, -non-XML syntax which compiles into Python modules for maximum -performance. Mako's syntax and API borrows from the best ideas of many -others, including Django templates, Cheetah, Myghty, and Genshi. -Conceptually, Mako is an embedded Python (i.e. Python Server Page) -language, which refines the familiar ideas of componentized layout and -inheritance to produce one of the most straightforward and flexible -models available, while also maintaining close ties to Python calling -and scoping semantics. - -Python3 is an optional dependency. diff --git a/python/Mako/slack-desc b/python/Mako/slack-desc deleted file mode 100644 index 3ae4979cac..0000000000 --- a/python/Mako/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -Mako: Mako (A python templating language) -Mako: -Mako: Mako is a template library written in Python. It provides a familiar, -Mako: non-XML syntax which compiles into Python modules for maximum -Mako: performance. Mako's syntax and API borrows from the best ideas of many -Mako: others, including Django templates, Cheetah, Myghty, and Genshi. -Mako: Conceptually, Mako is an embedded Python (i.e. Python Server Page) -Mako: language, which refines the familiar ideas of componentized layout and -Mako: inheritance to produce one of the most straightforward and flexible -Mako: models available, while also maintaining close ties to Python. -Mako: Homepage: http://www.makotemplates.org/ diff --git a/python/Pygments/Pygments.SlackBuild b/python/Pygments/Pygments.SlackBuild deleted file mode 100644 index cfeea2b0be..0000000000 --- a/python/Pygments/Pygments.SlackBuild +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh - -# Slackware build script for Pygments - -# Copyright 2009 Grissiom <chaos.proton@gmail.com> -# Copyright 2009-2015 LukenShiro, Italy -# Copyright 2017-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> -# 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. - -PRGNAM=Pygments -VERSION=${VERSION:-2.5.2} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -e - -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 -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 {} \; - -python2 setup.py install --prefix=/usr --root=$PKG -python3 setup.py install --prefix=/usr --root=$PKG - -mkdir -p $PKG/usr/man/man1 -cp -a doc/pygmentize.1 $PKG/usr/man/man1 -# Adapting to Slackware's directory layout -sed -i "s|share/doc/python-pygments|doc/${PRGNAM}-${VERSION}|" \ - $PKG/usr/man/man1/pygmentize.1 - -find $PKG/usr/man -type f -exec gzip -9 {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS CHANGES LICENSE README.rst \ - $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/python/Pygments/Pygments.info b/python/Pygments/Pygments.info deleted file mode 100644 index 8727823497..0000000000 --- a/python/Pygments/Pygments.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="Pygments" -VERSION="2.5.2" -HOMEPAGE="https://pygments.org/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/P/Pygments/Pygments-2.5.2.tar.gz" -MD5SUM="465a35559863089d959d783a69f79b9f" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="python3" -MAINTAINER="Benjamin Trigona-Harany" -EMAIL="slackbuilds@jaxartes.net" diff --git a/python/Pygments/README b/python/Pygments/README deleted file mode 100644 index 975ce911d5..0000000000 --- a/python/Pygments/README +++ /dev/null @@ -1,11 +0,0 @@ -Pygments is a generic syntax highlighter for general use in all kinds of -software such as forum systems, wikis or other applications that need to -prettify source code. - -Highlights are: - * A wide range of common languages and markup formats is supported. - * Special attention is paid to details, increasing quality by a fair amount. - * Support for new languages and formats are added easily. - * A number of output formats, presently HTML, LaTeX, RTF, SVG and ANSI - sequences. - * It is usable as a command-line tool and as a library. diff --git a/python/Pygments/slack-desc b/python/Pygments/slack-desc deleted file mode 100644 index e648ba594b..0000000000 --- a/python/Pygments/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -Pygments: Pygments (syntax highlighting package written in Python) -Pygments: -Pygments: It is a generic syntax highlighter for general use in all kinds of -Pygments: software such as forum systems, wikis or other applications that need -Pygments: to prettify source code. A wide range of common languages and markup -Pygments: formats is supported. -Pygments: -Pygments: -Pygments: -Pygments: -Pygments: diff --git a/python/cryptography/cryptography.SlackBuild b/python/cryptography/cryptography.SlackBuild index 120640c210..ea66340723 100644 --- a/python/cryptography/cryptography.SlackBuild +++ b/python/cryptography/cryptography.SlackBuild @@ -25,7 +25,7 @@ # Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115 PRGNAM=cryptography -VERSION=${VERSION:-2.1.4} +VERSION=${VERSION:-2.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/cryptography/cryptography.info b/python/cryptography/cryptography.info index 492e5edda9..413b50ea50 100644 --- a/python/cryptography/cryptography.info +++ b/python/cryptography/cryptography.info @@ -1,10 +1,10 @@ PRGNAM="cryptography" -VERSION="2.1.4" +VERSION="2.8" HOMEPAGE="https://cryptography.io/" -DOWNLOAD="https://pypi.python.org/packages/78/c5/7188f15a92413096c93053d5304718e1f6ba88b818357d05d19250ebff85/cryptography-2.1.4.tar.gz" -MD5SUM="9f39d4d8f2b05f295fa0ff52475ec4f2" +DOWNLOAD="https://files.pythonhosted.org/packages/be/60/da377e1bed002716fb2d5d1d1cab720f298cb33ecff7bf7adea72788e4e4/cryptography-2.8.tar.gz" +MD5SUM="77730058b556c6d9838679a94c6229ce" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="pyasn1 cffi enum34 ipaddress idna packaging asn1crypto" +REQUIRES="pyasn1 cffi enum34 ipaddress idna packaging asn1crypto wheel" MAINTAINER="Markus Reichelt" EMAIL="slackbuilds@mareichelt.de" diff --git a/python/css-parser/README b/python/css-parser/README new file mode 100644 index 0000000000..5cf85ef683 --- /dev/null +++ b/python/css-parser/README @@ -0,0 +1,3 @@ +A Python package to parse and build CSS Cascading Style Sheets. + +Optional dependencies: python3, python-chardet and gdata. diff --git a/python/idna/idna.SlackBuild b/python/css-parser/css-parser.SlackBuild index fce3d8cdf5..23c3486b7e 100644 --- a/python/idna/idna.SlackBuild +++ b/python/css-parser/css-parser.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh -# Slackware build script for idna +# Slackware build script for css-parser -# Copyright 2015-2018 Markus Reichelt, Aachen, DE +# Copyright 2009-2017 Larry Hajali <larryhaja[at]gmail[dot]com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,11 +22,16 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=idna -VERSION=${VERSION:-2.6} +PRGNAM=css-parser +VERSION=${VERSION:-1.0.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -35,25 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -69,9 +55,17 @@ 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 {} \; +# Change files from DOS to unix. +for FILE in $(find . -type f -exec grep -Pl '\r$' {} \;); do + sed -e 's/\r//g' $FILE > ${FILE}.new + touch -r $FILE ${FILE}.new + mv ${FILE}.new $FILE +done + python setup.py install --root=$PKG if $(python3 -c 'import sys' 2>/dev/null); then + rm -rf build python3 setup.py install --root=$PKG fi @@ -79,7 +73,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a *.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/css-parser/css-parser.info b/python/css-parser/css-parser.info new file mode 100644 index 0000000000..552f961364 --- /dev/null +++ b/python/css-parser/css-parser.info @@ -0,0 +1,10 @@ +PRGNAM="css-parser" +VERSION="1.0.4" +HOMEPAGE="https://github.com/ebook-utils/css-parser" +DOWNLOAD="https://files.pythonhosted.org/packages/38/97/94c9cdb2410d4f89749fa947338970203ef26f2bdb7ac089ab96a87763d2/css-parser-1.0.4.tar.gz" +MD5SUM="c6caae4db5557a07b7353c97baa13767" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Larry Hajali" +EMAIL="larryhaja[at]gmail[dot]com" diff --git a/python/dbus-python3/slack-desc b/python/css-parser/slack-desc index b7b83c2e07..8babce12b6 100644 --- a/python/dbus-python3/slack-desc +++ b/python/css-parser/slack-desc @@ -5,15 +5,15 @@ # You must make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':' except on otherwise blank lines. - |-----handy-ruler------------------------------------------------------| -dbus-python3: dbus-python3 (Python3 bindings for dbus) -dbus-python3: -dbus-python3: dbus-python is a binding for libdbus, the reference implementation -dbus-python3: of D-Bus. -dbus-python3: -dbus-python3: -dbus-python3: -dbus-python3: -dbus-python3: -dbus-python3: -dbus-python3: + |-----handy-ruler------------------------------------------------------| +css-parser: css-parser (CSS parser and builder) +css-parser: +css-parser: A Python package to parse and build CSS Cascading Style Sheets. +css-parser: +css-parser: Homepage: https://github.com/ebook-utils/css-parser +css-parser: +css-parser: +css-parser: +css-parser: +css-parser: +css-parser: diff --git a/python/curtsies/curtsies.SlackBuild b/python/curtsies/curtsies.SlackBuild index 8e0f82e29c..3052cccefd 100644 --- a/python/curtsies/curtsies.SlackBuild +++ b/python/curtsies/curtsies.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=curtsies -VERSION=${VERSION:-0.3.0} +VERSION=${VERSION:-0.3.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/curtsies/curtsies.info b/python/curtsies/curtsies.info index 78ba063494..904a72de56 100644 --- a/python/curtsies/curtsies.info +++ b/python/curtsies/curtsies.info @@ -1,8 +1,8 @@ PRGNAM="curtsies" -VERSION="0.3.0" +VERSION="0.3.1" HOMEPAGE="https://github.com/thomasballinger/curtsies" -DOWNLOAD="https://files.pythonhosted.org/packages/78/1e/3b69f26d9e496901e80fc90e39e479c85fb6df595c2e2935a4fd781b3c9b/curtsies-0.3.0.tar.gz" -MD5SUM="20e7295c9592b4101915131a685725f0" +DOWNLOAD="https://files.pythonhosted.org/packages/5a/81/acd15a63392c25d78ba94f528f66e86093d72e0fb618b573743aa4efdccc/curtsies-0.3.1.tar.gz" +MD5SUM="60b63928812df3297856bcd53278071b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="blessings wcwidth" diff --git a/python/dbus-python3/README b/python/dbus-python3/README deleted file mode 100644 index f6bf55695d..0000000000 --- a/python/dbus-python3/README +++ /dev/null @@ -1,6 +0,0 @@ -dbus-python3 (Python3 bindings for dbus) - -dbus-python is a binding for libdbus, the reference implementation of -D-Bus. For compatibility reasons, its API involves a lot of type-guessing -(despite "explicit is better than implicit" and "resist the temptation -to guess"). diff --git a/python/dbus-python3/dbus-python3.SlackBuild b/python/dbus-python3/dbus-python3.SlackBuild deleted file mode 100644 index 03f9d06fa6..0000000000 --- a/python/dbus-python3/dbus-python3.SlackBuild +++ /dev/null @@ -1,101 +0,0 @@ -#!/bin/sh - -# Slackware build script for dbus-python3 - -# Copyright 2016 Hunter Sezen California, USA -# 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. - -PRGNAM=dbus-python3 -SRCNAM=$(echo $PRGNAM | tr -d 3) -VERSION=${VERSION:-1.2.4} -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} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -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 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -PYTHON=/usr/bin/python3 \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux \ - --host=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -# Conflicts with Slackware's dbus-python package -rm -rf $PKG/usr/include -rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README $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/python/dbus-python3/dbus-python3.info b/python/dbus-python3/dbus-python3.info deleted file mode 100644 index 32a06750ba..0000000000 --- a/python/dbus-python3/dbus-python3.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="dbus-python3" -VERSION="1.2.4" -HOMEPAGE="http://www.freedesktop.org/wiki/Software/DBusBindings#Python" -DOWNLOAD="https://dbus.freedesktop.org/releases/dbus-python/dbus-python-1.2.4.tar.gz" -MD5SUM="7372a588c83a7232b4e08159bfd48fe5" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="python3" -MAINTAINER="Hunter Sezen" -EMAIL="orbea@riseup.net" diff --git a/python/gst-python/gst-python.SlackBuild b/python/gst-python/gst-python.SlackBuild index 9a6c438da5..4a847d9c56 100644 --- a/python/gst-python/gst-python.SlackBuild +++ b/python/gst-python/gst-python.SlackBuild @@ -23,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gst-python -VERSION=${VERSION:-1.6.2} +VERSION=${VERSION:-1.16.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" diff --git a/python/gst-python/gst-python.info b/python/gst-python/gst-python.info index bfb027af8c..9e3ae5125e 100644 --- a/python/gst-python/gst-python.info +++ b/python/gst-python/gst-python.info @@ -1,8 +1,8 @@ PRGNAM="gst-python" -VERSION="1.6.2" +VERSION="1.16.2" HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-python.html" -DOWNLOAD="https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.6.2.tar.xz" -MD5SUM="14b6cfe1a0db5cc01c6a58f7b4af6184" +DOWNLOAD="https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.16.2.tar.xz" +MD5SUM="6ac709767334d8d0a71cb4e016f6abeb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/gst-python3/fix-builds-with-python-3.8.patch b/python/gst-python3/fix-builds-with-python-3.8.patch new file mode 100644 index 0000000000..edff445a7a --- /dev/null +++ b/python/gst-python3/fix-builds-with-python-3.8.patch @@ -0,0 +1,43 @@ +From 10707f437f2fc3632067c6a0efa4432f7ebaf362 Mon Sep 17 00:00:00 2001 +From: Sebastian Dröge <sebastian@centricular.com> +Date: Fri, 13 Dec 2019 10:46:20 +0200 +Subject: [PATCH] backport of "fix build with Python 3.8 by also checking for + python-3.X-embed.pc" + +Since Python 3.8 the normal checks don't include the Python libraries +anymore and linking of the gst-python module would fail. + +See also https://github.com/mesonbuild/meson/issues/5629 + +Fixes https://gitlab.freedesktop.org/gstreamer/gst-python/issues/28 + +Upstream commit: 22f28155d86e27c4134de4ed2861264003fcfd23 + +Signed-off-by: Sebastian Dröge <sebastian@centricular.com> +Signed-off-by: Adam Duskett <aduskett@gmail.com> +--- + meson.build | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/meson.build b/meson.build +index 744b7ce..492af1a 100644 +--- a/meson.build ++++ b/meson.build +@@ -25,6 +25,14 @@ pygobject_dep = dependency('pygobject-3.0', fallback: ['pygobject', 'pygobject_d + pymod = import('python') + python = pymod.find_installation(get_option('python')) + python_dep = python.dependency(required : true) ++pythonver = python.language_version() ++ ++# Workaround for https://github.com/mesonbuild/meson/issues/5629 ++# https://gitlab.freedesktop.org/gstreamer/gst-python/issues/28 ++python_dep = dependency('python-@0@-embed'.format(pythonver), version: '>=3', required: false) ++if not python_dep.found() ++ python_dep = python.dependency(required : true) ++endif + + python_abi_flags = python.get_variable('ABIFLAGS', '') + pylib_loc = get_option('libpython-dir') +-- +2.24.1 + diff --git a/python/gst-python3/gst-python3.SlackBuild b/python/gst-python3/gst-python3.SlackBuild index a9c2d7eb42..08ebb64e98 100644 --- a/python/gst-python3/gst-python3.SlackBuild +++ b/python/gst-python3/gst-python3.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=gst-python3 SRCNAM=gst-python -VERSION=${VERSION:-1.6.2} +VERSION=${VERSION:-1.16.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -71,18 +71,23 @@ 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 {} \; -CFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --build=$ARCH-slackware-linux \ - PYTHON=/usr/bin/python3 +patch -p1 < $CWD/fix-builds-with-python-3.8.patch -make -make install DESTDIR=$PKG - -# Remove the .la file to prevent conflicts with the python2 version of gst-python -rm $PKG/usr/lib${LIBDIRSUFFIX}/gstreamer-1.0/libgstpythonplugin.la +mkdir build +cd build + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --buildtype=release \ + --infodir=/usr/info \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --localstatedir=/var \ + --mandir=/usr/man \ + --prefix=/usr \ + --sysconfdir=/etc + ninja + DESTDIR=$PKG ninja install +cd .. find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/python/gst-python3/gst-python3.info b/python/gst-python3/gst-python3.info index 71b1372970..1837d4e1ea 100644 --- a/python/gst-python3/gst-python3.info +++ b/python/gst-python3/gst-python3.info @@ -1,8 +1,8 @@ PRGNAM="gst-python3" -VERSION="1.6.2" +VERSION="1.16.2" HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-python.html" -DOWNLOAD="https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.6.2.tar.xz" -MD5SUM="14b6cfe1a0db5cc01c6a58f7b4af6184" +DOWNLOAD="https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.16.2.tar.xz" +MD5SUM="6ac709767334d8d0a71cb4e016f6abeb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3" diff --git a/python/halberd/halberd.SlackBuild b/python/halberd/halberd.SlackBuild index 2081acbd56..8e78173d5d 100644 --- a/python/halberd/halberd.SlackBuild +++ b/python/halberd/halberd.SlackBuild @@ -69,9 +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 {} \; -# Fix path to latex binary for Slackware -patch -p1 --verbose < $CWD/make-pdf-manual.diff - # Generate PDF documentation ( cd doc/ make manual.pdf diff --git a/python/halberd/make-pdf-manual.diff b/python/halberd/make-pdf-manual.diff deleted file mode 100644 index 6eae15bdd0..0000000000 --- a/python/halberd/make-pdf-manual.diff +++ /dev/null @@ -1,14 +0,0 @@ - -Corrects the path to the latex binary on Slackware. - ---- halberd-0.2.4.orig/doc/GNUmakefile 2015-11-17 19:57:03.993466727 -0700 -+++ halberd-0.2.4/doc/GNUmakefile 2015-11-17 19:58:43.780459960 -0700 -@@ -15,7 +15,7 @@ - # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - --LATEX := /usr/bin/latex -+LATEX := /usr/share/texmf/bin/latex - DVIPDF := /usr/bin/dvipdf - LATEX2HTML := /usr/bin/latex2html - diff --git a/python/idna/README b/python/idna/README deleted file mode 100644 index f9cda8c1b2..0000000000 --- a/python/idna/README +++ /dev/null @@ -1,3 +0,0 @@ -Internationalized Domain Names in Applications (IDNA) - -Optional dependency: python3 diff --git a/python/idna/idna.info b/python/idna/idna.info deleted file mode 100644 index 2fc3b4a57d..0000000000 --- a/python/idna/idna.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="idna" -VERSION="2.6" -HOMEPAGE="https://github.com/kjd/idna" -DOWNLOAD="https://github.com/kjd/idna/archive/v2.6/idna-2.6.tar.gz" -MD5SUM="a835f2d123511e2a28c8ccda7a2da7fc" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Markus Reichelt" -EMAIL="slackbuilds@mareichelt.de" diff --git a/python/idna/slack-desc b/python/idna/slack-desc deleted file mode 100644 index 5010245075..0000000000 --- a/python/idna/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -idna: idna (Internationalized Domain Names in Applications) -idna: -idna: A library to support the IDNA protocol as specified in RFC 5891. -idna: -idna: -idna: -idna: Homepage: https://github.com/kjd/idna -idna: -idna: -idna: -idna: diff --git a/python/packaging/README b/python/packaging/README deleted file mode 100644 index 2fd2170a02..0000000000 --- a/python/packaging/README +++ /dev/null @@ -1 +0,0 @@ -Core utilities for Python packages. diff --git a/python/packaging/packaging.SlackBuild b/python/packaging/packaging.SlackBuild deleted file mode 100644 index b977bbb29b..0000000000 --- a/python/packaging/packaging.SlackBuild +++ /dev/null @@ -1,86 +0,0 @@ -#!/bin/sh - -# Slackware build script for packaging -# -# Copyright 2017,2018 Markus Reichelt, Aachen, DE -# 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. - -PRGNAM=packaging -VERSION=${VERSION:-17.1} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -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 -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 {} \; - -python setup.py install --root=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE* *.rst docs/ $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/python/packaging/packaging.info b/python/packaging/packaging.info deleted file mode 100644 index 247e0c9305..0000000000 --- a/python/packaging/packaging.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="packaging" -VERSION="17.1" -HOMEPAGE="https://pypi.python.org/pypi/packaging" -DOWNLOAD="https://files.pythonhosted.org/packages/77/32/439f47be99809c12ef2da8b60a2c47987786d2c6c9205549dd6ef95df8bd/packaging-17.1.tar.gz" -MD5SUM="8baf8241d1b6b0a5fae9b00f359976a8" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="pyparsing six" -MAINTAINER="Markus Reichelt" -EMAIL="slackbuilds@mareichelt.de" diff --git a/python/packaging/slack-desc b/python/packaging/slack-desc deleted file mode 100644 index 77dcf7455d..0000000000 --- a/python/packaging/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -packaging: packaging (Core utilities for Python packages) -packaging: -packaging: https://pypi.python.org/pypi/packaging -packaging: -packaging: -packaging: -packaging: -packaging: -packaging: -packaging: -packaging: diff --git a/python/pip/README b/python/pip/README deleted file mode 100644 index 6c75c7eea5..0000000000 --- a/python/pip/README +++ /dev/null @@ -1,24 +0,0 @@ -pip is a replacement for easy_install (from python-setuptools). It uses -mostly the same techniques for finding packages, so packages that were -made easy_installable should be pip-installable as well. - -pip is meant to improve on easy_install. Some of the improvements: - -- All packages are downloaded before installation. Partially-completed - installation doesn't occur as a result. -- Care is taken to present useful output on the console. -- The reasons for actions are kept track of. For instance, if a package - is being installed, pip keeps track of why that package was required. -- Error messages should be useful. -- The code is relatively concise and cohesive, making it easier to use - programmatically. -- Packages don't have to be installed as egg archives, they can be - installed flat (while keeping the egg metadata). -- Native support for other version control systems (Git, Mercurial and - Bazaar). -- Uninstallation of packages. -- Simple to define fixed sets of requirements and reliably reproduce a - set of packages. - -pip is complementary with virtualenv, and it is encouraged that you use -virtualenv to isolate your installation. diff --git a/python/pip/pip.SlackBuild b/python/pip/pip.SlackBuild deleted file mode 100644 index 0f28914773..0000000000 --- a/python/pip/pip.SlackBuild +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/sh - -# Slackware build script for pip - -# Copyright 2012-2018 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. - -PRGNAM=pip -VERSION=${VERSION:-9.0.3} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -e - -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 -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 {} \; - -python setup.py install --root=$PKG - -# Add bash completion file. -install -D -m 644 $CWD/pip.sh $PKG/usr/share/bash-completion/completions/pip - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a *.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/python/pip/pip.info b/python/pip/pip.info deleted file mode 100644 index ca296f0c81..0000000000 --- a/python/pip/pip.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="pip" -VERSION="9.0.3" -HOMEPAGE="https://pip.pypa.io/" -DOWNLOAD="https://pypi.python.org/packages/c4/44/e6b8056b6c8f2bfd1445cc9990f478930d8e3459e9dbf5b8e2d2922d64d3/pip-9.0.3.tar.gz" -MD5SUM="b15b33f9aad61f88d0f8c866d16c55d8" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Audrius Kažukauskas" -EMAIL="audrius@neutrino.lt" diff --git a/python/pip/pip.sh b/python/pip/pip.sh deleted file mode 100644 index b9b1ea1477..0000000000 --- a/python/pip/pip.sh +++ /dev/null @@ -1,9 +0,0 @@ -# bash completion for pip - -_pip_completion() -{ - COMPREPLY=( $( COMP_WORDS="${COMP_WORDS[*]}" \ - COMP_CWORD=$COMP_CWORD \ - PIP_AUTO_COMPLETE=1 $1 ) ) -} -complete -o default -F _pip_completion pip diff --git a/python/pip/slack-desc b/python/pip/slack-desc deleted file mode 100644 index 443b5a0291..0000000000 --- a/python/pip/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -pip: pip (a better easy_install replacement) -pip: -pip: pip is a replacement for easy_install from python-setuptools. -pip: -pip: Homepage: https://pip.pypa.io/ -pip: -pip: -pip: -pip: -pip: -pip: diff --git a/python/ply/README b/python/ply/README deleted file mode 100644 index 2f2cf04e38..0000000000 --- a/python/ply/README +++ /dev/null @@ -1,2 +0,0 @@ -PLY is a 100% Python implementation of the common parsing tools lex -and yacc. diff --git a/python/ply/ply.SlackBuild b/python/ply/ply.SlackBuild deleted file mode 100644 index 179d6b7aae..0000000000 --- a/python/ply/ply.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for ply - -# Copyright 2014-2018 Dimitris Zlatanidis Orestiada, Greeece -# 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. - -PRGNAM=ply -VERSION=${VERSION:-3.11} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -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 -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 {} \; - -python setup.py install --root=$PKG - -# Python 3 support. -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION - -cp -a ANNOUNCE CHANGES PKG-INFO TODO $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/python/ply/ply.info b/python/ply/ply.info deleted file mode 100644 index a9b9df8638..0000000000 --- a/python/ply/ply.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="ply" -VERSION="3.11" -HOMEPAGE="http://www.dabeaz.com/ply/" -DOWNLOAD="https://pypi.python.org/packages/e5/69/882ee5c9d017149285cab114ebeab373308ef0f874fcdac9beb90e0ac4da/ply-3.11.tar.gz" -MD5SUM="6465f602e656455affcd7c5734c638f8" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/ply/slack-desc b/python/ply/slack-desc deleted file mode 100644 index 62a84d58d8..0000000000 --- a/python/ply/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -ply: ply (Python Lex & Yacc) -ply: -ply: PLY is yet another implementation of lex and yacc for Python. -ply: Some notable features include the fact that its implemented entirely -ply: n Python and it uses LALR(1) parsing which is efficient and well -ply: suited for larger grammars. -ply: -ply: Homepage: http://www.dabeaz.com/ply/ -ply: -ply: -ply: diff --git a/python/py3cairo/README b/python/py3cairo/README deleted file mode 100644 index 5e237fabd8..0000000000 --- a/python/py3cairo/README +++ /dev/null @@ -1,8 +0,0 @@ -Py3cairo is a Python 3.x binding for the Cairo graphics library. -The Pycairo bindings are designed to match the cairo C API as closely as -possible, and to deviate only in cases which are clearly better -implemented in a more 'Pythonic' way. - -This requires python3. - -Py3cairo is safe to install beside Slackware's pycairo package (Python 2.7). diff --git a/python/py3cairo/py3cairo.SlackBuild b/python/py3cairo/py3cairo.SlackBuild deleted file mode 100644 index 80ddef805f..0000000000 --- a/python/py3cairo/py3cairo.SlackBuild +++ /dev/null @@ -1,108 +0,0 @@ -#!/bin/sh - -# Slackware build script for py3cairo -# Copyright 2014, Bojan Popovic <bocke@slackware-srbija.org>, Belgrade, Serbia -# 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. - -PRGNAM=py3cairo -SRCNAM=pycairo -VERSION=${VERSION:-1.10.0} -BUILD=${BUILD:-3} -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} - -DOCS="COPYING* AUTHORS INSTALL NEWS README doc examples" - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -export PYTHON=python3 - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2 -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 {} \; - -patch -p1 < $CWD/pycairo-1.10.0-waf_unpack-1.patch -wafdir=$(./waf unpack) -pushd $wafdir -patch -p1 < $CWD/pycairo-1.10.0-waf_python_3_4-1.patch -popd -unset wafdir - -PYTHON="/usr/bin/python3" \ -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./waf configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION - -./waf build -DESTDIR=$PKG ./waf install - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $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/python/py3cairo/py3cairo.info b/python/py3cairo/py3cairo.info deleted file mode 100644 index 22bc7cca86..0000000000 --- a/python/py3cairo/py3cairo.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="py3cairo" -VERSION="1.10.0" -HOMEPAGE="http://cairographics.org/pycairo/" -DOWNLOAD="http://cairographics.org/releases/pycairo-1.10.0.tar.bz2" -MD5SUM="e6fd3f2f1e6a72e0db0868c4985669c5" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="python3" -MAINTAINER="Bojan Popovic" -EMAIL="bocke@slackware-srbija.org" diff --git a/python/py3cairo/pycairo-1.10.0-waf_python_3_4-1.patch b/python/py3cairo/pycairo-1.10.0-waf_python_3_4-1.patch deleted file mode 100644 index 83f69bdeeb..0000000000 --- a/python/py3cairo/pycairo-1.10.0-waf_python_3_4-1.patch +++ /dev/null @@ -1,19 +0,0 @@ -Submitted by: Wayne Blaszczyk (wblaszcz at bigpond dot net dot au) -Date: 2014-03-27 -Initial Package Version: 1.10.0 -Upstream Status: unknown -Origin: Gentoo -URL: https://bugs.gentoo.org/show_bug.cgi?id=504342 -Description: Fix build with Python-3.4 - ---- a/waflib/Tools/python.py -+++ b/waflib/Tools/python.py -@@ -169,7 +169,7 @@ - conf.find_program('python-config-%s'%num,var='PYTHON_CONFIG',mandatory=False) - includes=[] - if conf.env.PYTHON_CONFIG: -- for incstr in conf.cmd_and_log(conf.env.PYTHON+[conf.env.PYTHON_CONFIG,'--includes']).strip().split(): -+ for incstr in conf.cmd_and_log([conf.env.PYTHON_CONFIG,'--includes']).strip().split(): - if(incstr.startswith('-I')or incstr.startswith('/I')): - incstr=incstr[2:] - if incstr not in includes: diff --git a/python/py3cairo/pycairo-1.10.0-waf_unpack-1.patch b/python/py3cairo/pycairo-1.10.0-waf_unpack-1.patch deleted file mode 100644 index 319dd2c13b..0000000000 --- a/python/py3cairo/pycairo-1.10.0-waf_unpack-1.patch +++ /dev/null @@ -1,20 +0,0 @@ -Submitted by: Wayne Blaszczyk (wblaszcz at bigpond dot net dot au) -Date: 2014-03-27 -Initial Package Version: 1.10.0 -Upstream Status: unknown -Origin: Gentoo -URL: https://bugs.gentoo.org/show_bug.cgi?id=504342 -Description: Fix build with Python-3.4 - ---- a/waf -+++ b/waf -@@ -153,6 +153,9 @@ - return dir - - wafdir = find_lib() -+if sys.argv[1:] == ['unpack']: -+ print(wafdir) -+ exit() - sys.path.insert(0, wafdir) - from waflib.Tools.c_config import MACRO_TO_DESTOS - MACRO_TO_DESTOS['__POWERPC__'] = 'darwin' diff --git a/python/py3cairo/slack-desc b/python/py3cairo/slack-desc deleted file mode 100644 index 5d9388745f..0000000000 --- a/python/py3cairo/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -py3cairo: py3cairo (Python 3.x bindings for cairo) -py3cairo: -py3cairo: Pycairo is a Python binding for the cairo graphics library. -py3cairo: The Pycairo bindings are designed to match the cairo C API as closely -py3cairo: as possible, and to deviate only in cases which are clearly better -py3cairo: implemented in a more 'Pythonic' way. -py3cairo: -py3cairo: -py3cairo: -py3cairo: Home Page: http://cairographics.org/pycairo/ -py3cairo: diff --git a/python/pygobject3-python3/README b/python/pygobject3-python3/README deleted file mode 100644 index 76fd055556..0000000000 --- a/python/pygobject3-python3/README +++ /dev/null @@ -1,3 +0,0 @@ -This archive contains bindings for the GLib, and GObject, to be used in Python. -It is a fairly complete set of bindings, it's already rather useful, and is -usable to write moderately complex programs. diff --git a/python/pygobject3-python3/pygobject3-python3.SlackBuild b/python/pygobject3-python3/pygobject3-python3.SlackBuild deleted file mode 100644 index 0f871f9bc4..0000000000 --- a/python/pygobject3-python3/pygobject3-python3.SlackBuild +++ /dev/null @@ -1,100 +0,0 @@ -#!/bin/sh - -# Slackware build script for pygobject3-python3 - -# Copyright 2016 Hunter Sezen California, USA -# 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. - -PRGNAM=pygobject3-python3 -SRCNAM=pygobject -VERSION=${VERSION:-3.18.2} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.xz -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 {} \; - -CFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --with-python=python3 \ - --enable-compile-warnings=no \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -# Conflicts with Slackware's pygobject3 package -rm -rf $PKG/usr/include -rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog INSTALL NEWS PKG-INFO README \ - $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/python/pygobject3-python3/pygobject3-python3.info b/python/pygobject3-python3/pygobject3-python3.info deleted file mode 100644 index 23fd6a46f1..0000000000 --- a/python/pygobject3-python3/pygobject3-python3.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="pygobject3-python3" -VERSION="3.18.2" -HOMEPAGE="http://www.pygtk.org/" -DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.18/pygobject-3.18.2.tar.xz" -MD5SUM="0a956f3e785e23b0f136832f2e57a862" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="py3cairo" -MAINTAINER="Hunter Sezen" -EMAIL="orbea@riseup.net" diff --git a/python/pygobject3-python3/slack-desc b/python/pygobject3-python3/slack-desc deleted file mode 100644 index 48b49f9cd8..0000000000 --- a/python/pygobject3-python3/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -pygobject3-python3: pygobject3-python3 (GObject bindings for Python3) -pygobject3-python3: -pygobject3-python3: This archive contains bindings for the GLib, and GObject, to be used -pygobject3-python3: in Python. It is a fairly complete set of bindings, it's already -pygobject3-python3: rather useful, and is usable to write moderately complex programs. -pygobject3-python3: -pygobject3-python3: Home page: http://www.pygtk.org/ -pygobject3-python3: -pygobject3-python3: -pygobject3-python3: -pygobject3-python3: diff --git a/python/pyicu/pyicu.SlackBuild b/python/pyicu/pyicu.SlackBuild index d9f91aeb08..bf2bb1d31a 100644 --- a/python/pyicu/pyicu.SlackBuild +++ b/python/pyicu/pyicu.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pyicu -VERSION=${VERSION:-1.9.5} +VERSION=${VERSION:-2.4.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/python/pyicu/pyicu.info b/python/pyicu/pyicu.info index 5ec10d4cbc..d7f2315c8b 100644 --- a/python/pyicu/pyicu.info +++ b/python/pyicu/pyicu.info @@ -1,8 +1,8 @@ PRGNAM="pyicu" -VERSION="1.9.5" +VERSION="2.4.2" HOMEPAGE="https://github.com/ovalhub/pyicu" -DOWNLOAD="https://pypi.python.org/packages/a2/9f/1947f288143191b903e58633ee597cb98bc284de28dafb1231b6f8b67b99/PyICU-1.9.5.tar.gz" -MD5SUM="30f85b7272f15b26c110c9f3e3a9e7a0" +DOWNLOAD="https://files.pythonhosted.org/packages/95/0c/0fb09019efb65a29789ec5538f8e521b8f548da6935a3a474e19fbf2ea4d/PyICU-2.4.2.tar.gz" +MD5SUM="bb09676c234849f586094e3fe99c3606" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/pyparsing/README b/python/pyparsing/README deleted file mode 100644 index ac29972273..0000000000 --- a/python/pyparsing/README +++ /dev/null @@ -1,5 +0,0 @@ -The pyparsing module is an alternative approach to creating and -executing simple grammars, vs. the traditional lex/yacc -approach, or the use of regular expressions. The pyparsing -module provides a library of classes that client code uses to -construct the grammar directly in Python code. diff --git a/python/pyparsing/pyparsing.SlackBuild b/python/pyparsing/pyparsing.SlackBuild deleted file mode 100644 index 170f8e23b7..0000000000 --- a/python/pyparsing/pyparsing.SlackBuild +++ /dev/null @@ -1,87 +0,0 @@ -#!/bin/sh - -# Slackware build script for pyparsing - -# Copyright 2008-2012 Heinz Wiesinger, Amsterdam, The Netherlands -# 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. -# -# Updated for v2.3.1 Jan 2019 - -PRGNAM=pyparsing -VERSION=${VERSION:-2.3.1} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -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 -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 {} \; - -python setup.py install --root=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGES LICENSE PKG-INFO README.rst docs/ $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/python/pyparsing/pyparsing.info b/python/pyparsing/pyparsing.info deleted file mode 100644 index c649ee71a9..0000000000 --- a/python/pyparsing/pyparsing.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="pyparsing" -VERSION="2.3.1" -HOMEPAGE="https://github.com/pyparsing/pyparsing" -DOWNLOAD="https://github.com/pyparsing/pyparsing/releases/download/pyparsing_2.3.1/pyparsing-2.3.1.tar.gz" -MD5SUM="630e86b719619a251de0ba4a97239cec" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Barry J. Grundy" -EMAIL="bgrundy<at>linuxleo.com" diff --git a/python/pyparsing/slack-desc b/python/pyparsing/slack-desc deleted file mode 100644 index 2d09abba87..0000000000 --- a/python/pyparsing/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -pyparsing: pyparsing (parsing module for python) -pyparsing: -pyparsing: The pyparsing module is an alternative approach to creating and -pyparsing: executing simple grammars, vs. the traditional lex/yacc -pyparsing: approach, or the use of regular expressions. The pyparsing -pyparsing: module provides a library of classes that client code uses to -pyparsing: construct the grammar directly in Python code. -pyparsing: -pyparsing: Homepage: http://pyparsing.wikispaces.com/ -pyparsing: -pyparsing: diff --git a/python/python-certifi/README b/python/python-certifi/README deleted file mode 100644 index f2306e1d4c..0000000000 --- a/python/python-certifi/README +++ /dev/null @@ -1,10 +0,0 @@ -Certifi is a carefully curated collection of Root Certificates for validating the -trustworthiness of SSL certificates while verifying the identity of TLS hosts. -It has been extracted from the Requests project. - -The internet is an untrusted place. Every HTTP request you make should have -verification on by default. This happens every time you access a website with -your web browser, without any knowledge to the user — there’s no reason your code -should be any different. - -Certifi is here to make this possible. diff --git a/python/python-certifi/python-certifi.info b/python/python-certifi/python-certifi.info deleted file mode 100644 index 60c1be47b2..0000000000 --- a/python/python-certifi/python-certifi.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="python-certifi" -VERSION="2019.9.11" -HOMEPAGE="https://certifi.io/en/latest/" -DOWNLOAD="https://files.pythonhosted.org/packages/62/85/7585750fd65599e88df0fed59c74f5075d4ea2fe611deceb95dd1c2fb25b/certifi-2019.9.11.tar.gz" -MD5SUM="cadd4e373fc08f649fa39b82aed9ad96" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/python-certifi/slack-desc b/python/python-certifi/slack-desc deleted file mode 100644 index c08eb095c7..0000000000 --- a/python/python-certifi/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -python-certifi: python-certifi (Python SSL Certificates) -python-certifi: -python-certifi: Certifi is a carefully curated collection of Root Certificates for -python-certifi: validating the trustworthiness of SSL certificates while verifying -python-certifi: the identity of TLS hosts. It has been extracted from the Requests -python-certifi: project. -python-certifi: -python-certifi: Homepage: https://certifi.io/en/latest/ -python-certifi: -python-certifi: -python-certifi: diff --git a/python/python-chardet/README b/python/python-chardet/README deleted file mode 100644 index fa68e6f22e..0000000000 --- a/python/python-chardet/README +++ /dev/null @@ -1,3 +0,0 @@ -Universal encoding detector for Python 2 and 3. - -Optional dependency: python3 diff --git a/python/python-chardet/python-chardet.SlackBuild b/python/python-chardet/python-chardet.SlackBuild deleted file mode 100644 index e8ea4139eb..0000000000 --- a/python/python-chardet/python-chardet.SlackBuild +++ /dev/null @@ -1,76 +0,0 @@ -#!/bin/sh - -# Slackware build script for python-chardet - -# Copyright 2014 Mikko Värri, Finland -# 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. - -PRGNAM=python-chardet -SRCNAM=chardet -VERSION=${VERSION:-3.0.4} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -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 {} \; - -python setup.py install --root=$PKG - -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE README.rst $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/python/python-chardet/python-chardet.info b/python/python-chardet/python-chardet.info deleted file mode 100644 index 867f911a41..0000000000 --- a/python/python-chardet/python-chardet.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="python-chardet" -VERSION="3.0.4" -HOMEPAGE="https://pypi.python.org/pypi/chardet" -DOWNLOAD="https://pypi.python.org/packages/fc/bb/a5768c230f9ddb03acc9ef3f0d4a3cf93462473795d18e9535498c8f929d/chardet-3.0.4.tar.gz" -MD5SUM="7dd1ba7f9c77e32351b0a0cfacf4055c" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" diff --git a/python/python-chardet/slack-desc b/python/python-chardet/slack-desc deleted file mode 100644 index e742e9d67a..0000000000 --- a/python/python-chardet/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -python-chardet: python-chardet (autodetection of character encoding in python) -python-chardet: -python-chardet: Universal encoding detector for Python 2 and 3. -python-chardet: -python-chardet: Homepage: https://pypi.python.org/pypi/chardet -python-chardet: -python-chardet: -python-chardet: -python-chardet: -python-chardet: -python-chardet: diff --git a/python/python-distro/README b/python/python-distro/README deleted file mode 100644 index f7e60d8c18..0000000000 --- a/python/python-distro/README +++ /dev/null @@ -1,3 +0,0 @@ -The distro (for: Linux Distribution) package provides information about -the Linux distribution it runs on, such as a reliable machine-readable ID, -or version information. diff --git a/python/python-distro/python-distro.SlackBuild b/python/python-distro/python-distro.SlackBuild deleted file mode 100644 index d6b4b23504..0000000000 --- a/python/python-distro/python-distro.SlackBuild +++ /dev/null @@ -1,91 +0,0 @@ -#!/bin/sh - -# Slackware build script for python-distro - -# Copyright 2016-2019 Dimitris Zlatanidis Orestiada, Greece -# 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. - -PRGNAM=python-distro -SRCNAM=$(printf $PRGNAM | cut -c8-13) -VERSION=${VERSION:-1.4.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -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 {} \; - -python setup.py install --root=$PKG - -# Python 3 support. -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README.md CONTRIBUT*.md CHANGELOG.md LICENSE $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/python/python-distro/python-distro.info b/python/python-distro/python-distro.info deleted file mode 100644 index 9b381121eb..0000000000 --- a/python/python-distro/python-distro.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="python-distro" -VERSION="1.4.0" -HOMEPAGE="https://github.com/nir0s/distro" -DOWNLOAD="https://files.pythonhosted.org/packages/ca/e3/78443d739d7efeea86cbbe0216511d29b2f5ca8dbf51a6f2898432738987/distro-1.4.0.tar.gz" -MD5SUM="f2406d8efdb872c64a79e28967eff71a" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/python-distro/slack-desc b/python/python-distro/slack-desc deleted file mode 100644 index 7def214c55..0000000000 --- a/python/python-distro/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -python-distro: python-distro (Linux OS platform information API) -python-distro: -python-distro: The distro (for: Linux Distribution) package provides information -python-distro: about the Linux distribution it runs on, such as a reliable -python-distro: machine-readable ID, or version information. -python-distro: -python-distro: Homepage: https://github.com/nir0s/distro -python-distro: -python-distro: -python-distro: -python-distro: diff --git a/python/python-future/README b/python/python-future/README deleted file mode 100644 index 8eef8438bd..0000000000 --- a/python/python-future/README +++ /dev/null @@ -1,3 +0,0 @@ -python-future is the missing compatibility layer between Python 2 and -Python 3. It allows you to use a single, clean Python 3.x-compatible -codebase to support both Python 2 and Python 3 with minimal overhead. diff --git a/python/python-future/doinst.sh b/python/python-future/doinst.sh deleted file mode 100644 index 5fb28930db..0000000000 --- a/python/python-future/doinst.sh +++ /dev/null @@ -1,3 +0,0 @@ -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi diff --git a/python/python-future/python-future.SlackBuild b/python/python-future/python-future.SlackBuild deleted file mode 100644 index c5534c90d6..0000000000 --- a/python/python-future/python-future.SlackBuild +++ /dev/null @@ -1,87 +0,0 @@ -#!/bin/sh - -# Slackware build script for python-future - -# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece -# 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. - -PRGNAM=python-future -SRCNAM=$(echo $PRGNAM | cut -c8-13) -VERSION=${VERSION:-0.18.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -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 {} \; - -python setup.py install --root=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README.rst *.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 -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/python/python-future/python-future.info b/python/python-future/python-future.info deleted file mode 100644 index 32a8f29fc1..0000000000 --- a/python/python-future/python-future.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="python-future" -VERSION="0.18.0" -HOMEPAGE="https://github.com/PythonCharmers/python-future" -DOWNLOAD="https://files.pythonhosted.org/packages/f6/85/c273089eb6efa5644c0a1382ea553554bc0d40e00a46d989ec67f123f8b5/future-0.18.0.tar.gz" -MD5SUM="75ff140f2f609c8c0cb32e0c8f4ef78d" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/python-future/slack-desc b/python/python-future/slack-desc deleted file mode 100644 index f397961378..0000000000 --- a/python/python-future/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -python-future: python-future (Python 2/3 compatibility) -python-future: -python-future: python-future is the missing compatibility layer between Python 2 and -python-future: Python 3. It allows you to use a single, clean Python 3.x-compatible -python-future: codebase to support both Python 2 and Python 3 with minimal overhead. -python-future: -python-future: Homepage: https://github.com/PythonCharmers/python-future -python-future: -python-future: -python-future: -python-future: diff --git a/python/python-gattlib/dont_hardcode_python_versions.patch b/python/python-gattlib/dont_hardcode_python_versions.patch new file mode 100644 index 0000000000..0e11e85d18 --- /dev/null +++ b/python/python-gattlib/dont_hardcode_python_versions.patch @@ -0,0 +1,19 @@ +Matteo Bernardini <ponce@slackbuilds.org> +--- +Don't hardcode python versions + +diff -Naur gattlib-0.20150805.orig/setup.py gattlib-0.20150805/setup.py +--- gattlib-0.20150805.orig/setup.py 2015-08-05 15:16:56.000000000 +0200 ++++ gattlib-0.20150805/setup.py 2018-05-02 09:45:04.625893000 +0200 +@@ -19,9 +19,9 @@ + glib_libs = [x.strip() for x in glib_libs if x] + + if sys.version_info.major == 3: +- boost_libs = ["boost_python-py34"] ++ boost_libs = ["boost_python3"+str(sys.version_info.minor)] + else: +- boost_libs = ["boost_python"] ++ boost_libs = ["boost_python2"+str(sys.version_info.minor)] + extension_modules = [ + Extension( + 'gattlib', diff --git a/python/python-gattlib/python-gattlib.SlackBuild b/python/python-gattlib/python-gattlib.SlackBuild index 0264f52fc1..354003e93e 100644 --- a/python/python-gattlib/python-gattlib.SlackBuild +++ b/python/python-gattlib/python-gattlib.SlackBuild @@ -57,6 +57,8 @@ 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 {} \; +patch -p1 < $CWD/dont_hardcode_python_versions.patch + python setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/python/python-notify2/README b/python/python-notify2/README deleted file mode 100644 index a1c3e66911..0000000000 --- a/python/python-notify2/README +++ /dev/null @@ -1,4 +0,0 @@ -This is a pure-python replacement for notify-python, using -python-dbus to communicate with the notifications server directly. -It's compatible with Python 2 and 3, and its callbacks can work -with Gtk 3 or Qt 4 applications. diff --git a/python/python-notify2/python-notify2.SlackBuild b/python/python-notify2/python-notify2.SlackBuild deleted file mode 100644 index 847f3135da..0000000000 --- a/python/python-notify2/python-notify2.SlackBuild +++ /dev/null @@ -1,91 +0,0 @@ -#!/bin/sh - -# Slackware build script for python-notify2 - -# Copyright 2015-2020 Dimitris Zlatanidis Orestiada, Greece -# 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. - -PRGNAM=python-notify2 -SRCNAM=$(echo $PRGNAM | cut -c8-14) -VERSION=${VERSION:-0.3.1} -BUILD=${BUILD:-2} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -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 {} \; - -python setup.py install --root=$PKG - -# Python 3 support. -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a PKG-INFO examples/README $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/python/python-notify2/python-notify2.info b/python/python-notify2/python-notify2.info deleted file mode 100644 index 6e1b1b278d..0000000000 --- a/python/python-notify2/python-notify2.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="python-notify2" -VERSION="0.3.1" -HOMEPAGE="https://bitbucket.org/takluyver/pynotify2" -DOWNLOAD="https://pypi.python.org/packages/aa/e8/d4b335aa739dc299a77766ecc5f1972d1de1993524aa94acef3219bba315/notify2-0.3.1.tar.gz" -MD5SUM="ffccaed9330787c7442b453f6520a474" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/python-notify2/slack-desc b/python/python-notify2/slack-desc deleted file mode 100644 index f7123aedd8..0000000000 --- a/python/python-notify2/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -python-notify2: python-notify2 (Python interface to DBus notifications) -python-notify2: -python-notify2: This is a pure-python replacement for notify-python, using -python-notify2: python-dbus to communicate with the notifications server directly. -python-notify2: It's compatible with Python 2 and 3, and its callbacks can work with -python-notify2: Gtk 3 or Qt 4 applications. -python-notify2: -python-notify2: Homepage: https://bitbucket.org/takluyver/pynotify2 -python-notify2: -python-notify2: -python-notify2: diff --git a/python/python-requests/README b/python/python-requests/README deleted file mode 100644 index 5f015336cd..0000000000 --- a/python/python-requests/README +++ /dev/null @@ -1,4 +0,0 @@ -Requests is an Apache2 Licensed HTTP library, written in Python, for -human beings. - -python3 and python3-certifi are optional dependencies (autodetected). diff --git a/python/python-requests/python-requests.SlackBuild b/python/python-requests/python-requests.SlackBuild deleted file mode 100644 index 8ba50ef3d8..0000000000 --- a/python/python-requests/python-requests.SlackBuild +++ /dev/null @@ -1,91 +0,0 @@ -#!/bin/sh - -# Slackware build script for python-requests - -# Copyright 2013-2020 Thibaut Notteboom, Paris, FRANCE -# 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. - -PRGNAM=python-requests -VERSION=${VERSION:-2.24.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -SRCNAM=requests - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -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 {} \; - -python setup.py install --root=$PKG - -# Python 3 support. -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - *.rst *.md LICENSE docs/ \ - $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/python/python-requests/python-requests.info b/python/python-requests/python-requests.info deleted file mode 100644 index 835df66c6d..0000000000 --- a/python/python-requests/python-requests.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="python-requests" -VERSION="2.24.0" -HOMEPAGE="https://requests.kennethreitz.org/en/master/" -DOWNLOAD="https://github.com/kennethreitz/requests/archive/v2.24.0/requests-2.24.0.tar.gz" -MD5SUM="0dccb8677a63d69efe93b3a000b5d41c" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="python-certifi python-chardet idna python-urllib3" -MAINTAINER="Thibaut Notteboom" -EMAIL="thibaut.notteboom@gmail.com" diff --git a/python/python-requests/slack-desc b/python/python-requests/slack-desc deleted file mode 100644 index af39269d06..0000000000 --- a/python/python-requests/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -python-requests: python-requests (Requests: HTTP for Humans) -python-requests: -python-requests: Requests is an Apache2 Licensed HTTP library, written in Python, for -python-requests: human beings. -python-requests: -python-requests: -python-requests: -python-requests: -python-requests: -python-requests: -python-requests: diff --git a/python/python-urllib3/README b/python/python-urllib3/README deleted file mode 100644 index df9a0f529f..0000000000 --- a/python/python-urllib3/README +++ /dev/null @@ -1,12 +0,0 @@ -urllib3 is a powerful, sanity-friendly HTTP client for Python. Much of the Python -ecosystem already uses urllib3 and you should too. urllib3 brings many critical features -that are missing from the Python standard libraries: - -Thread safety. -Connection pooling. -Client-side SSL/TLS verification. -File uploads with multipart encoding. -Helpers for retrying requests and dealing with HTTP redirects. -Support for gzip and deflate encoding. -Proxy support for HTTP and SOCKS. -100% test coverage. diff --git a/python/python-urllib3/python-urllib3.SlackBuild b/python/python-urllib3/python-urllib3.SlackBuild deleted file mode 100644 index 06311f48e6..0000000000 --- a/python/python-urllib3/python-urllib3.SlackBuild +++ /dev/null @@ -1,89 +0,0 @@ -#!/bin/sh - -# Slackware build script for python-urllib3 - -# Copyright 2013 Thibaut Notteboom, Paris, FRANCE -# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece -# 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. - -PRGNAM=python-urllib3 -SRCNAM=$(echo $PRGNAM | cut -c8-14) -VERSION=${VERSION:-1.25.7} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$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 {} \; - -python setup.py install --root=$PKG - -# Python 3 support. -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a *.rst *.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/python/python-urllib3/python-urllib3.info b/python/python-urllib3/python-urllib3.info deleted file mode 100644 index 77dbbca4f3..0000000000 --- a/python/python-urllib3/python-urllib3.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="python-urllib3" -VERSION="1.25.7" -HOMEPAGE="https://urllib3.readthedocs.io/en/latest/" -DOWNLOAD="https://files.pythonhosted.org/packages/ad/fc/54d62fa4fc6e675678f9519e677dfc29b8964278d75333cf142892caf015/urllib3-1.25.7.tar.gz" -MD5SUM="85e1e3925f8c1095172bff343f3312ed" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/python-urllib3/slack-desc b/python/python-urllib3/slack-desc deleted file mode 100644 index 90699d4267..0000000000 --- a/python/python-urllib3/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -python-urllib3: python-urllib3 (HTTP library) -python-urllib3: -python-urllib3: urllib3 is a powerful, sanity-friendly HTTP client for Python. Much -python-urllib3: of the Python ecosystem already uses urllib3 and you should too. -python-urllib3: -python-urllib3: Homepage: https://urllib3.readthedocs.io/en/latest/ -python-urllib3: -python-urllib3: -python-urllib3: -python-urllib3: -python-urllib3: diff --git a/python/python-xlib/python-xlib.SlackBuild b/python/python-xlib/python-xlib.SlackBuild index 52f6b400b8..96330a6f28 100644 --- a/python/python-xlib/python-xlib.SlackBuild +++ b/python/python-xlib/python-xlib.SlackBuild @@ -38,14 +38,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 {} \; -# Partially revert: fixup metadata -# Revert: setup: check setuptools is recent enough to support `setup.cfg` -# https://github.com/python-xlib/python-xlib/commit/22a8e1929ad58b8168bcf5d931e8f6067ebdec0a -# https://github.com/python-xlib/python-xlib/commit/376b4739cedc4eee32e60e7b158d20ed18dfddc1 -# https://github.com/python-xlib/python-xlib/issues/106 -sed -i 's/\r$//g' setup.py -patch -p1 < $CWD/setup.patch - python setup.py install --root $PKG # Python 3 support. diff --git a/python/python-xlib/setup.patch b/python/python-xlib/setup.patch deleted file mode 100644 index 47be163a34..0000000000 --- a/python/python-xlib/setup.patch +++ /dev/null @@ -1,61 +0,0 @@ -diff --git a/setup.py b/setup.py -index 71bdb08..b425618 100644 ---- a/setup.py -+++ b/setup.py -@@ -1,17 +1,25 @@ - # Distutils script for python-xlib - --from pkg_resources import parse_requirements --from setuptools import (__version__ as setuptools_version, setup) -+from setuptools import setup - -- --# Check setuptools is recent enough to support `setup.cfg`. --setuptools_require = next(parse_requirements('setuptools>=30.3.0')) --assert setuptools_version in setuptools_require, '{} is required'.format(setuptools_require) -+import Xlib - - - setup( -+ name='python-xlib', -+ version=Xlib.__version_string__, -+ -+ description='Python X Library', -+ download_url='https://github.com/python-xlib/python-xlib/releases', -+ url='https://github.com/python-xlib/python-xlib', -+ license='LGPLv2+', -+ -+ author='Peter Liljenberg', -+ author_email='petli@ctrl-c.liu.se', -+ - install_requires=['six>=1.10.0'], - setup_requires=['setuptools-scm'], -+ - packages=[ - 'Xlib', - 'Xlib.ext', -@@ -20,4 +28,22 @@ setup( - 'Xlib.support', - 'Xlib.xobject' - ], -+ -+ keywords='xlib x11 x windows', -+ classifiers=[ -+ 'Development Status :: 5 - Production/Stable', -+ 'Environment :: X11 Applications', -+ 'Intended Audience :: Developers', -+ 'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)', -+ 'Operating System :: OS Independent', -+ 'Programming Language :: Python :: 2.7', -+ 'Programming Language :: Python :: 3', -+ 'Programming Language :: Python :: 3.3', -+ 'Programming Language :: Python :: 3.4', -+ 'Programming Language :: Python :: 3.5', -+ 'Programming Language :: Python :: Implementation :: CPython', -+ 'Topic :: Software Development :: Libraries :: Python Modules', -+ 'Topic :: Software Development :: Libraries', -+ 'Topic :: Software Development :: User Interfaces', -+ ], - ) --- -2.22.0 diff --git a/python/python2-pillow/README b/python/python2-pillow/README new file mode 100644 index 0000000000..f5ff1634c6 --- /dev/null +++ b/python/python2-pillow/README @@ -0,0 +1,5 @@ +The Python Imaging Library (PIL) adds image processing capabilities +to your Python environment. This library provides extensive file +format support, an efficient internal representation, and powerful +image processing capabilities. +This is the latest version available for python-2.x. diff --git a/python/python-certifi/python-certifi.SlackBuild b/python/python2-pillow/python2-pillow.SlackBuild index a5bcecac14..5ccf7e8cc3 100644 --- a/python/python-certifi/python-certifi.SlackBuild +++ b/python/python2-pillow/python2-pillow.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh -# Slackware build script for python-certifi +# Slackware build script for python2-pillow -# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=python-certifi -SRCNAM=$(printf $PRGNAM | cut -c8-14) -VERSION=${VERSION:-2019.9.11} -BUILD=${BUILD:-2} +PRGNAM=python2-pillow +SRCNAM=Pillow +VERSION=${VERSION:-6.2.2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -55,6 +55,8 @@ else LIBDIRSUFFIX="" fi +DOCS="LICENSE *.rst" + set -e rm -rf $PKG @@ -76,7 +78,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python2-pillow/python2-pillow.info b/python/python2-pillow/python2-pillow.info new file mode 100644 index 0000000000..375915503f --- /dev/null +++ b/python/python2-pillow/python2-pillow.info @@ -0,0 +1,10 @@ +PRGNAM="python2-pillow" +VERSION="6.2.2" +HOMEPAGE="https://python-pillow.org" +DOWNLOAD="https://github.com/python-pillow/Pillow/archive/6.2.2/Pillow-6.2.2.tar.gz" +MD5SUM="e4e86fcb8732157ea1346d115b5c96e3" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/python/python2-pillow/slack-desc b/python/python2-pillow/slack-desc new file mode 100644 index 0000000000..f62064bd94 --- /dev/null +++ b/python/python2-pillow/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 ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python2-pillow: python2-pillow (Python Imaging Library) +python2-pillow: +python2-pillow: The Python Imaging Library (PIL) adds image processing capabilities +python2-pillow: to your Python environment. This library provides extensive file +python2-pillow: format support, an efficient internal representation, and powerful +python2-pillow: image processing capabilities. +python2-pillow: This is the latest version available for python-2.x. +python2-pillow: +python2-pillow: homepage: https://python-pillow.org +python2-pillow: +python2-pillow: diff --git a/python/python3-Cython/README b/python/python3-Cython/README deleted file mode 100644 index 0dd3a3eda4..0000000000 --- a/python/python3-Cython/README +++ /dev/null @@ -1,5 +0,0 @@ -Cython is an optimising static compiler for both the Python programming -language and the extended Cython programming language (based on Pyrex). -It makes writing C extensions for Python as easy as Python itself. - -This SlackBuild may be installed alongside the stock Cython package. diff --git a/python/python3-Cython/python3-Cython.SlackBuild b/python/python3-Cython/python3-Cython.SlackBuild deleted file mode 100644 index 173569230e..0000000000 --- a/python/python3-Cython/python3-Cython.SlackBuild +++ /dev/null @@ -1,89 +0,0 @@ -#!/bin/sh - -# Slackware build script for python3-Cython - -# Copyright 2016-2020 Christoph Willing Brisbane, Australia -# 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. - -PRGNAM=python3-Cython -SRCNAM=Cython -VERSION=${VERSION:-0.29.17} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -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 {} \; - -python3 setup.py install --root=$PKG --prefix=/usr - -# Rename executables to avoid clashes with stock Cython versions -find $PKG/usr/bin/ -type f -executable -exec mv '{}' '{}'3 \; - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a *.txt docs/* $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/python/python3-Cython/python3-Cython.info b/python/python3-Cython/python3-Cython.info deleted file mode 100644 index 9fb6e094c1..0000000000 --- a/python/python3-Cython/python3-Cython.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="python3-Cython" -VERSION="0.29.17" -HOMEPAGE="https://cython.org" -DOWNLOAD="https://files.pythonhosted.org/packages/99/36/a3dc962cc6d08749aa4b9d85af08b6e354d09c5468a3e0edc610f44c856b/Cython-0.29.17.tar.gz" -MD5SUM="0936311ccd09f1164ab2f46ca5cd8c3b" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="python3" -MAINTAINER="Christoph Willing" -EMAIL="chris.willing@linux.com" diff --git a/python/python3-Cython/slack-desc b/python/python3-Cython/slack-desc deleted file mode 100644 index 9c2bdbf818..0000000000 --- a/python/python3-Cython/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -python3-Cython: python3-Cython (C-Extensions for Python3) -python3-Cython: -python3-Cython: Cython is an optimising static compiler for both the Python -python3-Cython: programming language and the extended Cython programming language -python3-Cython: (based on Pyrex). It makes writing C extensions for Python as easy -python3-Cython: as Python itself. -python3-Cython: -python3-Cython: This SlackBuild may be installed alongside the stock Cython package. -python3-Cython: -python3-Cython: -python3-Cython: diff --git a/python/python3-appdirs/README b/python/python3-appdirs/README deleted file mode 100644 index 8e3a9e20fa..0000000000 --- a/python/python3-appdirs/README +++ /dev/null @@ -1,2 +0,0 @@ -A small Python module for determining appropriate platform-specific -dirs, e.g. a "user data dir". diff --git a/python/python3-appdirs/python3-appdirs.SlackBuild b/python/python3-appdirs/python3-appdirs.SlackBuild deleted file mode 100644 index 2a6e3593f7..0000000000 --- a/python/python3-appdirs/python3-appdirs.SlackBuild +++ /dev/null @@ -1,86 +0,0 @@ -#!/bin/sh - -# Slackware build script for python3-appdirs - -# Copyright 2016 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 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. - -PRGNAM=python3-appdirs -SRCNAM=appdirs -VERSION=${VERSION:-1.4.3} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$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 {} \; - -python3 setup.py install --root=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGES.rst LICENSE.txt README.rst TODO.md $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/python/python3-appdirs/python3-appdirs.info b/python/python3-appdirs/python3-appdirs.info deleted file mode 100644 index c22980e08d..0000000000 --- a/python/python3-appdirs/python3-appdirs.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="python3-appdirs" -VERSION="1.4.3" -HOMEPAGE="https://github.com/ActiveState/appdirs/" -DOWNLOAD="https://github.com/ActiveState/appdirs/archive/1.4.3/appdirs-1.4.3.tar.gz" -MD5SUM="b0bd73c5dac1bee973e60adcbdcbb5ed" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="python3" -MAINTAINER="Jeremy Hansen" -EMAIL="jebrhansen+SBo@gmail.com" diff --git a/python/python3-appdirs/slack-desc b/python/python3-appdirs/slack-desc deleted file mode 100644 index f174600be9..0000000000 --- a/python/python3-appdirs/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -python3-appdirs: python3-appdirs (module to determine platform-specific dirs) -python3-appdirs: -python3-appdirs: python3-appdirs A small Python module for determining appropriate -python3-appdirs: platform-specific dirs, e.g. a "user data dir". -python3-appdirs: -python3-appdirs: -python3-appdirs: Homepage: https://github.com/sigmavirus24/appdirs -python3-appdirs: -python3-appdirs: -python3-appdirs: -python3-appdirs: diff --git a/python/python3-certifi/README b/python/python3-certifi/README deleted file mode 100644 index c7257f4714..0000000000 --- a/python/python3-certifi/README +++ /dev/null @@ -1,2 +0,0 @@ -This installable Python package contains a CA Bundle that you can reference in -your Python code. diff --git a/python/python3-certifi/python3-certifi.SlackBuild b/python/python3-certifi/python3-certifi.SlackBuild deleted file mode 100644 index 15d16d51cc..0000000000 --- a/python/python3-certifi/python3-certifi.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for python3-certifi - -# Copyright 2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> -# Based on python-certifi by Dimitris Zlatanidis -# 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. - -PRGNAM=python3-certifi -VERSION=${VERSION:-2019.6.16} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -SRCNAM=certifi - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -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 {} \; - -python3 setup.py install --root=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - LICENSE README.rst \ - $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/python/python3-certifi/python3-certifi.info b/python/python3-certifi/python3-certifi.info deleted file mode 100644 index 8b1d1ea2dc..0000000000 --- a/python/python3-certifi/python3-certifi.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="python3-certifi" -VERSION="2019.6.16" -HOMEPAGE="https://pypi.python.org/pypi/certifi/" -DOWNLOAD="https://pypi.python.org/packages/source/c/certifi/certifi-2019.6.16.tar.gz" -MD5SUM="af8fea5f3df6f7f81e9c6cbc6dd7c1e8" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="python3" -MAINTAINER="Benjamin Trigona-Harany" -EMAIL="slackbuilds@jaxartes.net" diff --git a/python/python3-certifi/slack-desc b/python/python3-certifi/slack-desc deleted file mode 100644 index cc79fa4126..0000000000 --- a/python/python3-certifi/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -python3-certifi: python3-certifi (Python SSL Certificates) -python3-certifi: -python3-certifi: This installable Python package contains a python3-certifi: CA -python3-certifi: Bundle that you can reference in your Python code. -python3-certifi: -python3-certifi: -python3-certifi: -python3-certifi: -python3-certifi: -python3-certifi: -python3-certifi: diff --git a/python/python3-future/README b/python/python3-future/README deleted file mode 100644 index 8eef8438bd..0000000000 --- a/python/python3-future/README +++ /dev/null @@ -1,3 +0,0 @@ -python-future is the missing compatibility layer between Python 2 and -Python 3. It allows you to use a single, clean Python 3.x-compatible -codebase to support both Python 2 and Python 3 with minimal overhead. diff --git a/python/python3-future/doinst.sh b/python/python3-future/doinst.sh deleted file mode 100644 index 5fb28930db..0000000000 --- a/python/python3-future/doinst.sh +++ /dev/null @@ -1,3 +0,0 @@ -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi diff --git a/python/python3-future/python3-future.SlackBuild b/python/python3-future/python3-future.SlackBuild deleted file mode 100644 index a1fca9e50c..0000000000 --- a/python/python3-future/python3-future.SlackBuild +++ /dev/null @@ -1,87 +0,0 @@ -#!/bin/sh - -# Slackware build script for python3-future - -# Copyright 2016 Dimitris Zlatanidis Orestiada, Greece -# 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. - -PRGNAM=python3-future -SRCNAM=$(echo $PRGNAM | cut -c9-14) -VERSION=${VERSION:-0.15.2} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -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 {} \; - -python3 setup.py install --root=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README.rst *.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 -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/python/python3-future/python3-future.info b/python/python3-future/python3-future.info deleted file mode 100644 index 69f5e4a7bf..0000000000 --- a/python/python3-future/python3-future.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="python3-future" -VERSION="0.15.2" -HOMEPAGE="https://github.com/PythonCharmers/python-future" -DOWNLOAD="https://pypi.python.org/packages/source/f/future/future-0.15.2.tar.gz" -MD5SUM="a68eb3c90b3b76714c5ceb8c09ea3a06" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="python3" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" diff --git a/python/python3-future/slack-desc b/python/python3-future/slack-desc deleted file mode 100644 index 15ddbe5f94..0000000000 --- a/python/python3-future/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -python3-future: python3-future (Python 2/3 compatibility) -python3-future: -python3-future: python-future is the missing compatibility layer between Python 2 and -python3-future: Python 3. It allows you to use a single, clean Python 3.x-compatible -python3-future: codebase to support both Python 2 and Python 3 with minimal overhead. -python3-future: -python3-future: Homepage: https://github.com/PythonCharmers/python-future -python3-future: -python3-future: -python3-future: -python3-future: diff --git a/python/python3-packaging/README b/python/python3-packaging/README deleted file mode 100644 index 6c7efffed6..0000000000 --- a/python/python3-packaging/README +++ /dev/null @@ -1,2 +0,0 @@ -The Python packaging module contains a set of small, helper utilities for -dealing with Python packages. diff --git a/python/python3-packaging/python3-packaging.SlackBuild b/python/python3-packaging/python3-packaging.SlackBuild deleted file mode 100644 index 30bebdd262..0000000000 --- a/python/python3-packaging/python3-packaging.SlackBuild +++ /dev/null @@ -1,89 +0,0 @@ -#!/bin/sh - -# Slackware build script for python3-packaging - -# Copyright 2019-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> -# 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. - -PRGNAM=python3-packaging -VERSION=${VERSION:-20.4} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -SRCNAM=packaging - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -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 {} \; - -python3 setup.py install --root=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - CHANGELOG.rst LICENSE README.rst \ - $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/python/python3-packaging/python3-packaging.info b/python/python3-packaging/python3-packaging.info deleted file mode 100644 index a9d1131a6e..0000000000 --- a/python/python3-packaging/python3-packaging.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="python3-packaging" -VERSION="20.4" -HOMEPAGE="https://pypi.python.org/pypi/packaging" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/packaging/packaging-20.4.tar.gz" -MD5SUM="3208229da731c5d8e29d4d8941e75005" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="python3-attrs python3-pyparsing python3-six" -MAINTAINER="Benjamin Trigona-Harany" -EMAIL="slackbuilds@jaxartes.net" diff --git a/python/python3-packaging/slack-desc b/python/python3-packaging/slack-desc deleted file mode 100644 index 4c9f721dbb..0000000000 --- a/python/python3-packaging/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -python3-packaging: python3-packaging (core utilities for Python packages) -python3-packaging: -python3-packaging: The Python packaging module contains a set of small, helper utilities -python3-packaging: for dealing with Python packages. -python3-packaging: -python3-packaging: -python3-packaging: -python3-packaging: -python3-packaging: -python3-packaging: -python3-packaging: diff --git a/python/python3-pyparsing/README b/python/python3-pyparsing/README deleted file mode 100644 index d2badb1992..0000000000 --- a/python/python3-pyparsing/README +++ /dev/null @@ -1,8 +0,0 @@ -The pyparsing module is an alternative approach to creating and -executing simple grammars, vs. the traditional lex/yacc -approach, or the use of regular expressions. The pyparsing -module provides a library of classes that client code uses to -construct the grammar directly in Python code. - -This is the python3 version of pyparsing and it can coexist with -SBo's pyparsing package. diff --git a/python/python3-pyparsing/python3-pyparsing.SlackBuild b/python/python3-pyparsing/python3-pyparsing.SlackBuild deleted file mode 100644 index b98c10cd31..0000000000 --- a/python/python3-pyparsing/python3-pyparsing.SlackBuild +++ /dev/null @@ -1,88 +0,0 @@ -#!/bin/sh - -# Slackware build script for python3-pyparsing - -# Copyright 2008-2012 Heinz Wiesinger, Amsterdam, The Netherlands -# Copyright 2016 Barry Grundy (bgrundy<at>linuxleo.com) -# Copyright 2017-2018 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> -# 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. - -PRGNAM=python3-pyparsing -SRCNAM=pyparsing -VERSION=${VERSION:-2.2.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -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 {} \; - -python3 setup.py install --root=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGES LICENSE PKG-INFO README HowToUsePyparsing.html docs/ $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/python/python3-pyparsing/python3-pyparsing.info b/python/python3-pyparsing/python3-pyparsing.info deleted file mode 100644 index ab429a468b..0000000000 --- a/python/python3-pyparsing/python3-pyparsing.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="python3-pyparsing" -VERSION="2.2.0" -HOMEPAGE="https://github.com/pyparsing/pyparsing" -DOWNLOAD="http://downloads.sourceforge.net/project/pyparsing/pyparsing/pyparsing-2.2.0/pyparsing-2.2.0.tar.gz" -MD5SUM="0214e42d63af850256962b6744c948d9" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="python3" -MAINTAINER="Jeremy Hansen" -EMAIL="jebrhansen+SBo@gmail.com" diff --git a/python/python3-pyparsing/slack-desc b/python/python3-pyparsing/slack-desc deleted file mode 100644 index 32aebd1da2..0000000000 --- a/python/python3-pyparsing/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -python3-pyparsing: python3-pyparsing (parsing module for python) -python3-pyparsing: -python3-pyparsing: The pyparsing module is an alternative approach to creating and -python3-pyparsing: executing simple grammars, vs. the traditional lex/yacc -python3-pyparsing: approach, or the use of regular expressions. The pyparsing -python3-pyparsing: module provides a library of classes that client code uses to -python3-pyparsing: construct the grammar directly in Python code. -python3-pyparsing: -python3-pyparsing: Homepage: http://pyparsing.wikispaces.com/ -python3-pyparsing: -python3-pyparsing: This is the python3 version and will coexist with the python2 version. diff --git a/python/python3-six/README b/python/python3-six/README deleted file mode 100644 index ee25e72d18..0000000000 --- a/python/python3-six/README +++ /dev/null @@ -1,4 +0,0 @@ -Six is a Python 2 and 3 compatibility library. It provides utility functions for -smoothing over the differences between the Python versions with the goal of -writing Python code that is compatible on both Python versions. See the -documentation for more information on what is provided. diff --git a/python/python3-six/python3-six.SlackBuild b/python/python3-six/python3-six.SlackBuild deleted file mode 100644 index 68d0258a4f..0000000000 --- a/python/python3-six/python3-six.SlackBuild +++ /dev/null @@ -1,76 +0,0 @@ -#!/bin/sh - -# Slackware build script for python3-six - -# Copyright 2012-2015 Larry Hajali <larryhaja[at]gmail[dot]com> -# Copyright 2017-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> -# 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. - -PRGNAM=python3-six -VERSION=${VERSION:-1.13.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -SRCNAM=six - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -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 {} \; - -python3 setup.py install --root=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - CHANGES LICENSE README.rst \ - $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/python/python3-six/python3-six.info b/python/python3-six/python3-six.info deleted file mode 100644 index 87504ba7b6..0000000000 --- a/python/python3-six/python3-six.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="python3-six" -VERSION="1.13.0" -HOMEPAGE="https://pypi.python.org/pypi/six/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/s/six/six-1.13.0.tar.gz" -MD5SUM="e92c23c882c7d5564ce5773fe31b2771" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="python3" -MAINTAINER="Benjamin Trigona-Harany" -EMAIL="slackbuilds@jaxartes.net" diff --git a/python/python3-six/slack-desc b/python/python3-six/slack-desc deleted file mode 100644 index 0694e82700..0000000000 --- a/python/python3-six/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -python3-six: python3-six (Python 2 and 3 compatibility utilities) -python3-six: -python3-six: Six is a Python 2 and 3 compatibility library. It provides utility -python3-six: functions for smoothing over the differences between the Python -python3-six: versions with the goal of writing Python code that is compatible on -python3-six: both Python versions. See the documentation for more information on -python3-six: what is provided. -python3-six: -python3-six: -python3-six: -python3-six: diff --git a/python/python3/README b/python/python3/README deleted file mode 100644 index 8197d59201..0000000000 --- a/python/python3/README +++ /dev/null @@ -1,18 +0,0 @@ -Python is an interpreted, interactive, object-oriented programming -language that combines remarkable power with very clear syntax. -Python's basic power can be extended with your own modules written in C -or C++. Python is also adaptable as an extension language for existing -applications. - -Python 3 (a.k.a. "Python 3000" or "Py3k") is a new version of the -language that is incompatible with the 2.x line of releases. The -language is mostly the same, but many details, especially how built-in -objects like dictionaries and strings work, have changed considerably, -and a lot of deprecated features have finally been removed. Also, the -standard library has been reorganized in a few prominent places. - -It is safe to install alongside Slackware's Python 2.x. - -If you'd like to have HTML docs installed, get them from -<https://docs.python.org/3/download.html> (HTML format, .tar.bz2 -archive). diff --git a/python/python3/patches/python3.no-static-library.diff b/python/python3/patches/python3.no-static-library.diff deleted file mode 100644 index 2e03ab8add..0000000000 --- a/python/python3/patches/python3.no-static-library.diff +++ /dev/null @@ -1,50 +0,0 @@ ---- ./Makefile.pre.in.orig 2019-01-13 13:06:37.518767495 -0600 -+++ ./Makefile.pre.in 2019-01-13 13:28:41.778781670 -0600 -@@ -549,7 +549,7 @@ - $(PYTHON_FOR_REGEN) ./Tools/clinic/clinic.py --make - - # Build the interpreter --$(BUILDPYTHON): Programs/python.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY) -+$(BUILDPYTHON): Programs/python.o $(LDLIBRARY) $(PY3LIBRARY) - $(LINKCC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/python.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST) - - platform: $(BUILDPYTHON) pybuilddir.txt -@@ -598,11 +598,6 @@ - $(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build - - --# Build static library --$(LIBRARY): $(LIBRARY_OBJS) -- -rm -f $@ -- $(AR) $(ARFLAGS) $@ $(LIBRARY_OBJS) -- - libpython$(LDVERSION).so: $(LIBRARY_OBJS) - if test $(INSTSONAME) != $(LDLIBRARY); then \ - $(BLDSHARED) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \ -@@ -692,7 +687,7 @@ - echo "-----------------------------------------------"; \ - fi - --Programs/_testembed: Programs/_testembed.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY) -+Programs/_testembed: Programs/_testembed.o $(LDLIBRARY) $(PY3LIBRARY) - $(LINKCC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/_testembed.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST) - - ############################################################################ -@@ -1428,17 +1423,6 @@ - else true; \ - fi; \ - done -- @if test -d $(LIBRARY); then :; else \ -- if test "$(PYTHONFRAMEWORKDIR)" = no-framework; then \ -- if test "$(SHLIB_SUFFIX)" = .dll; then \ -- $(INSTALL_DATA) $(LDLIBRARY) $(DESTDIR)$(LIBPL) ; \ -- else \ -- $(INSTALL_DATA) $(LIBRARY) $(DESTDIR)$(LIBPL)/$(LIBRARY) ; \ -- fi; \ -- else \ -- echo Skip install of $(LIBRARY) - use make frameworkinstall; \ -- fi; \ -- fi - $(INSTALL_DATA) Modules/config.c $(DESTDIR)$(LIBPL)/config.c - $(INSTALL_DATA) Programs/python.o $(DESTDIR)$(LIBPL)/python.o - $(INSTALL_DATA) $(srcdir)/Modules/config.c.in $(DESTDIR)$(LIBPL)/config.c.in diff --git a/python/python3/patches/python3.readline.set_pre_input_hook.diff b/python/python3/patches/python3.readline.set_pre_input_hook.diff deleted file mode 100644 index b55820c489..0000000000 --- a/python/python3/patches/python3.readline.set_pre_input_hook.diff +++ /dev/null @@ -1,12 +0,0 @@ ---- ./Modules/readline.c.orig 2009-10-26 21:32:51.000000000 +0200 -+++ ./Modules/readline.c 2010-05-30 14:07:10.000000000 +0300 -@@ -12,6 +12,9 @@ - #include <errno.h> - #include <sys/time.h> - -+/* This seems to be needed for set_pre_input_hook to work */ -+#define HAVE_RL_PRE_INPUT_HOOK 1 -+ - #if defined(HAVE_SETLOCALE) - /* GNU readline() mistakenly sets the LC_CTYPE locale. - * This is evil. Only the user or the app's main() should do this! diff --git a/python/python3/patches/python3.x86_64.diff b/python/python3/patches/python3.x86_64.diff deleted file mode 100644 index 1649c2344a..0000000000 --- a/python/python3/patches/python3.x86_64.diff +++ /dev/null @@ -1,156 +0,0 @@ ---- ./configure.orig 2018-12-23 15:37:36.000000000 -0600 -+++ ./configure 2019-02-19 16:02:14.585002930 -0600 -@@ -15149,9 +15149,9 @@ - - - if test x$PLATFORM_TRIPLET = x; then -- LIBPL='$(prefix)'"/lib/python${VERSION}/config-${LDVERSION}" -+ LIBPL='$(prefix)'"/lib64/python${VERSION}/config-${LDVERSION}" - else -- LIBPL='$(prefix)'"/lib/python${VERSION}/config-${LDVERSION}-${PLATFORM_TRIPLET}" -+ LIBPL='$(prefix)'"/lib64/python${VERSION}/config-${LDVERSION}-${PLATFORM_TRIPLET}" - fi - - ---- ./Makefile.pre.in.orig 2018-12-23 15:37:36.000000000 -0600 -+++ ./Makefile.pre.in 2019-02-19 16:02:14.576002930 -0600 -@@ -142,7 +142,7 @@ - MANDIR= @mandir@ - INCLUDEDIR= @includedir@ - CONFINCLUDEDIR= $(exec_prefix)/include --SCRIPTDIR= $(prefix)/lib -+SCRIPTDIR= $(prefix)/lib64 - ABIFLAGS= @ABIFLAGS@ - - # Detailed destination directories ---- ./Lib/sysconfig.py.orig 2018-12-23 15:37:36.000000000 -0600 -+++ ./Lib/sysconfig.py 2019-02-19 16:02:14.574002930 -0600 -@@ -20,10 +20,10 @@ - - _INSTALL_SCHEMES = { - 'posix_prefix': { -- 'stdlib': '{installed_base}/lib/python{py_version_short}', -- 'platstdlib': '{platbase}/lib/python{py_version_short}', -- 'purelib': '{base}/lib/python{py_version_short}/site-packages', -- 'platlib': '{platbase}/lib/python{py_version_short}/site-packages', -+ 'stdlib': '{installed_base}/lib64/python{py_version_short}', -+ 'platstdlib': '{platbase}/lib64/python{py_version_short}', -+ 'purelib': '{base}/lib64/python{py_version_short}/site-packages', -+ 'platlib': '{platbase}/lib64/python{py_version_short}/site-packages', - 'include': - '{installed_base}/include/python{py_version_short}{abiflags}', - 'platinclude': -@@ -32,10 +32,10 @@ - 'data': '{base}', - }, - 'posix_home': { -- 'stdlib': '{installed_base}/lib/python', -- 'platstdlib': '{base}/lib/python', -- 'purelib': '{base}/lib/python', -- 'platlib': '{base}/lib/python', -+ 'stdlib': '{installed_base}/lib64/python', -+ 'platstdlib': '{base}/lib64/python', -+ 'purelib': '{base}/lib64/python', -+ 'platlib': '{base}/lib64/python', - 'include': '{installed_base}/include/python', - 'platinclude': '{installed_base}/include/python', - 'scripts': '{base}/bin', -@@ -62,10 +62,10 @@ - 'data': '{userbase}', - }, - 'posix_user': { -- 'stdlib': '{userbase}/lib/python{py_version_short}', -- 'platstdlib': '{userbase}/lib/python{py_version_short}', -- 'purelib': '{userbase}/lib/python{py_version_short}/site-packages', -- 'platlib': '{userbase}/lib/python{py_version_short}/site-packages', -+ 'stdlib': '{userbase}/lib64/python{py_version_short}', -+ 'platstdlib': '{userbase}/lib64/python{py_version_short}', -+ 'purelib': '{userbase}/lib64/python{py_version_short}/site-packages', -+ 'platlib': '{userbase}/lib64/python{py_version_short}/site-packages', - 'include': '{userbase}/include/python{py_version_short}', - 'scripts': '{userbase}/bin', - 'data': '{userbase}', ---- ./Lib/site.py.orig 2018-12-23 15:37:36.000000000 -0600 -+++ ./Lib/site.py 2019-02-19 16:02:14.572002930 -0600 -@@ -334,7 +334,7 @@ - seen.add(prefix) - - if os.sep == '/': -- sitepackages.append(os.path.join(prefix, "lib", -+ sitepackages.append(os.path.join(prefix, "lib64", - "python%d.%d" % sys.version_info[:2], - "site-packages")) - else: ---- ./Lib/distutils/command/install.py.orig 2018-12-23 15:37:36.000000000 -0600 -+++ ./Lib/distutils/command/install.py 2019-02-19 16:02:14.567002930 -0600 -@@ -29,15 +29,15 @@ - - INSTALL_SCHEMES = { - 'unix_prefix': { -- 'purelib': '$base/lib/python$py_version_short/site-packages', -- 'platlib': '$platbase/lib/python$py_version_short/site-packages', -+ 'purelib': '$base/lib64/python$py_version_short/site-packages', -+ 'platlib': '$platbase/lib64/python$py_version_short/site-packages', - 'headers': '$base/include/python$py_version_short$abiflags/$dist_name', - 'scripts': '$base/bin', - 'data' : '$base', - }, - 'unix_home': { -- 'purelib': '$base/lib/python', -- 'platlib': '$base/lib/python', -+ 'purelib': '$base/lib64/python', -+ 'platlib': '$base/lib64/python', - 'headers': '$base/include/python/$dist_name', - 'scripts': '$base/bin', - 'data' : '$base', ---- ./Lib/distutils/sysconfig.py.orig 2018-12-23 15:37:36.000000000 -0600 -+++ ./Lib/distutils/sysconfig.py 2019-02-19 16:02:14.570002930 -0600 -@@ -130,7 +130,7 @@ - - if os.name == "posix": - libpython = os.path.join(prefix, -- "lib", "python" + get_python_version()) -+ "lib64", "python" + get_python_version()) - if standard_lib: - return libpython - else: ---- ./Modules/getpath.c.orig 2019-02-19 16:02:14.580002930 -0600 -+++ ./Modules/getpath.c 2019-02-19 16:06:51.535002940 -0600 -@@ -500,7 +500,7 @@ - "Could not find platform dependent libraries <exec_prefix>\n"); - } - wcsncpy(exec_prefix, calculate->exec_prefix, MAXPATHLEN); -- joinpath(exec_prefix, L"lib/lib-dynload"); -+ joinpath(exec_prefix, L"lib64/lib-dynload"); - } - /* If we found EXEC_PREFIX do *not* reduce it! (Yet.) */ - } -@@ -742,7 +742,7 @@ - else { - wcsncpy(calculate->zip_path, calculate->prefix, MAXPATHLEN); - } -- joinpath(calculate->zip_path, L"lib/python00.zip"); -+ joinpath(calculate->zip_path, L"lib64/python00.zip"); - - /* Replace "00" with version */ - size_t bufsz = wcslen(calculate->zip_path); -@@ -867,7 +867,7 @@ - if (!calculate->prefix) { - return DECODE_LOCALE_ERR("EXEC_PREFIX define", len); - } -- calculate->lib_python = Py_DecodeLocale("lib/python" VERSION, &len); -+ calculate->lib_python = Py_DecodeLocale("lib64/python" VERSION, &len); - if (!calculate->lib_python) { - return DECODE_LOCALE_ERR("EXEC_PREFIX define", len); - } ---- ./setup.py.orig 2018-12-23 15:37:36.000000000 -0600 -+++ ./setup.py 2019-02-19 16:02:14.587002930 -0600 -@@ -546,7 +546,7 @@ - # directories (i.e. '.' and 'Include') must be first. See issue - # 10520. - if not cross_compiling: -- add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib') -+ add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib64') - add_dir_to_list(self.compiler.include_dirs, '/usr/local/include') - # only change this for cross builds for 3.3, issues on Mageia - if cross_compiling: diff --git a/python/python3/python3.SlackBuild b/python/python3/python3.SlackBuild deleted file mode 100644 index 190f7ec51b..0000000000 --- a/python/python3/python3.SlackBuild +++ /dev/null @@ -1,157 +0,0 @@ -#!/bin/sh - -# Slackware build script for python3 - -# Copyright 2012-2019 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. - -PRGNAM=python3 -SRCNAM=Python -VERSION=${VERSION:-3.7.2} -BRANCH_VERSION=$(echo $VERSION | cut -f 1,2 -d . ) -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Don't set any SLKCFLAGS here, or OPT="$SLKCFLAGS" before the ./configure. -# Python gets the compile options right without any help. -if [ "$ARCH" = "i586" ]; then - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - LIBDIRSUFFIX="64" -else - LIBDIRSUFFIX="" -fi - -set -e - -# Location for Python site-packages. -SITEPK=$PKG/usr/lib${LIBDIRSUFFIX}/python${BRANCH_VERSION}/site-packages -# Same as above without $PKG. -TOOLSDIR=/usr/lib${LIBDIRSUFFIX}/python${BRANCH_VERSION}/site-packages - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.xz -cd $SRCNAM-$VERSION - -patch -p1 -i $CWD/patches/python3.readline.set_pre_input_hook.diff -# We don't want a large libpython*.a. -patch -p1 -i $CWD/patches/python3.no-static-library.diff - -if [ "$ARCH" = "x86_64" ]; then - # Install to lib64 instead of lib. - patch -p1 -i $CWD/patches/python3.x86_64.diff -fi - -# Fix python3 path in cgi.py. -sed -i '1s|^#.*/usr/local/bin/python|#!/usr/bin/python3|' Lib/cgi.py - -# If system we're building on already has Python3 with pip in site-packages, -# ignore it and install pip anyway. -sed -i 's|\("install",\)|\1 "--ignore-installed",|' Lib/ensurepip/__init__.py - -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 {} \; - -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --with-threads \ - --enable-ipv6 \ - --enable-shared \ - --with-system-expat \ - --with-system-ffi \ - --enable-loadable-sqlite-extensions \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG - -# Restore original ensurepip behaviour. -sed -i 's| "--ignore-installed",||' \ - $PKG/usr/lib${LIBDIRSUFFIX}/python${BRANCH_VERSION}/ensurepip/__init__.py - -# Remove to avoid overwriting a copy from Python2. -rm -f $PKG/usr/bin/2to3 - -# We'll install the python-tools under site-packages. -mkdir -p $SITEPK -cp -a Tools/* $SITEPK - -# Remove DOS batch/exe files. -find $PKG \( -name '*.exe' -o -name '*.bat' \) -exec rm -f '{}' \; - -# Fix permissions on dynamic libraries. -find $PKG -type f -perm 555 -exec chmod 755 '{}' \; - -# Install docs. -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README.rst LICENSE Misc $PKG/usr/doc/$PRGNAM-$VERSION -# Delete stuff that we don't need to package. -rm -f $PKG/usr/doc/$PKGNAM-$VERSION/Misc/{HISTORY,*.in,*.wpr,python.man,svnmap.txt} -mv $SITEPK/README $PKG/usr/doc/$PRGNAM-$VERSION/README.python-tools -( cd $PKG/usr/doc/$PRGNAM-$VERSION ; ln -sf $TOOLSDIR Tools ) -if [ -e "$CWD/python-$VERSION-docs-html.tar.bz2" ]; then - tar xf $CWD/python-$VERSION-docs-html.tar.bz2 - mv python-$VERSION-docs-html $PKG/usr/doc/$PRGNAM-$VERSION/html - chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION/html -fi - -# Fix possible incorrect permissions. -( cd $PKG - find . -type d -exec chmod 755 "{}" \; - find . -perm 640 -exec chmod 644 "{}" \; - find . -perm 750 -exec chmod 755 "{}" \; -) - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done - -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/python3/python3.info b/python/python3/python3.info deleted file mode 100644 index 0cc075d48b..0000000000 --- a/python/python3/python3.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="python3" -VERSION="3.7.2" -HOMEPAGE="https://www.python.org/" -DOWNLOAD="https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tar.xz" -MD5SUM="df6ec36011808205beda239c72f947cb" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Audrius Kažukauskas" -EMAIL="audrius@neutrino.lt" diff --git a/python/python3/slack-desc b/python/python3/slack-desc deleted file mode 100644 index bfc8d5c554..0000000000 --- a/python/python3/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -python3: python3 (object-oriented interpreted programming language) -python3: -python3: Python is an interpreted, interactive, object-oriented programming -python3: language that combines remarkable power with very clear syntax. -python3: This is a new version of the language that is incompatible with the -python3: 2.x line of releases. The language is mostly the same, but many -python3: details, especially how built-in objects like dictionaries and strings -python3: work, have changed considerably, and a lot of deprecated features have -python3: finally been removed. Also, the standard library has been reorganized -python3: in a few prominent places. -python3: diff --git a/python/pyxdg/README b/python/pyxdg/README deleted file mode 100644 index b42e24ed4f..0000000000 --- a/python/pyxdg/README +++ /dev/null @@ -1,3 +0,0 @@ -PyXDG contains implementations of freedesktop.org standards in python. - -Python3 is an optional dependency. diff --git a/python/pyxdg/pyxdg.SlackBuild b/python/pyxdg/pyxdg.SlackBuild deleted file mode 100644 index 2e616b739c..0000000000 --- a/python/pyxdg/pyxdg.SlackBuild +++ /dev/null @@ -1,75 +0,0 @@ -#!/bin/sh - -# Slackware build script for PyXDG - -# Copyright 2008-2009 Frank Caraballo <fecaraballo{at}gmail{dot}com> -# Copyright 2016, 2018 Hunter Sezen California, USA -# 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. - -PRGNAM=pyxdg -VERSION=${VERSION:-0.26} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - 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 -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 {} \; - -python setup.py install --root $PKG - -# Python 3 support. -if python3 -c 'import sys' 2>/dev/null; then - python3 setup.py install --root=$PKG -fi - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS ChangeLog COPYING INSTALL PKG-INFO README TODO \ - $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/python/pyxdg/pyxdg.info b/python/pyxdg/pyxdg.info deleted file mode 100644 index a5438fe7cc..0000000000 --- a/python/pyxdg/pyxdg.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="pyxdg" -VERSION="0.26" -HOMEPAGE="http://freedesktop.org/wiki/Software/pyxdg" -DOWNLOAD="https://pypi.python.org/packages/47/6e/311d5f22e2b76381719b5d0c6e9dc39cd33999adae67db71d7279a6d70f4/pyxdg-0.26.tar.gz" -MD5SUM="db1c2af8300ca64ce3955b3cf2490c92" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Hunter Sezen" -EMAIL="orbea@riseup.net" diff --git a/python/pyxdg/slack-desc b/python/pyxdg/slack-desc deleted file mode 100644 index 92074cd35e..0000000000 --- a/python/pyxdg/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -pyxdg: pyxdg (Python XDG Library) -pyxdg: -pyxdg: PyXDG contains implementations of freedesktop.org standards in python. -pyxdg: -pyxdg: Homepage: http://freedesktop.org/wiki/Software/pyxdg -pyxdg: -pyxdg: -pyxdg: -pyxdg: -pyxdg: -pyxdg: diff --git a/python/six/README b/python/six/README deleted file mode 100644 index e995a974e8..0000000000 --- a/python/six/README +++ /dev/null @@ -1,6 +0,0 @@ -Six is a Python 2 and 3 compatibility library. It provides utility functions for -smoothing over the differences between the Python versions with the goal of -writing Python code that is compatible on both Python versions. See the -documentation for more information on what is provided. - -Optional dependencies: Sphinx diff --git a/python/six/six.SlackBuild b/python/six/six.SlackBuild deleted file mode 100644 index 3c9e04a331..0000000000 --- a/python/six/six.SlackBuild +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/sh - -# Slackware build script for six - -# Copyright 2012-2018 Larry Hajali <larryhaja[at]gmail[dot]com> -# 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. - -PRGNAM=six -VERSION=${VERSION:-1.14.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -e - -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 -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 {} \; - -python setup.py install --root=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -# Build and install documentation if sphinx is installed. -if $(python -c 'import sphinx.pygments_styles' 2>/dev/null); then - make -j1 -C documentation man singlehtml - install -D -m 0644 documentation/_build/man/$PRGNAM.1 $PKG/usr/man/man1/$PRGNAM.1 - gzip -9 $PKG/usr/man/man?/*.? -fi - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION -[ -d documentation/_build/singlehtml ] && \ - cp -a documentation/_build/singlehtml/index.html \ - documentation/_build/singlehtml/_static \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -find $PKG/usr/doc -type f -exec chmod 0644 '{}' \; - -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/six/six.info b/python/six/six.info deleted file mode 100644 index 700d532f92..0000000000 --- a/python/six/six.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="six" -VERSION="1.14.0" -HOMEPAGE="https://pypi.python.org/pypi/six/" -DOWNLOAD="https://pypi.io/packages/source/s/six/six-1.14.0.tar.gz" -MD5SUM="21674588a57e649d1a6d977ec3122140" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Larry Hajali" -EMAIL="larryhaja[at]gmail[dot]com" diff --git a/python/six/slack-desc b/python/six/slack-desc deleted file mode 100644 index 678f603af3..0000000000 --- a/python/six/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -six: six (Python 2 and 3 compatibility utilities) -six: -six: Six is a Python 2 and 3 compatibility library. It provides utility -six: functions for smoothing over the differences between the Python -six: versions with the goal of writing Python code that is compatible on -six: both Python versions. See the documentation for more information on -six: what is provided. -six: -six: Homepage: https://pypi.python.org/pypi/six/ -six: -six: diff --git a/python/thunarx-python/thunarx-python.SlackBuild b/python/thunarx-python/thunarx-python.SlackBuild index 272da0fe51..f7480fab1d 100644 --- a/python/thunarx-python/thunarx-python.SlackBuild +++ b/python/thunarx-python/thunarx-python.SlackBuild @@ -25,13 +25,13 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=thunarx-python -VERSION=${VERSION:-0.3.0} +VERSION=${VERSION:-0.5.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" diff --git a/python/thunarx-python/thunarx-python.info b/python/thunarx-python/thunarx-python.info index 27c9958622..89a20e0bc3 100644 --- a/python/thunarx-python/thunarx-python.info +++ b/python/thunarx-python/thunarx-python.info @@ -1,8 +1,8 @@ PRGNAM="thunarx-python" -VERSION="0.3.0" +VERSION="0.5.1" HOMEPAGE="https://goodies.xfce.org/projects/bindings/thunarx-python/" -DOWNLOAD="https://archive.xfce.org/src/bindings/thunarx-python/0.3/thunarx-python-0.3.0.tar.bz2" -MD5SUM="86a28c4c34cae534f2793133b4755794" +DOWNLOAD="https://archive.xfce.org/src/bindings/thunarx-python/0.5/thunarx-python-0.5.1.tar.bz2" +MD5SUM="4f0ace4937e2727a7b2bdf622d87cb8b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/typing/README b/python/typing/README deleted file mode 100644 index 5828c6eff4..0000000000 --- a/python/typing/README +++ /dev/null @@ -1,4 +0,0 @@ -This is a backport of the standard library typing module to Python -versions older than 3.5. - -Optional dependency: python3 diff --git a/python/typing/slack-desc b/python/typing/slack-desc deleted file mode 100644 index b57a2cc3d9..0000000000 --- a/python/typing/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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -typing: typing (Type Hints for Python) -typing: -typing: This is a backport of the standard library typing module to Python -typing: versions older than 3.5. -typing: -typing: Homepage: https://docs.python.org/3.5/library/typing.html -typing: -typing: -typing: -typing: -typing: diff --git a/python/typing/typing.SlackBuild b/python/typing/typing.SlackBuild deleted file mode 100644 index 49de6695b9..0000000000 --- a/python/typing/typing.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Slackware build script for typing - -# Copyright 2016-2019 Dimitris Zlatanidis Orestiada, Greece -# 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. - -PRGNAM=typing -VERSION=${VERSION:-3.7.4.1} -BUILD=${BUILD:-2} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -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 -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 {} \; - -python setup.py install --root=$PKG - -# Python 3 support. -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE PKG-INFO README.rst $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/python/typing/typing.info b/python/typing/typing.info deleted file mode 100644 index e21f1c0dce..0000000000 --- a/python/typing/typing.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="typing" -VERSION="3.7.4.1" -HOMEPAGE="https://docs.python.org/3.5/library/typing.html" -DOWNLOAD="https://files.pythonhosted.org/packages/67/b0/b2ea2bd67bfb80ea5d12a5baa1d12bda002cab3b6c9b48f7708cd40c34bf/typing-3.7.4.1.tar.gz" -MD5SUM="0a1ebd4af65b4769e33459004eb20345" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" |