summaryrefslogtreecommitdiffstats
path: root/development/python3-cycler
diff options
context:
space:
mode:
Diffstat (limited to 'development/python3-cycler')
-rw-r--r--development/python3-cycler/README4
-rw-r--r--development/python3-cycler/python3-cycler.SlackBuild20
-rw-r--r--development/python3-cycler/python3-cycler.info8
-rw-r--r--development/python3-cycler/slack-desc2
4 files changed, 22 insertions, 12 deletions
diff --git a/development/python3-cycler/README b/development/python3-cycler/README
index 97a2618e9c..6c60cdf90e 100644
--- a/development/python3-cycler/README
+++ b/development/python3-cycler/README
@@ -1,5 +1,5 @@
The cycler python module provides a composable cycle class used for
constructing style-cycles.
-This is the Python 3 version of cycler and will coexist with SBo's
-cycler package.
+This is the python3 version of cycler, it will coexist with SBo's
+python2-cycler package.
diff --git a/development/python3-cycler/python3-cycler.SlackBuild b/development/python3-cycler/python3-cycler.SlackBuild
index 61ae3c4d8e..02013ee21d 100644
--- a/development/python3-cycler/python3-cycler.SlackBuild
+++ b/development/python3-cycler/python3-cycler.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cycler
@@ -24,11 +24,14 @@
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=python3-cycler
SRCNAM=cycler
-VERSION=${VERSION:-0.10.0}
+VERSION=${VERSION:-0.11.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,9 +41,16 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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 "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
-PKG=${PKG:-$TMP/package-$PRGNAM}
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
@@ -71,4 +81,4 @@ 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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/python3-cycler/python3-cycler.info b/development/python3-cycler/python3-cycler.info
index b6379f40fb..265228fb02 100644
--- a/development/python3-cycler/python3-cycler.info
+++ b/development/python3-cycler/python3-cycler.info
@@ -1,10 +1,10 @@
PRGNAM="python3-cycler"
-VERSION="0.10.0"
+VERSION="0.11.0"
HOMEPAGE="http://matplotlib.org/cycler"
-DOWNLOAD="https://pypi.python.org/packages/c2/4b/137dea450d6e1e3d474e1d873cd1d4f7d3beed7e0dc973b06e8e10d32488/cycler-0.10.0.tar.gz"
-MD5SUM="4cb42917ac5007d1cdff6cccfe2d016b"
+DOWNLOAD="https://files.pythonhosted.org/packages/34/45/a7caaacbfc2fa60bee42effc4bcc7d7c6dbe9c349500e04f65a861c15eb9/cycler-0.11.0.tar.gz"
+MD5SUM="4d0c25f418956e91c47163179682e0ef"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-six"
+REQUIRES=""
MAINTAINER="Serban Udrea"
EMAIL="S.Udrea@gsi.de"
diff --git a/development/python3-cycler/slack-desc b/development/python3-cycler/slack-desc
index dfcabb33e2..926b861c52 100644
--- a/development/python3-cycler/slack-desc
+++ b/development/python3-cycler/slack-desc
@@ -11,7 +11,7 @@ python3-cycler:
python3-cycler: The cycler python module provides a composable cycle class used for
python3-cycler: constructing style-cycles.
python3-cycler:
-python3-cycler: This will coexist with SBo's cycler package.
+python3-cycler: This will coexist with SBo's python2-cycler package.
python3-cycler:
python3-cycler:
python3-cycler: