Browse Source

l/python-cssutils: Upgraded to python-cssutils-1.0.1.

slackware-14.2
Damien Goutte-Gattat 5 years ago
parent
commit
0521acbead
  1. 1
      l/python-cssutils/cssutils-1.0.1.tar.gz.sha1
  2. 1
      l/python-cssutils/cssutils-1.0.zip.sha1
  3. 13
      l/python-cssutils/python-cssutils.SlackBuild

1
l/python-cssutils/cssutils-1.0.1.tar.gz.sha1

@ -0,0 +1 @@
3f14188e378618230277cbff9a7b242d14b7a99b cssutils-1.0.1.tar.gz

1
l/python-cssutils/cssutils-1.0.zip.sha1

@ -1 +0,0 @@
341e57dbb02b699745b13a9a3296634209d26169 cssutils-1.0.zip

13
l/python-cssutils/python-cssutils.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2012,2013 Damien Goutte-Gattat
# Copyright (C) 2012,2013,2016 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -24,15 +24,14 @@
#
# Latest cssutils sourcecode is available at:
# <http://cthedot.de/cssutils/>.
#
# Depends: d/pysetuptools
# Source package infos
NAMESRC=${NAMESRC:-cssutils}
VERSION=${VERSION:-1.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.zip}
VERSION=${VERSION:-1.0.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://pypi.python.org/packages/source/c/cssutils/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-python-cssutils}
BUILD=${BUILD:-1GGD}
@ -67,14 +66,14 @@ sha1sum -c $ARCHIVE.sha1
# Compile
cd $TMP
echo "Building $ARCHIVE..."
unzip $CWD/$ARCHIVE
tar xf $CWD/$ARCHIVE
cd $NAMESRC-$VERSION
python setup.py build
python setup.py install --root=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 COPYING COPYING.LESSER PKG-INFO README.txt $PKG/usr/doc/$NAME
install -m 644 COPYING COPYING.LESSER README.txt $PKG/usr/doc/$NAME
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save