summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNavigare <navigare@gmx.com>2021-04-24 06:29:15 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-04-24 22:07:01 +0700
commit3f03682dacd0a660ea849d58a350bc0bd08f98ac (patch)
tree8eeb7bebe3e226cc9b052820a434470b36160e87
parentb9ce89c5d59870fff8888becb9c8a8b293132156 (diff)
downloadslackbuilds-3f03682dacd0a660ea849d58a350bc0bd08f98ac.tar.gz
python/dxfwrite: Fix DOWNLOAD and upgrade (zips only).
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/dxfwrite/dxfwrite.SlackBuild6
-rw-r--r--python/dxfwrite/dxfwrite.info6
2 files changed, 6 insertions, 6 deletions
diff --git a/python/dxfwrite/dxfwrite.SlackBuild b/python/dxfwrite/dxfwrite.SlackBuild
index ba70949333..99bd3e5191 100644
--- a/python/dxfwrite/dxfwrite.SlackBuild
+++ b/python/dxfwrite/dxfwrite.SlackBuild
@@ -4,7 +4,7 @@
# Written by Navigare (navigare@gmx.com)
PRGNAM=dxfwrite
-VERSION=${VERSION:-1.1.0}
+VERSION=${VERSION:-1.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -37,7 +37,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+unzip $CWD/$PRGNAM-$VERSION.zip
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -50,7 +50,7 @@ python setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- *.txt PKG-INFO \
+ README.rst PKG-INFO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/python/dxfwrite/dxfwrite.info b/python/dxfwrite/dxfwrite.info
index 0ed78bf91f..156a03223c 100644
--- a/python/dxfwrite/dxfwrite.info
+++ b/python/dxfwrite/dxfwrite.info
@@ -1,8 +1,8 @@
PRGNAM="dxfwrite"
-VERSION="1.1.0"
+VERSION="1.2.2"
HOMEPAGE="https://bitbucket.org/mozman/dxfwrite"
-DOWNLOAD="https://bitbucket.org/mozman/dxfwrite/downloads/dxfwrite-1.1.0.tar.gz"
-MD5SUM="b0c24bdcb57dd7f7880a9be002a9ec8f"
+DOWNLOAD="https://files.pythonhosted.org/packages/a1/5c/f393fbbeb89c1c96033d99fa4e0f4c6a688dd8c6c8070493ce8fe38bf308/dxfwrite-1.2.2.zip"
+MD5SUM="c367d6b6a26cda19f08f57f35c3193e5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""