diff options
Diffstat (limited to 'source/l')
56 files changed, 704 insertions, 25 deletions
diff --git a/source/l/gst-plugins-bad-free/fetch-sources.sh b/source/l/gst-plugins-bad-free/fetch-sources.sh index 80320cb27..f6d0ec1bb 100755 --- a/source/l/gst-plugins-bad-free/fetch-sources.sh +++ b/source/l/gst-plugins-bad-free/fetch-sources.sh @@ -26,7 +26,7 @@ # # Example: VERSION=1.18.5 ./fetch-sources.sh -VERSION=${VERSION:-1.22.8} +VERSION=${VERSION:-1.22.9} rm -rf rm -rf gst-plugins-bad-free-$VERSION gst-plugins-bad-$VERSION diff --git a/source/l/gst-plugins-bad-free/gst-plugins-bad-free.SlackBuild b/source/l/gst-plugins-bad-free/gst-plugins-bad-free.SlackBuild index f6e40311b..17d9735ba 100755 --- a/source/l/gst-plugins-bad-free/gst-plugins-bad-free.SlackBuild +++ b/source/l/gst-plugins-bad-free/gst-plugins-bad-free.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=gst-plugins-bad-free VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then diff --git a/source/l/gst-plugins-good/gst-plugins-good.SlackBuild b/source/l/gst-plugins-good/gst-plugins-good.SlackBuild index 1a7b8b6f0..2171a194c 100755 --- a/source/l/gst-plugins-good/gst-plugins-good.SlackBuild +++ b/source/l/gst-plugins-good/gst-plugins-good.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=gst-plugins-good VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then diff --git a/source/l/python-build/build.url b/source/l/python-build/build.url new file mode 100644 index 000000000..f114e5b5b --- /dev/null +++ b/source/l/python-build/build.url @@ -0,0 +1 @@ +https://pypi.org/project/build diff --git a/source/l/python-build/python-build.url b/source/l/python-build/python-build.url deleted file mode 100644 index 10aa7b80c..000000000 --- a/source/l/python-build/python-build.url +++ /dev/null @@ -1 +0,0 @@ -https://pypi.org/project/build/#files diff --git a/source/l/python-certifi/python-certifi.url b/source/l/python-certifi/certifi.url index 3970169e4..3970169e4 100644 --- a/source/l/python-certifi/python-certifi.url +++ b/source/l/python-certifi/certifi.url diff --git a/source/l/python-distro/python-distro.url b/source/l/python-distro/distro.url index 5bf9abc76..5bf9abc76 100644 --- a/source/l/python-distro/python-distro.url +++ b/source/l/python-distro/distro.url diff --git a/source/l/python-docutils/python-docutils.url b/source/l/python-docutils/docutils.url index c1a58a385..c1a58a385 100644 --- a/source/l/python-docutils/python-docutils.url +++ b/source/l/python-docutils/docutils.url diff --git a/source/l/python-docutils/python-docutils.SlackBuild b/source/l/python-docutils/python-docutils.SlackBuild index 33e4f7cf4..3dd51412b 100755 --- a/source/l/python-docutils/python-docutils.SlackBuild +++ b/source/l/python-docutils/python-docutils.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=python-docutils VERSION=${VERSION:-$(echo docutils-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} +BUILD=${BUILD:-1} SRCNAM=docutils diff --git a/source/l/python-editables/editables.url b/source/l/python-editables/editables.url new file mode 100644 index 000000000..6db7cc849 --- /dev/null +++ b/source/l/python-editables/editables.url @@ -0,0 +1 @@ +https://pypi.org/project/editables diff --git a/source/l/python-editables/python-editables.SlackBuild b/source/l/python-editables/python-editables.SlackBuild new file mode 100755 index 000000000..4c411fddc --- /dev/null +++ b/source/l/python-editables/python-editables.SlackBuild @@ -0,0 +1,95 @@ +#!/bin/bash + +# Copyright 2022 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PKGNAM=python-editables +VERSION=${VERSION:-$(echo editables-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-1} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) export ARCH=i586 ;; + arm*) export ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) export ARCH=$( uname -m ) ;; + esac +fi + +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz" + exit 0 +fi + +if [ "${ARCH}" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "s390" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +fi + +TMP=${TMP:-/tmp} +PKG=$TMP/package-$PKGNAM + +rm -rf $PKG +mkdir -p $TMP $PKG + +cd $TMP +rm -rf editables-$VERSION +tar xvf $CWD/editables-$VERSION.tar.?z || exit 1 +cd editables-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \+ -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \+ + +unshare -n python3 -m build --wheel --no-isolation || exit 1 + +python3 -m installer --destdir "$PKG" dist/*.whl || exit 1 + +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + +mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION +cp -a \ + *.md *.rst LICENSE.txt PKG-INFO \ + $PKG/usr/doc/$PKGNAM-$VERSION + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz + diff --git a/source/l/python-editables/slack-desc b/source/l/python-editables/slack-desc new file mode 100644 index 000000000..b515367be --- /dev/null +++ b/source/l/python-editables/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' on +# the right side marks the last column you can put a character in. You must make +# exactly 11 lines for the formatting to be correct. It's also customary to +# leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +python-editables: python-editables (Python library for building editable wheels) +python-editables: +python-editables: This library supports the building of wheels which, when installed, +python-editables: will expose packages in a local directory on sys.path in "editable +python-editables: mode". In other words, changes to the package source will be +python-editables: reflected in the package visible to Python, without needing a +python-editables: reinstall. +python-editables: +python-editables: Homepage: https://pypi.org/project/editables +python-editables: +python-editables: diff --git a/source/l/python-flit-core/flit-core.url b/source/l/python-flit-core/flit-core.url new file mode 100644 index 000000000..f1fe835e1 --- /dev/null +++ b/source/l/python-flit-core/flit-core.url @@ -0,0 +1 @@ +https://pypi.org/project/flit_core diff --git a/source/l/python-flit-core/python-flit-core.url b/source/l/python-flit-core/python-flit-core.url deleted file mode 100644 index ab668377e..000000000 --- a/source/l/python-flit-core/python-flit-core.url +++ /dev/null @@ -1 +0,0 @@ -https://pypi.org/project/flit_core/#files diff --git a/source/l/python-future/python-future.url b/source/l/python-future/future.url index b0aec8af3..b0aec8af3 100644 --- a/source/l/python-future/python-future.url +++ b/source/l/python-future/future.url diff --git a/source/l/python-glad2/glad2.url b/source/l/python-glad2/glad2.url new file mode 100644 index 000000000..71d8c01a8 --- /dev/null +++ b/source/l/python-glad2/glad2.url @@ -0,0 +1 @@ +https://pypi.org/project/glad2 diff --git a/source/l/python-glad2/python-glad2.url b/source/l/python-glad2/python-glad2.url deleted file mode 100644 index aff83771e..000000000 --- a/source/l/python-glad2/python-glad2.url +++ /dev/null @@ -1 +0,0 @@ -https://pypi.org/project/glad2/#files diff --git a/source/l/python-hatchling/hatchling.url b/source/l/python-hatchling/hatchling.url new file mode 100644 index 000000000..d9137a704 --- /dev/null +++ b/source/l/python-hatchling/hatchling.url @@ -0,0 +1 @@ +https://pypi.org/project/hatchling diff --git a/source/l/python-hatchling/python-hatchling.SlackBuild b/source/l/python-hatchling/python-hatchling.SlackBuild new file mode 100755 index 000000000..98181146c --- /dev/null +++ b/source/l/python-hatchling/python-hatchling.SlackBuild @@ -0,0 +1,95 @@ +#!/bin/bash + +# Copyright 2022-2023 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PKGNAM=python-hatchling +VERSION=${VERSION:-$(echo hatchling-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-1} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) export ARCH=i586 ;; + arm*) export ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) export ARCH=$( uname -m ) ;; + esac +fi + +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz" + exit 0 +fi + +if [ "${ARCH}" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "s390" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +fi + +TMP=${TMP:-/tmp} +PKG=$TMP/package-$PKGNAM + +rm -rf $PKG +mkdir -p $TMP $PKG + +cd $TMP +rm -rf hatchling-$VERSION +tar xvf $CWD/hatchling-$VERSION.tar.?z || exit 1 +cd hatchling-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \+ -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \+ + +python3 -m build --wheel --no-isolation || exit 1 + +python3 -m installer --destdir "$PKG" dist/*.whl || exit 1 + +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + +mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION +cp -a \ + *.md *.rst LICENSE.txt PKG-INFO \ + $PKG/usr/doc/$PKGNAM-$VERSION + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz + diff --git a/source/l/python-hatchling/slack-desc b/source/l/python-hatchling/slack-desc new file mode 100644 index 000000000..0e5b60da9 --- /dev/null +++ b/source/l/python-hatchling/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' on +# the right side marks the last column you can put a character in. You must make +# exactly 11 lines for the formatting to be correct. It's also customary to +# leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +python-hatchling: python-hatchling (Python build system) +python-hatchling: +python-hatchling: This is the extensible, standards compliant build backend used by +python-hatchling: Hatch. +python-hatchling: +python-hatchling: Homepage: https://pypi.org/project/hatchling +python-hatchling: +python-hatchling: +python-hatchling: +python-hatchling: +python-hatchling: diff --git a/source/l/python-idna/python-idna.url b/source/l/python-idna/idna.url index be2438177..be2438177 100644 --- a/source/l/python-idna/python-idna.url +++ b/source/l/python-idna/idna.url diff --git a/source/l/python-installer/installer.url b/source/l/python-installer/installer.url new file mode 100644 index 000000000..2330c76f7 --- /dev/null +++ b/source/l/python-installer/installer.url @@ -0,0 +1 @@ +https://pypi.org/project/installer diff --git a/source/l/python-installer/python-installer.url b/source/l/python-installer/python-installer.url deleted file mode 100644 index 3de6e6142..000000000 --- a/source/l/python-installer/python-installer.url +++ /dev/null @@ -1 +0,0 @@ -https://pypi.org/project/installer/#files diff --git a/source/l/python-lxml/lxml.url b/source/l/python-lxml/lxml.url new file mode 100644 index 000000000..0f92e0e16 --- /dev/null +++ b/source/l/python-lxml/lxml.url @@ -0,0 +1 @@ +https://pypi.org/project/lxml diff --git a/source/l/python-lxml/python-lxml.url b/source/l/python-lxml/python-lxml.url deleted file mode 100644 index 53a1ff736..000000000 --- a/source/l/python-lxml/python-lxml.url +++ /dev/null @@ -1 +0,0 @@ -https://pypi.org/project/lxml/#files diff --git a/source/l/python-notify2/python-notify2.url b/source/l/python-notify2/notify2.url index 340ff34bf..340ff34bf 100644 --- a/source/l/python-notify2/python-notify2.url +++ b/source/l/python-notify2/notify2.url diff --git a/source/l/python-pathspec/pathspec.url b/source/l/python-pathspec/pathspec.url new file mode 100644 index 000000000..3e7f7ae5a --- /dev/null +++ b/source/l/python-pathspec/pathspec.url @@ -0,0 +1 @@ +https://pypi.org/project/pathspec diff --git a/source/l/python-pathspec/python-pathspec.SlackBuild b/source/l/python-pathspec/python-pathspec.SlackBuild new file mode 100755 index 000000000..8a71ee65f --- /dev/null +++ b/source/l/python-pathspec/python-pathspec.SlackBuild @@ -0,0 +1,93 @@ +#!/bin/bash + +# Copyright 2022-2023 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PKGNAM=python-pathspec +VERSION=${VERSION:-$(echo pathspec-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-1} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) export ARCH=i586 ;; + arm*) export ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) export ARCH=$( uname -m ) ;; + esac +fi + +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz" + exit 0 +fi + +if [ "${ARCH}" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "s390" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +fi + +TMP=${TMP:-/tmp} +PKG=$TMP/package-$PKGNAM + +rm -rf $PKG +mkdir -p $TMP $PKG + +cd $TMP +rm -rf pathspec-$VERSION +tar xvf $CWD/pathspec-$VERSION.tar.?z || exit 1 +cd pathspec-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \+ -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \+ + +python3 setup.py install --root=$PKG || exit 1 + +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + +mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION +cp -a \ + *.md *.rst LICENSE PKG-INFO \ + $PKG/usr/doc/$PKGNAM-$VERSION + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz + diff --git a/source/l/python-pathspec/slack-desc b/source/l/python-pathspec/slack-desc new file mode 100644 index 000000000..2f3a80848 --- /dev/null +++ b/source/l/python-pathspec/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' on +# the right side marks the last column you can put a character in. You must make +# exactly 11 lines for the formatting to be correct. It's also customary to +# leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +python-pathspec: python-pathspec (Python library for pattern matching of file paths) +python-pathspec: +python-pathspec: pathspec is a utility library for pattern matching of file paths. +python-pathspec: So far this only includes Git’s wildmatch pattern matching which +python-pathspec: itself is derived from Rsync’s wildmatch. Git uses wildmatch for +python-pathspec: its gitignore files. +python-pathspec: +python-pathspec: Homepage: https://pypi.org/project/pathspec +python-pathspec: +python-pathspec: +python-pathspec: diff --git a/source/l/python-pillow/python-pillow.url b/source/l/python-pillow/pillow.url index ec278221f..ec278221f 100644 --- a/source/l/python-pillow/python-pillow.url +++ b/source/l/python-pillow/pillow.url diff --git a/source/l/python-pluggy/pluggy.url b/source/l/python-pluggy/pluggy.url new file mode 100644 index 000000000..66cdef584 --- /dev/null +++ b/source/l/python-pluggy/pluggy.url @@ -0,0 +1 @@ +https://pypi.org/project/pluggy diff --git a/source/l/python-pluggy/python-pluggy.SlackBuild b/source/l/python-pluggy/python-pluggy.SlackBuild new file mode 100755 index 000000000..5c4579709 --- /dev/null +++ b/source/l/python-pluggy/python-pluggy.SlackBuild @@ -0,0 +1,93 @@ +#!/bin/bash + +# Copyright 2021-2022 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PKGNAM=python-pluggy +VERSION=${VERSION:-$(echo pluggy-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-1} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) export ARCH=i586 ;; + arm*) export ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) export ARCH=$( uname -m ) ;; + esac +fi + +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz" + exit 0 +fi + +if [ "${ARCH}" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "s390" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +fi + +TMP=${TMP:-/tmp} +PKG=$TMP/package-$PKGNAM + +rm -rf $PKG +mkdir -p $TMP $PKG + +cd $TMP +rm -rf pluggy-$VERSION +tar xvf $CWD/pluggy-$VERSION.tar.?z || exit 1 +cd pluggy-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \+ -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \+ + +python3 setup.py install --root=$PKG || exit 1 + +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + +mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION +cp -a \ + *.md *.rst LICENSE PKG-INFO \ + $PKG/usr/doc/$PKGNAM-$VERSION + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz + diff --git a/source/l/python-pluggy/slack-desc b/source/l/python-pluggy/slack-desc new file mode 100644 index 000000000..e2c3c6ed6 --- /dev/null +++ b/source/l/python-pluggy/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' on +# the right side marks the last column you can put a character in. You must make +# exactly 11 lines for the formatting to be correct. It's also customary to +# leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +python-pluggy: python-pluggy (A minimalist production ready plugin system) +python-pluggy: +python-pluggy: pluggy is a minimalist production ready plugin system. It is the +python-pluggy: core framework used by the pytest, tox, and devpi projects. +python-pluggy: +python-pluggy: Homepage: https://pypi.org/project/pluggy +python-pluggy: +python-pluggy: +python-pluggy: +python-pluggy: +python-pluggy: diff --git a/source/l/python-ply/python-ply.url b/source/l/python-ply/ply.url index 64cc9000d..64cc9000d 100644 --- a/source/l/python-ply/python-ply.url +++ b/source/l/python-ply/ply.url diff --git a/source/l/python-pygments/Pygments.url b/source/l/python-pygments/Pygments.url deleted file mode 100644 index c8fb574a0..000000000 --- a/source/l/python-pygments/Pygments.url +++ /dev/null @@ -1 +0,0 @@ -https://pypi.org/project/Pygments diff --git a/source/l/python-pygments/pygments.url b/source/l/python-pygments/pygments.url new file mode 100644 index 000000000..5773ab185 --- /dev/null +++ b/source/l/python-pygments/pygments.url @@ -0,0 +1 @@ +https://pypi.org/project/pygments diff --git a/source/l/python-pygments/python-pygments.SlackBuild b/source/l/python-pygments/python-pygments.SlackBuild index d783caeb7..f0da3eff8 100755 --- a/source/l/python-pygments/python-pygments.SlackBuild +++ b/source/l/python-pygments/python-pygments.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2017, 2020 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2017, 2020, 2024 Patrick J. Volkerding, Sebeka, MN, USA # Copyright 2017, 2018 Heinz Wiesinger, Amsterdam, NL # All rights reserved. # @@ -24,10 +24,9 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=python-pygments -VERSION=${VERSION:-$(echo Pygments-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} - -SRCNAM=Pygments +SRCNAM=pygments +VERSION=${VERSION:-$(echo $SRCNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-1} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -61,7 +60,9 @@ 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 {} \+ -python3 setup.py install --root=$PKG || exit 1 +unshare -n python3 -m build --wheel --no-isolation || exit 1 + +python3 -m installer --destdir "$PKG" dist/*.whl || exit 1 mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION cp -a *.rst LICENSE PKG-INFO \ diff --git a/source/l/python-pygments/slack-desc b/source/l/python-pygments/slack-desc index 005b0a539..f5dea0246 100644 --- a/source/l/python-pygments/slack-desc +++ b/source/l/python-pygments/slack-desc @@ -12,7 +12,7 @@ python-pygments: Pygments is a generic syntax highlighter written in Python that python-pygments: supports over 300 languages and text formats, for use in code hosting, python-pygments: forums, wikis or other applications that need to prettify source code. python-pygments: -python-pygments: Homepage: https://pypi.org/project/Pygments +python-pygments: Homepage: https://pypi.org/project/pygments python-pygments: python-pygments: python-pygments: diff --git a/source/l/python-pyproject-hooks/pyproject-hooks.url b/source/l/python-pyproject-hooks/pyproject-hooks.url new file mode 100644 index 000000000..25e9c620d --- /dev/null +++ b/source/l/python-pyproject-hooks/pyproject-hooks.url @@ -0,0 +1 @@ +https://pypi.org/project/pyproject_hooks diff --git a/source/l/python-pyproject-hooks/python-pyproject-hooks.url b/source/l/python-pyproject-hooks/python-pyproject-hooks.url deleted file mode 100644 index 3282a85ac..000000000 --- a/source/l/python-pyproject-hooks/python-pyproject-hooks.url +++ /dev/null @@ -1 +0,0 @@ -https://pypi.org/project/pyproject_hooks/#files diff --git a/source/l/python-requests/python-requests.url b/source/l/python-requests/requests.url index 685bbd5d5..685bbd5d5 100644 --- a/source/l/python-requests/python-requests.url +++ b/source/l/python-requests/requests.url diff --git a/source/l/python-smartypants/python-smartypants.url b/source/l/python-smartypants/smartypants.url index b5f82388b..b5f82388b 100644 --- a/source/l/python-smartypants/python-smartypants.url +++ b/source/l/python-smartypants/smartypants.url diff --git a/source/l/python-sphinx/python-sphinx.SlackBuild b/source/l/python-sphinx/python-sphinx.SlackBuild index 5d6286e1a..9a9ffd296 100755 --- a/source/l/python-sphinx/python-sphinx.SlackBuild +++ b/source/l/python-sphinx/python-sphinx.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2022 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2022, 2024 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=python-sphinx -SRCNAM=Sphinx +SRCNAM=sphinx VERSION=${VERSION:-$(echo ${SRCNAM}-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -60,7 +60,9 @@ 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 {} \+ -python3 setup.py install --root=$PKG || exit 1 +unshare -n python3 -m build --wheel --no-isolation || exit 1 + +python3 -m installer --destdir "$PKG" dist/*.whl || exit 1 mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION cp -a *.rst LICENSE* NOTICE PKG-INFO \ @@ -92,7 +94,10 @@ for extension in $CWD/extensions/*.tar.?z ; do \( -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 || exit 1 + unshare -n python3 -m build --wheel --no-isolation || exit 1 + + python3 -m installer --destdir "$PKG" dist/*.whl || exit 1 + mkdir -p $PKG/usr/doc/$EXTNAM-$EXTVER cp -a *.rst LICENSE* NOTICE PKG-INFO \ diff --git a/source/l/python-sphinx/Sphinx.url b/source/l/python-sphinx/sphinx.url index c90a21abc..51f348414 100644 --- a/source/l/python-sphinx/Sphinx.url +++ b/source/l/python-sphinx/sphinx.url @@ -3,5 +3,6 @@ https://pypi.org/project/sphinxcontrib-applehelp https://pypi.org/project/sphinxcontrib-devhelp https://pypi.org/project/sphinxcontrib-htmlhelp https://pypi.org/project/sphinxcontrib-jsmath +https://pypi.org/project/sphinxcontrib-jquery https://pypi.org/project/sphinxcontrib-qthelp https://pypi.org/project/sphinxcontrib-serializinghtml diff --git a/source/l/python-sphinx_rtd_theme/python-sphinx_rtd_theme.SlackBuild b/source/l/python-sphinx_rtd_theme/python-sphinx_rtd_theme.SlackBuild new file mode 100755 index 000000000..a1d673180 --- /dev/null +++ b/source/l/python-sphinx_rtd_theme/python-sphinx_rtd_theme.SlackBuild @@ -0,0 +1,82 @@ +#!/bin/bash + +# Copyright 2024 Patrick J. Volkerding, Sebeka, MN, 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PKGNAM=python-sphinx_rtd_theme +SRCNAM=sphinx_rtd_theme +VERSION=${VERSION:-$(echo ${SRCNAM}-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-1} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz" + exit 0 +fi + +TMP=${TMP:-/tmp} +PKG=$TMP/package-$PKGNAM + +rm -rf $PKG +mkdir -p $TMP $PKG +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.?z || exit 1 +cd $SRCNAM-$VERSION || exit 1 + +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 || exit 1 + +mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION +cp -a *.rst LICENSE* NOTICE PKG-INFO \ + $PKG/usr/doc/$PKGNAM-$VERSION +find $PKG/usr/doc/$PKGNAM-$VERSION -type f -exec chmod 0644 {} \+ + +# If there's a HISTORY.rst, installing at least part of the recent history +# is useful, but don't let it get totally out of control: +if [ -r HISTORY.rst ]; then + DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION) + cat HISTORY.rst | head -n 1000 > $DOCSDIR/HISTORY.rst + touch -r HISTORY.rst $DOCSDIR/HISTORY.rst +fi + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz diff --git a/source/l/python-sphinx_rtd_theme/slack-desc b/source/l/python-sphinx_rtd_theme/slack-desc new file mode 100644 index 000000000..167f00f5f --- /dev/null +++ b/source/l/python-sphinx_rtd_theme/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------------------------------------------------------| +python-sphinx_rtd_theme: python-sphinx_rtd_theme (Read the Docs Sphinx Theme) +python-sphinx_rtd_theme: +python-sphinx_rtd_theme: This Sphinx theme was designed to provide a great reader experience +python-sphinx_rtd_theme: for documentation users on both desktop and mobile devices. This theme +python-sphinx_rtd_theme: is used primarily on "Read the Docs" but can work with any Sphinx +python-sphinx_rtd_theme: project. +python-sphinx_rtd_theme: +python-sphinx_rtd_theme: Homepage: https://sphinx-rtd-theme.readthedocs.io/en/stable/ +python-sphinx_rtd_theme: +python-sphinx_rtd_theme: +python-sphinx_rtd_theme: diff --git a/source/l/python-sphinx_rtd_theme/sphinx_rtd_theme.url b/source/l/python-sphinx_rtd_theme/sphinx_rtd_theme.url new file mode 100644 index 000000000..a4f8b2905 --- /dev/null +++ b/source/l/python-sphinx_rtd_theme/sphinx_rtd_theme.url @@ -0,0 +1,2 @@ +#https://github.com/readthedocs/sphinx_rtd_theme +https://pypi.python.org/pypi/sphinx_rtd_theme diff --git a/source/l/python-tomli-w/python-tomli-w.url b/source/l/python-tomli-w/python-tomli-w.url deleted file mode 100644 index 9100c98ed..000000000 --- a/source/l/python-tomli-w/python-tomli-w.url +++ /dev/null @@ -1 +0,0 @@ -https://pypi.org/project/tomli-w/#files diff --git a/source/l/python-tomli-w/tomli-w.url b/source/l/python-tomli-w/tomli-w.url new file mode 100644 index 000000000..68047c21a --- /dev/null +++ b/source/l/python-tomli-w/tomli-w.url @@ -0,0 +1 @@ +https://pypi.org/project/tomli-w diff --git a/source/l/python-trove-classifiers/python-trove-classifiers.SlackBuild b/source/l/python-trove-classifiers/python-trove-classifiers.SlackBuild new file mode 100755 index 000000000..c66ac9763 --- /dev/null +++ b/source/l/python-trove-classifiers/python-trove-classifiers.SlackBuild @@ -0,0 +1,93 @@ +#!/bin/bash + +# Copyright 2023 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PKGNAM=python-trove-classifiers +VERSION=${VERSION:-$(echo trove-classifiers-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-1} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) export ARCH=i586 ;; + arm*) export ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) export ARCH=$( uname -m ) ;; + esac +fi + +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz" + exit 0 +fi + +if [ "${ARCH}" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "s390" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +fi + +TMP=${TMP:-/tmp} +PKG=$TMP/package-$PKGNAM + +rm -rf $PKG +mkdir -p $TMP $PKG + +cd $TMP +rm -rf trove-classifiers-$VERSION +tar xvf $CWD/trove-classifiers-$VERSION.tar.?z || exit 1 +cd trove-classifiers-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \+ -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \+ + +python3 setup.py install --root=$PKG || exit 1 + +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + +mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION +cp -a \ + *.md *.rst *.txt LICENSE PKG-INFO \ + $PKG/usr/doc/$PKGNAM-$VERSION + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz + diff --git a/source/l/python-trove-classifiers/slack-desc b/source/l/python-trove-classifiers/slack-desc new file mode 100644 index 000000000..4a83c4178 --- /dev/null +++ b/source/l/python-trove-classifiers/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' on +# the right side marks the last column you can put a character in. You must make +# exactly 11 lines for the formatting to be correct. It's also customary to +# leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +python-trove-classifiers: python-trove-classifiers (Canonical source for classifiers on PyPI) +python-trove-classifiers: +python-trove-classifiers: Classifiers categorize projects per PEP 301. Use this package to +python-trove-classifiers: validate classifiers in packages for PyPI upload or download. +python-trove-classifiers: +python-trove-classifiers: Homepage: https://pypi.org/project/trove-classifiers +python-trove-classifiers: +python-trove-classifiers: +python-trove-classifiers: +python-trove-classifiers: +python-trove-classifiers: diff --git a/source/l/python-trove-classifiers/trove-classifiers.url b/source/l/python-trove-classifiers/trove-classifiers.url new file mode 100644 index 000000000..964f8a77b --- /dev/null +++ b/source/l/python-trove-classifiers/trove-classifiers.url @@ -0,0 +1 @@ +https://pypi.org/project/trove-classifiers diff --git a/source/l/python-typogrify/python-typogrify.url b/source/l/python-typogrify/python-typogrify.url deleted file mode 100644 index 161f10926..000000000 --- a/source/l/python-typogrify/python-typogrify.url +++ /dev/null @@ -1 +0,0 @@ -https://pypi.org/project/typogrify/#files diff --git a/source/l/python-typogrify/typogrify.url b/source/l/python-typogrify/typogrify.url new file mode 100644 index 000000000..9ae14478a --- /dev/null +++ b/source/l/python-typogrify/typogrify.url @@ -0,0 +1 @@ +https://pypi.org/project/typogrify diff --git a/source/l/python-wheel/python-wheel.url b/source/l/python-wheel/python-wheel.url deleted file mode 100644 index 259b81712..000000000 --- a/source/l/python-wheel/python-wheel.url +++ /dev/null @@ -1 +0,0 @@ -https://pypi.org/project/wheel/#files diff --git a/source/l/python-wheel/wheel.url b/source/l/python-wheel/wheel.url new file mode 100644 index 000000000..b387f893d --- /dev/null +++ b/source/l/python-wheel/wheel.url @@ -0,0 +1 @@ +https://pypi.org/project/wheel |