Browse Source

xap/cellprofiler: Removed all dependencies.

current-20200608
Damien Goutte-Gattat 1 month ago
parent
commit
3e2acc2c99
30 changed files with 0 additions and 1217 deletions
  1. +0
    -1
      l/h5py/h5py-2.10.0.tar.gz.sha256
  2. +0
    -127
      l/h5py/h5py.SlackBuild
  3. +0
    -12
      l/h5py/slack-desc
  4. +0
    -1
      l/python-botocore/botocore-1.18.18.tar.gz.sha256
  5. +0
    -108
      l/python-botocore/python-botocore.SlackBuild
  6. +0
    -12
      l/python-botocore/slack-desc
  7. +0
    -1
      l/python-inflect/inflect-4.1.0.tar.gz.sha256
  8. +0
    -100
      l/python-inflect/python-inflect.SlackBuild
  9. +0
    -12
      l/python-inflect/slack-desc
  10. +0
    -1
      l/python-jmespath/jmespath-0.10.0.tar.gz.sha256
  11. +0
    -93
      l/python-jmespath/python-jmespath.SlackBuild
  12. +0
    -12
      l/python-jmespath/slack-desc
  13. +0
    -1
      l/python-joblib/joblib-0.17.0.tar.gz.sha256
  14. +0
    -99
      l/python-joblib/python-joblib.SlackBuild
  15. +0
    -12
      l/python-joblib/slack-desc
  16. +0
    -1
      l/python-mahotas/mahotas-1.4.11.tar.gz.sha256
  17. +0
    -126
      l/python-mahotas/python-mahotas.SlackBuild
  18. +0
    -12
      l/python-mahotas/slack-desc
  19. +0
    -1
      l/python-mysqlclient/mysqlclient-1.4.6.tar.gz.sha256
  20. +0
    -119
      l/python-mysqlclient/python-mysqlclient.SlackBuild
  21. +0
    -12
      l/python-mysqlclient/slack-desc
  22. +0
    -129
      l/python-scikit-learn/python-scikit-learn.SlackBuild
  23. +0
    -1
      l/python-scikit-learn/scikit-learn-0.23.2.tar.gz.sha256
  24. +0
    -12
      l/python-scikit-learn/slack-desc
  25. +0
    -93
      l/python-sentry-sdk/python-sentry-sdk.SlackBuild
  26. +0
    -1
      l/python-sentry-sdk/sentry-sdk-0.19.0.tar.gz.sha256
  27. +0
    -12
      l/python-sentry-sdk/slack-desc
  28. +0
    -93
      l/python-threadpoolctl/python-threadpoolctl.SlackBuild
  29. +0
    -12
      l/python-threadpoolctl/slack-desc
  30. +0
    -1
      l/python-threadpoolctl/threadpoolctl-2.1.0.tar.gz.sha256

+ 0
- 1
l/h5py/h5py-2.10.0.tar.gz.sha256 View File

@@ -1 +0,0 @@
84412798925dc870ffd7107f045d7659e60f5d46d1c70c700375248bf6bf512d h5py-2.10.0.tar.gz

+ 0
- 127
l/h5py/h5py.SlackBuild View File

@@ -1,127 +0,0 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# 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.
#
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest h5py sourcecode is available at: <http://www.h5py.org/>.
#
# Depends: d/Cython, l/hdf5, l/numpy

# Source package infos
NAMESRC=${NAMESRC:-h5py}
VERSION=${VERSION:-2.10.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}

# Build infos
NAMEPKG=${NAMEPKG:-h5py}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}

# Directories
TMP=${TMP:-/tmp}
OUT=${OUT:-$TMP/build}
PKG=${PKG:-$OUT/$NAMEPKG}
CWD=$(pwd)
PYTHONDIR=$(python3 -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')

set -e # Quit if a command returns non-zero

# Sanity checks
if [ $UID -eq 0 ]; then
echo "You should NOT run this script as ROOT!"
exit 1
fi
if [ ! -d $TMP ]; then
echo "$TMP does not exists or is not a directory!"
exit 1
fi

# Compilation flags
case "$ARCH" in
i?86)
CPUOPT="-O2 -march=$ARCH -mtune=i686"
;;
x86_64)
CPUOPT="-O2 -fPIC"
;;
*)
CPUOPT="-O2"
;;
esac

# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
pip3 download --no-binary :all: --no-deps $NAMESRC==$VERSION
fi
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)

# Compile
cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
CFLAGS="$CPUOPT -I/usr/include/hdf5" \
CXXFLAGS="$CPUOPT -I/usr/include/hdf5" \
python3 setup.py build
python3 setup.py install --root=$PKG

# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null

# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 ANN.rst AUTHORS LICENSE README.rst $PKG/usr/doc/$NAMEPKG-$VERSION

# Build HTML docs if Sphinx is available
export PYTHONPATH=$PKG$PYTHONDIR
if sphinx-build -b html docs $PKG/usr/doc/$NAMEPKG-$VERSION/html ; then
rm -rf $PKG/usr/doc/$NAMEPKG-$VERSION/html/.{buildinfo,doctrees}
fi

# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

# Add dependency infos
cat <<EOF > $PKG/install/slack-required
Cython
hdf5
numpy
EOF

# Package the tree
cd $PKG
mkdir -p $OUT
PACKAGING="
chown root:root . -R
/sbin/makepkg -l y -c n $OUT/$NAMEPKG-$VERSION-$ARCH-$BUILD.$EXT
rm -rf $PKG
rm -rf $TMP/$NAME
"
if type -p fakeroot ; then
echo "$PACKAGING" | fakeroot
else
su -c "$PACKAGING"
fi

+ 0
- 12
l/h5py/slack-desc View File

@@ -1,12 +0,0 @@
|-----handy-ruler-----------------------------------------------------|
h5py: h5py (read and write HDF5 files from Python)
h5py:
h5py: The h5py package provides both a high- and low-level interface to
h5py: the HDF5 library from Python. The low-level interface is intended to
h5py: be a complete wrapping of the HDF5 API, while the high-level
h5py: component supports access to HDF5 files, datasets and groups using
h5py: established Python and NumPy concepts.
h5py:
h5py:
h5py:
h5py:

+ 0
- 1
l/python-botocore/botocore-1.18.18.tar.gz.sha256 View File

@@ -1 +0,0 @@
e224754230e7e015836ba20037cac6321e8e2ce9b8627c14d579fcb37249decd botocore-1.18.18.tar.gz

+ 0
- 108
l/python-botocore/python-botocore.SlackBuild View File

@@ -1,108 +0,0 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# 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.
#
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest botocore sourcecode is available at:
# <https://github.com/boto/botocore>.
#
# Depends: l/python-dateutil, l/python-jmespath

# Source package infos
NAMESRC=${NAMESRC:-botocore}
VERSION=${VERSION:-1.18.18}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}

# Build infos
NAMEPKG=${NAMEPKG:-python-botocore}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}

# Directories
TMP=${TMP:-/tmp}
OUT=${OUT:-$TMP/build}
PKG=${PKG:-$OUT/$NAMEPKG}
CWD=$(pwd)
PYTHONDIR=$(python3 -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')

set -e # Quit if a command returns non-zero

# Sanity checks
if [ $UID -eq 0 ]; then
echo "You should NOT run this script as ROOT!"
exit 1
fi
if [ ! -d $TMP ]; then
echo "$TMP does not exists or is not a directory!"
exit 1
fi

# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
pip3 download --no-binary :all: --no-deps $NAMESRC==$VERSION
fi
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)

# Compile
cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
python3 setup.py build
python3 setup.py install --root=$PKG

# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 LICENSE.txt README.rst $PKG/usr/doc/$NAMEPKG-$VERSION

# Build HTML docs if Sphinx is available
export PYTHONPATH=$PKG$PYTHONDIR
if sphinx-build -b html docs/source $PKG/usr/doc/$NAMEPKG-$VERSION/html ; then
rm -rf $PKG/usr/doc/$NAMEPKG-$VERSION/html/.{buildinfo,doctrees}
fi

# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

# Add dependency infos
cat <<EOF > $PKG/install/slack-required
python-dateutil
python-jmespath
EOF

# Package the tree
cd $PKG
mkdir -p $OUT
PACKAGING="
chown root:root . -R
/sbin/makepkg -l y -c n $OUT/$NAMEPKG-$VERSION-$ARCH-$BUILD.$EXT
rm -rf $PKG
rm -rf $TMP/$NAME
"
if type -p fakeroot ; then
echo "$PACKAGING" | fakeroot
else
su -c "$PACKAGING"
fi

+ 0
- 12
l/python-botocore/slack-desc View File

@@ -1,12 +0,0 @@
|-----handy-ruler-----------------------------------------------------|
python-botocore: python-botocore (low-level core of boto3)
python-botocore:
python-botocore: A low-level interface to a growing number of Amazon Web Services.
python-botocore: The botocore package is the foundation for the AWS CLI as well as
python-botocore: boto3.
python-botocore:
python-botocore:
python-botocore:
python-botocore:
python-botocore:
python-botocore:

+ 0
- 1
l/python-inflect/inflect-4.1.0.tar.gz.sha256 View File

@@ -1 +0,0 @@
def6f3791be9181f0c01e0bf5949304007ec6e04c6674fbef7cc49c657b8a9a5 inflect-4.1.0.tar.gz

+ 0
- 100
l/python-inflect/python-inflect.SlackBuild View File

@@ -1,100 +0,0 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# 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.
#
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest inflect sourcecode is available at:
# <https://github.com/jazzband/inflect>.

# Source package infos
NAMESRC=${NAMESRC:-inflect}
VERSION=${VERSION:-4.1.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}

# Build infos
NAMEPKG=${NAMEPKG:-python-inflect}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}

# Directories
TMP=${TMP:-/tmp}
OUT=${OUT:-$TMP/build}
PKG=${PKG:-$OUT/$NAMEPKG}
CWD=$(pwd)
PYTHONDIR=$(python3 -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')

set -e # Quit if a command returns non-zero

# Sanity checks
if [ $UID -eq 0 ]; then
echo "You should NOT run this script as ROOT!"
exit 1
fi
if [ ! -d $TMP ]; then
echo "$TMP does not exists or is not a directory!"
exit 1
fi

# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
pip3 download --no-binary :all: --no-deps $NAMESRC==$VERSION
fi
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)

# Compile
cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
python3 setup.py build
python3 setup.py install --root=$PKG

# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 CHANGES.rst CONTRIBUTING.md LICENSE README.rst $PKG/usr/doc/$NAMEPKG-$VERSION

# Build HTML docs if Sphinx is available
export PYTHONPATH=$PKG$PYTHONDIR
if sphinx-build -b html docs $PKG/usr/doc/$NAMEPKG-$VERSION/html ; then
rm -rf $PKG/usr/doc/$NAMEPKG-$VERSION/html/.{buildinfo,doctrees}
fi

# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

# Package the tree
cd $PKG
mkdir -p $OUT
PACKAGING="
chown root:root . -R
/sbin/makepkg -l y -c n $OUT/$NAMEPKG-$VERSION-$ARCH-$BUILD.$EXT
rm -rf $PKG
rm -rf $TMP/$NAME
"
if type -p fakeroot ; then
echo "$PACKAGING" | fakeroot
else
su -c "$PACKAGING"
fi

+ 0
- 12
l/python-inflect/slack-desc View File

@@ -1,12 +0,0 @@
|-----handy-ruler-----------------------------------------------------|
python-inflect: python-inflect (inflections generator for Python)
python-inflect:
python-inflect: This is a Python module to correctly generate plurals, singular
python-inflect: nouns, ordinals, indefinite articles; convert numbers to words.
python-inflect:
python-inflect:
python-inflect:
python-inflect:
python-inflect:
python-inflect:
python-inflect:

+ 0
- 1
l/python-jmespath/jmespath-0.10.0.tar.gz.sha256 View File

@@ -1 +0,0 @@
b85d0567b8666149a93172712e68920734333c0ce7e89b78b3e987f71e5ed4f9 jmespath-0.10.0.tar.gz

+ 0
- 93
l/python-jmespath/python-jmespath.SlackBuild View File

@@ -1,93 +0,0 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# 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.
#
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest jmespath sourcecode is available at:
# <https://github.com/jmespath/jmespath.py>.

# Source package infos
NAMESRC=${NAMESRC:-jmespath}
VERSION=${VERSION:-0.10.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}

# Build infos
NAMEPKG=${NAMEPKG:-python-jmespath}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}

# Directories
TMP=${TMP:-/tmp}
OUT=${OUT:-$TMP/build}
PKG=${PKG:-$OUT/$NAMEPKG}
CWD=$(pwd)

set -e # Quit if a command returns non-zero

# Sanity checks
if [ $UID -eq 0 ]; then
echo "You should NOT run this script as ROOT!"
exit 1
fi
if [ ! -d $TMP ]; then
echo "$TMP does not exists or is not a directory!"
exit 1
fi

# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
pip3 download --no-binary :all: --no-deps $NAMESRC==$VERSION
fi
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)

# Compile
cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
python3 setup.py build
python3 setup.py install --root=$PKG

# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 LICENSE.txt README.rst $PKG/usr/doc/$NAMEPKG-$VERSION

# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

# Package the tree
cd $PKG
mkdir -p $OUT
PACKAGING="
chown root:root . -R
/sbin/makepkg -l y -c n $OUT/$NAMEPKG-$VERSION-$ARCH-$BUILD.$EXT
rm -rf $PKG
rm -rf $TMP/$NAME
"
if type -p fakeroot ; then
echo "$PACKAGING" | fakeroot
else
su -c "$PACKAGING"
fi

+ 0
- 12
l/python-jmespath/slack-desc View File

@@ -1,12 +0,0 @@
|-----handy-ruler-----------------------------------------------------|
python-jmespath: python-jmespath (JSON matching expressions)
python-jmespath:
python-jmespath: JMESPath (pronounced "james path") allows you to declaratively
python-jmespath: specify how to extract elements from a JSON document.
python-jmespath:
python-jmespath:
python-jmespath:
python-jmespath:
python-jmespath:
python-jmespath:
python-jmespath:

+ 0
- 1
l/python-joblib/joblib-0.17.0.tar.gz.sha256 View File

@@ -1 +0,0 @@
9e284edd6be6b71883a63c9b7f124738a3c16195513ad940eae7e3438de885d5 joblib-0.17.0.tar.gz

+ 0
- 99
l/python-joblib/python-joblib.SlackBuild View File

@@ -1,99 +0,0 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# 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.
#
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest joblib sourcecode is available at: <https://joblib.readthedocs.io/>.

# Source package infos
NAMESRC=${NAMESRC:-joblib}
VERSION=${VERSION:-0.17.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}

# Build infos
NAMEPKG=${NAMEPKG:-python-joblib}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}

# Directories
TMP=${TMP:-/tmp}
OUT=${OUT:-$TMP/build}
PKG=${PKG:-$OUT/$NAMEPKG}
CWD=$(pwd)
PYTHONDIR=$(python3 -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')

set -e # Quit if a command returns non-zero

# Sanity checks
if [ $UID -eq 0 ]; then
echo "You should NOT run this script as ROOT!"
exit 1
fi
if [ ! -d $TMP ]; then
echo "$TMP does not exists or is not a directory!"
exit 1
fi

# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
pip3 download --no-binary :all: --no-deps $NAMESRC==$VERSION
fi
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)

# Compile
cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
python3 setup.py build
python3 setup.py install --root=$PKG

# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 CHANGES.rst LICENSE.txt README.rst TODO.rst $PKG/usr/doc/$NAMEPKG-$VERSION

# Build HTML docs if Sphinx is available
export PYTHONPATH=$PKG$PYTHONDIR
if sphinx-build -b html doc $PKG/usr/doc/$NAMEPKG-$VERSION/html ; then
rm -rf $PKG/usr/doc/$NAMEPKG-$VERSION/html/.{buildinfo,doctrees}
fi

# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

# Package the tree
cd $PKG
mkdir -p $OUT
PACKAGING="
chown root:root . -R
/sbin/makepkg -l y -c n $OUT/$NAMEPKG-$VERSION-$ARCH-$BUILD.$EXT
rm -rf $PKG
rm -rf $TMP/$NAME
"
if type -p fakeroot ; then
echo "$PACKAGING" | fakeroot
else
su -c "$PACKAGING"
fi

+ 0
- 12
l/python-joblib/slack-desc View File

@@ -1,12 +0,0 @@
|-----handy-ruler-----------------------------------------------------|
python-joblib: python-joblib (lightweight pipelines for Python)
python-joblib:
python-joblib: Joblib is a set of tools to provide leightweight pipelining in
python-joblib: Python.
python-joblib:
python-joblib:
python-joblib:
python-joblib:
python-joblib:
python-joblib:
python-joblib:

+ 0
- 1
l/python-mahotas/mahotas-1.4.11.tar.gz.sha256 View File

@@ -1 +0,0 @@
3f0109f167fc9b599f77b4d30d57c45bcc34dea019ff79fe29eb43c866d87ce9 mahotas-1.4.11.tar.gz

+ 0
- 126
l/python-mahotas/python-mahotas.SlackBuild View File

@@ -1,126 +0,0 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# 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.
#
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest mahotas sourcecode is available at:
# <http://luispedro.org/software/mahotas>.
#
# Depends: l/numpy

# Source package infos
NAMESRC=${NAMESRC:-mahotas}
VERSION=${VERSION:-1.4.11}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}

# Build infos
NAMEPKG=${NAMEPKG:-python-mahotas}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}

# Directories
TMP=${TMP:-/tmp}
OUT=${OUT:-$TMP/build}
PKG=${PKG:-$OUT/$NAMEPKG}
CWD=$(pwd)
PYTHONDIR=$(python3 -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')

set -e # Quit if a command returns non-zero

# Sanity checks
if [ $UID -eq 0 ]; then
echo "You should NOT run this script as ROOT!"
exit 1
fi
if [ ! -d $TMP ]; then
echo "$TMP does not exists or is not a directory!"
exit 1
fi

# Compilation flags
case "$ARCH" in
i?86)
CPUOPT="-O2 -march=$ARCH -mtune=i686"
;;
x86_64)
CPUOPT="-O2 -fPIC"
;;
*)
CPUOPT="-O2"
;;
esac

# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
pip3 download --no-binary :all: --no-deps $NAMESRC==$VERSION
fi
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)

# Compile
cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
python3 setup.py build
python3 setup.py install --root=$PKG

# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null

# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 AUTHORS COPYING ChangeLog README.md $PKG/usr/doc/$NAMEPKG-$VERSION

# Build HTML docs if Sphinx is available
export PYTHONPATH=$PKG$PYTHONDIR
if sphinx-build -b html docs/source $PKG/usr/doc/$NAMEPKG-$VERSION/html ; then
rm -rf $PKG/usr/doc/$NAMEPKG-$VERSION/html/.{buildinfo,doctrees}
fi

# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

# Add dependency infos
cat <<EOF > $PKG/install/slack-required
numpy
EOF

# Package the tree
cd $PKG
mkdir -p $OUT
PACKAGING="
chown root:root . -R
/sbin/makepkg -l y -c n $OUT/$NAMEPKG-$VERSION-$ARCH-$BUILD.$EXT
rm -rf $PKG
rm -rf $TMP/$NAME
"
if type -p fakeroot ; then
echo "$PACKAGING" | fakeroot
else
su -c "$PACKAGING"
fi

+ 0
- 12
l/python-mahotas/slack-desc View File

@@ -1,12 +0,0 @@
|-----handy-ruler-----------------------------------------------------|
python-mahotas: python-mahotas (computer vision library)
python-mahotas:
python-mahotas: Mahotas is a Python library of fast computer vision algorithms
python-mahotas: operating over numpy arrays.
python-mahotas:
python-mahotas:
python-mahotas:
python-mahotas:
python-mahotas:
python-mahotas:
python-mahotas:

+ 0
- 1
l/python-mysqlclient/mysqlclient-1.4.6.tar.gz.sha256 View File

@@ -1 +0,0 @@
f3fdaa9a38752a3b214a6fe79d7cae3653731a53e577821f9187e67cbecb2e16 mysqlclient-1.4.6.tar.gz

+ 0
- 119
l/python-mysqlclient/python-mysqlclient.SlackBuild View File

@@ -1,119 +0,0 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# 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.
#
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest mysqlclient sourcecode is available at:
# <https://github.com/PyMySQL/mysqlclient-python>.

# Source package infos
NAMESRC=${NAMESRC:-mysqlclient}
VERSION=${VERSION:-1.4.6}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}

# Build infos
NAMEPKG=${NAMEPKG:-python-mysqlclient}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}

# Directories
TMP=${TMP:-/tmp}
OUT=${OUT:-$TMP/build}
PKG=${PKG:-$OUT/$NAMEPKG}
CWD=$(pwd)
PYTHONDIR=$(python3 -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')

set -e # Quit if a command returns non-zero

# Sanity checks
if [ $UID -eq 0 ]; then
echo "You should NOT run this script as ROOT!"
exit 1
fi
if [ ! -d $TMP ]; then
echo "$TMP does not exists or is not a directory!"
exit 1
fi

# Compilation flags
case "$ARCH" in
i?86)
CPUOPT="-O2 -march=$ARCH -mtune=i686"
;;
x86_64)
CPUOPT="-O2 -fPIC"
;;
*)
CPUOPT="-O2"
;;
esac

# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
pip3 download --no-binary :all: --no-deps $NAMESRC==$VERSION
fi
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)

# Compile
cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
python3 setup.py build
python3 setup.py install --root=$PKG

# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null

# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 HISTORY.rst LICENSE README.md $PKG/usr/doc/$NAMEPKG-$VERSION

# Build HTML docs if Sphinx is available
export PYTHONPATH=$PKG$PYTHONDIR
if sphinx-build -b html doc $PKG/usr/doc/$NAMEPKG-$VERSION/html ; then
rm -rf $PKG/usr/doc/$NAMEPKG-$VERSION/html/.{buildinfo,doctrees}
fi

# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

# Package the tree
cd $PKG
mkdir -p $OUT
PACKAGING="
chown root:root . -R
/sbin/makepkg -l y -c n $OUT/$NAMEPKG-$VERSION-$ARCH-$BUILD.$EXT
rm -rf $PKG
rm -rf $TMP/$NAME
"
if type -p fakeroot ; then
echo "$PACKAGING" | fakeroot
else
su -c "$PACKAGING"
fi

+ 0
- 12
l/python-mysqlclient/slack-desc View File

@@ -1,12 +0,0 @@
|-----handy-ruler-----------------------------------------------------|
python-mysqlclient: python-mysqlclient (Python interface to MySQL)
python-mysqlclient:
python-mysqlclient: This is a Python interface to the MySQL database server.
python-mysqlclient:
python-mysqlclient:
python-mysqlclient:
python-mysqlclient:
python-mysqlclient:
python-mysqlclient:
python-mysqlclient:
python-mysqlclient:

+ 0
- 129
l/python-scikit-learn/python-scikit-learn.SlackBuild View File

@@ -1,129 +0,0 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# 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.
#
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest scikit-learn sourcecode is available at: <http://scikit-learn.org/>.
#
# Depends: d/Cython, l/python-joblib, l/python-threadpoolctl, l/scipy

# Source package infos
NAMESRC=${NAMESRC:-scikit-learn}
VERSION=${VERSION:-0.23.2}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}

# Build infos
NAMEPKG=${NAMEPKG:-python-scikit-learn}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}

# Directories
TMP=${TMP:-/tmp}
OUT=${OUT:-$TMP/build}
PKG=${PKG:-$OUT/$NAMEPKG}
CWD=$(pwd)
PYTHONDIR=$(python3 -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')

set -e # Quit if a command returns non-zero

# Sanity checks
if [ $UID -eq 0 ]; then
echo "You should NOT run this script as ROOT!"
exit 1
fi
if [ ! -d $TMP ]; then
echo "$TMP does not exists or is not a directory!"
exit 1
fi

# Compilation flags
case "$ARCH" in
i?86)
CPUOPT="-O2 -march=$ARCH -mtune=i686"
;;
x86_64)
CPUOPT="-O2 -fPIC"
;;
*)
CPUOPT="-O2"
;;
esac

# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
pip3 download --no-binary :all: --no-deps $NAMESRC==$VERSION
fi
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)

# Compile
cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
python3 setup.py build
python3 setup.py install --root=$PKG

# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null


# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 COPYING README.rst $PKG/usr/doc/$NAMEPKG-$VERSION

# Build HTML docs if Sphinx is available
export PYTHONPATH=$PKG$PYTHONDIR
if sphinx-build -b html doc $PKG/usr/doc/$NAMEPKG-$VERSION/html ; then
rm -rf $PKG/usr/doc/$NAMEPKG-$VERSION/html/.{buildinfo,doctrees}
fi

# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

# Add dependency infos
cat <<EOF > $PKG/install/slack-required
Cython
python-joblib
python-threadpoolctl
scipy
EOF

# Package the tree
cd $PKG
mkdir -p $OUT
PACKAGING="
chown root:root . -R
/sbin/makepkg -l y -c n $OUT/$NAMEPKG-$VERSION-$ARCH-$BUILD.$EXT
rm -rf $PKG
rm -rf $TMP/$NAME
"
if type -p fakeroot ; then
echo "$PACKAGING" | fakeroot
else
su -c "$PACKAGING"
fi

+ 0
- 1
l/python-scikit-learn/scikit-learn-0.23.2.tar.gz.sha256 View File

@@ -1 +0,0 @@
20766f515e6cd6f954554387dfae705d93c7b544ec0e6c6a5d8e006f6f7ef480 scikit-learn-0.23.2.tar.gz

+ 0
- 12
l/python-scikit-learn/slack-desc View File

@@ -1,12 +0,0 @@
|-----handy-ruler-----------------------------------------------------|
python-scikit-learn: python-scikit-learn (machine learning for Python)
python-scikit-learn:
python-scikit-learn: scikit-learn is a Python module for machine learning built on top of
python-scikit-learn: SciPy and is distributed under the 3-clause BSD license.
python-scikit-learn:
python-scikit-learn:
python-scikit-learn:
python-scikit-learn:
python-scikit-learn:
python-scikit-learn:
python-scikit-learn:

+ 0
- 93
l/python-sentry-sdk/python-sentry-sdk.SlackBuild View File

@@ -1,93 +0,0 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# 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.
#
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest sentry-sdk sourcecode is available at:
# <https://github.com/getsentry/sentry-python>.

# Source package infos
NAMESRC=${NAMESRC:-sentry-sdk}
VERSION=${VERSION:-0.19.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}

# Build infos
NAMEPKG=${NAMEPKG:-python-sentry-sdk}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}

# Directories
TMP=${TMP:-/tmp}
OUT=${OUT:-$TMP/build}
PKG=${PKG:-$OUT/$NAMEPKG}
CWD=$(pwd)

set -e # Quit if a command returns non-zero

# Sanity checks
if [ $UID -eq 0 ]; then
echo "You should NOT run this script as ROOT!"
exit 1
fi
if [ ! -d $TMP ]; then
echo "$TMP does not exists or is not a directory!"
exit 1
fi

# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
pip3 download --no-binary :all: --no-deps $NAMESRC==$VERSION
fi
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)

# Compile
cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
python3 setup.py build
python3 setup.py install --root=$PKG

# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 LICENSE README.md $PKG/usr/doc/$NAMEPKG-$VERSION

# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

# Package the tree
cd $PKG
mkdir -p $OUT
PACKAGING="
chown root:root . -R
/sbin/makepkg -l y -c n $OUT/$NAMEPKG-$VERSION-$ARCH-$BUILD.$EXT
rm -rf $PKG
rm -rf $TMP/$NAME
"
if type -p fakeroot ; then
echo "$PACKAGING" | fakeroot
else
su -c "$PACKAGING"
fi

+ 0
- 1
l/python-sentry-sdk/sentry-sdk-0.19.0.tar.gz.sha256 View File

@@ -1 +0,0 @@
a3716e98a1285a74eeaea7418a5b8fb2d7568fa11b5fba389946f465876a4d44 sentry-sdk-0.19.0.tar.gz

+ 0
- 12
l/python-sentry-sdk/slack-desc View File

@@ -1,12 +0,0 @@
|-----handy-ruler-----------------------------------------------------|
python-sentry-sdk: python-sentry-sdk (Python client for Sentry)
python-sentry-sdk:
python-sentry-sdk: Sentry-Python is a SDK for Sentry (https://sentry.io/).
python-sentry-sdk:
python-sentry-sdk: (Is it me, or does this look like a tool to silently send usage data
python-sentry-sdk: to a third-party website???)
python-sentry-sdk:
python-sentry-sdk:
python-sentry-sdk:
python-sentry-sdk:
python-sentry-sdk:

+ 0
- 93
l/python-threadpoolctl/python-threadpoolctl.SlackBuild View File

@@ -1,93 +0,0 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# 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.
#
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest threadpoolctl sourcecode is available at:
# <https://github.com/joblib/threadpoolctl>.

# Source package infos
NAMESRC=${NAMESRC:-threadpoolctl}
VERSION=${VERSION:-2.1.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}

# Build infos
NAMEPKG=${NAMEPKG:-python-threadpoolctl}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}

# Directories
TMP=${TMP:-/tmp}
OUT=${OUT:-$TMP/build}
PKG=${PKG:-$OUT/$NAMEPKG}
CWD=$(pwd)

set -e # Quit if a command returns non-zero

# Sanity checks
if [ $UID -eq 0 ]; then
echo "You should NOT run this script as ROOT!"
exit 1
fi
if [ ! -d $TMP ]; then
echo "$TMP does not exists or is not a directory!"
exit 1
fi

# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
pip3 download --no-binary :all: --no-deps $NAMESRC==$VERSION
fi
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)

# Compile
cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
python3 setup.py build
python3 setup.py install --root=$PKG

# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 CHANGES.md LICENSE README.md $PKG/usr/doc/$NAMEPKG-$VERSION

# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

# Package the tree
cd $PKG
mkdir -p $OUT
PACKAGING="
chown root:root . -R
/sbin/makepkg -l y -c n $OUT/$NAMEPKG-$VERSION-$ARCH-$BUILD.$EXT
rm -rf $PKG
rm -rf $TMP/$NAME
"
if type -p fakeroot ; then
echo "$PACKAGING" | fakeroot
else
su -c "$PACKAGING"
fi

+ 0
- 12
l/python-threadpoolctl/slack-desc View File

@@ -1,12 +0,0 @@
|-----handy-ruler-----------------------------------------------------|
python-threadpoolctl: python-threadpoolctl (thread pool library for Python)
python-threadpoolctl:
python-threadpoolctl: This Python package provides helpers to limit the number of threads
python-threadpoolctl: used in the threadpool backend of common native libraries used for
python-threadpoolctl: scientific computing and data science (e.g. BLAS and OpenMP).
python-threadpoolctl:
python-threadpoolctl:
python-threadpoolctl:
python-threadpoolctl:
python-threadpoolctl:
python-threadpoolctl:

+ 0
- 1
l/python-threadpoolctl/threadpoolctl-2.1.0.tar.gz.sha256 View File

@@ -1 +0,0 @@
ddc57c96a38beb63db45d6c159b5ab07b6bced12c45a1f07b2b92f272aebfa6b threadpoolctl-2.1.0.tar.gz

Loading…
Cancel
Save