diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2010-09-12 00:45:07 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-09-12 23:08:53 -0500 |
commit | 51a4c4796ba751f61667145694cb759149d2149d (patch) | |
tree | 32c512f104c9063b4eafe76891106c14a648ad16 | |
parent | 09bf86d36216c30097778dd55a9543deddfe891f (diff) |
libraries/mechanize: Updated for version 0.2.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r-- | libraries/mechanize/README | 2 | ||||
-rw-r--r-- | libraries/mechanize/mechanize.SlackBuild | 13 | ||||
-rw-r--r-- | libraries/mechanize/mechanize.info | 8 | ||||
-rw-r--r-- | libraries/mechanize/slack-desc | 14 |
4 files changed, 16 insertions, 21 deletions
diff --git a/libraries/mechanize/README b/libraries/mechanize/README index 35a75ec97ab6..e1a2eb48beb3 100644 --- a/libraries/mechanize/README +++ b/libraries/mechanize/README @@ -1,4 +1,4 @@ Stateful programmatic web browsing in Python, after Andy Lester's Perl module WWW::Mechanize. -This requires pysetuptools and ClientForm. +This requires pysetuptools. diff --git a/libraries/mechanize/mechanize.SlackBuild b/libraries/mechanize/mechanize.SlackBuild index 918c436a8a64..5b96bfdfb2d5 100644 --- a/libraries/mechanize/mechanize.SlackBuild +++ b/libraries/mechanize/mechanize.SlackBuild @@ -3,16 +3,14 @@ # Written by Larry Hajali <larryhaja[at]gmail[dot]com> PRGNAM=mechanize -VERSION=${VERSION:-0.1.11} -BUILD=${BUILD:-2} +VERSION=0.2.2 +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -37,16 +35,13 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Use the system's pysetuptools -sed -i '/ez_setup/d' setup.py - -python setup.py install --root=$PKG +python setup.py install --root=$PKG --no-compile find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a *.txt *.html $PKG/usr/doc/$PRGNAM-$VERSION +cp -a *.txt docs $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/mechanize/mechanize.info b/libraries/mechanize/mechanize.info index f43a839c13ce..c064f2184cc2 100644 --- a/libraries/mechanize/mechanize.info +++ b/libraries/mechanize/mechanize.info @@ -1,10 +1,10 @@ PRGNAM="mechanize" -VERSION="0.1.11" +VERSION="0.2.2" HOMEPAGE="http://wwwsearch.sourceforge.net/mechanize/" -DOWNLOAD="http://wwwsearch.sourceforge.net/mechanize/src/mechanize-0.1.11.tar.gz" -MD5SUM="c5e89a1886e44bd7a8598b0ba47287af" +DOWNLOAD="http://wwwsearch.sourceforge.net/mechanize/src/mechanize-0.2.2.tar.gz" +MD5SUM="22fd64c71c065619d27ea8870da6ca68" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Larry Hajali" EMAIL="larryhaja[at]gmail[dot]com" -APPROVED="dsomero,rworkman" +APPROVED="rworkman" diff --git a/libraries/mechanize/slack-desc b/libraries/mechanize/slack-desc index b1a801938463..1296ba954680 100644 --- a/libraries/mechanize/slack-desc +++ b/libraries/mechanize/slack-desc @@ -7,13 +7,13 @@ |-----handy-ruler------------------------------------------------------| mechanize: mechanize (Stateful programmatic web browsing in Python) -mechanize: +mechanize: mechanize: Stateful programmatic web browsing in Python, after Andy Lester's mechanize: Perl module WWW::Mechanize. -mechanize: +mechanize: mechanize: Homepage: http://wwwsearch.sourceforge.net/mechanize/ -mechanize: -mechanize: -mechanize: -mechanize: -mechanize: +mechanize: +mechanize: +mechanize: +mechanize: +mechanize: |