Browse Source

l/python-click: Upgraded to python-click-7.0.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
0761842a2f
  1. 1
      l/python-click/Click-7.0.tar.gz.sha256
  2. 1
      l/python-click/click-6.7.tar.gz.sha256
  3. 17
      l/python-click/python-click.SlackBuild

1
l/python-click/Click-7.0.tar.gz.sha256

@ -0,0 +1 @@
5b94b49521f6456670fdb30cd82a4eca9412788a93fa6dd6df72c94d5a8ff2d7 Click-7.0.tar.gz

1
l/python-click/click-6.7.tar.gz.sha256

@ -1 +0,0 @@
f15516df478d5a56180fbf80e68f206010e6d160fc39fa508b65e035fd75130b click-6.7.tar.gz

17
l/python-click/python-click.SlackBuild

@ -23,13 +23,13 @@
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest click sourcecode is available at:
# <http://github.com/mitsuhiko/click>.
# <https://palletsprojects.com/p/click/>.
# Source package infos
NAMESRC=${NAMESRC:-click}
VERSION=${VERSION:-6.7}
NAMESRC=${NAMESRC:-Click}
VERSION=${VERSION:-7.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://pypi.python.org/packages/95/d9/c3336b6b5711c3ab9d1d3a80f1a3e2afeb9d8c02a7166462f6cc96570897/$ARCHIVE}
WGET=${WGET:-https://files.pythonhosted.org/packages/f8/5c/f60e9d8a1e77005f664b76ff8aeaee5bc05d0a91798afd7f53fc998dbc47/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-python-click}
@ -69,12 +69,15 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
python setup.py build
python setup.py install --root=$PKG
python2 setup.py build
python2 setup.py install --root=$PKG
python3 setup.py build
python3 setup.py install --root=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 CHANGES LICENSE PKG-INFO README $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 CHANGES.rst CONTRIBUTING.rst LICENSE.rst README.rst \
$PKG/usr/doc/$NAMEPKG-$VERSION
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save