From 82e4f169bf220046471d843217e5b60d01f00a2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0ime=20Ramov?= Date: Sat, 14 Aug 2010 08:25:10 -0500 Subject: libraries/pyquery: Updated for version 0.6.1. Signed-off-by: Erik Hanson --- libraries/pyquery/README | 10 +++++----- libraries/pyquery/pyquery.SlackBuild | 6 ++---- libraries/pyquery/pyquery.info | 8 ++++---- libraries/pyquery/slack-desc | 2 +- 4 files changed, 12 insertions(+), 14 deletions(-) diff --git a/libraries/pyquery/README b/libraries/pyquery/README index 6aa9eec643..cc2788340c 100644 --- a/libraries/pyquery/README +++ b/libraries/pyquery/README @@ -1,12 +1,12 @@ -pyquery (A jquery-like library for python) +pyquery (a jquery-like library for python) -pyquery allows you to make jquery queries on xml documents. The API -is as much as possible the similar to jquery. pyquery uses lxml for -fast xml and html manipulation. +pyquery allows you to make jquery queries on xml documents. The API is +as much as possible the similar to jquery. pyquery uses lxml for fast +xml and html manipulation. It can be used for many purposes, one idea that I might try in the future is to use it for templating with pure http templates that you modify using pyquery. I can also be used for web scrapping or for theming applications. -This requires lxml. +Requires lxml. diff --git a/libraries/pyquery/pyquery.SlackBuild b/libraries/pyquery/pyquery.SlackBuild index 146262ed83..5284aaedcf 100644 --- a/libraries/pyquery/pyquery.SlackBuild +++ b/libraries/pyquery/pyquery.SlackBuild @@ -4,16 +4,14 @@ # Written by Šime Ramov PRGNAM=pyquery -VERSION=${VERSION:-0.5} +VERSION=${VERSION:-0.6.1} 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 @@ -42,7 +40,7 @@ python setup.py build python setup.py install --root=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a pyquery/README.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.txt CHANGES.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/pyquery/pyquery.info b/libraries/pyquery/pyquery.info index 67a4ec38d9..366e28f508 100644 --- a/libraries/pyquery/pyquery.info +++ b/libraries/pyquery/pyquery.info @@ -1,10 +1,10 @@ PRGNAM="pyquery" -VERSION="0.5" +VERSION="0.6.1" HOMEPAGE="http://www.bitbucket.org/olauzanne/pyquery/" -DOWNLOAD="http://pypi.python.org/packages/source/p/pyquery/pyquery-0.5.tar.gz" -MD5SUM="9f3c6145fd4ebf4a74d328804142dc5e" +DOWNLOAD="http://pypi.python.org/packages/source/p/pyquery/pyquery-0.6.1.tar.gz" +MD5SUM="2a677d7c52b1aa89f5aaa70427e36b70" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Šime Ramov" EMAIL="s@ramov.com" -APPROVED="dsomero" +APPROVED="Erik Hanson" diff --git a/libraries/pyquery/slack-desc b/libraries/pyquery/slack-desc index 19cf76c3db..e5905e9902 100644 --- a/libraries/pyquery/slack-desc +++ b/libraries/pyquery/slack-desc @@ -6,7 +6,7 @@ # customary to leave one space after the ':'. |-----handy-ruler------------------------------------------------------| -pyquery: pyquery (A jquery-like library for python) +pyquery: pyquery (a jquery-like library for python) pyquery: pyquery: pyquery allows you to make jquery queries on xml documents. The API pyquery: is as much as possible the similar to jquery. pyquery uses lxml for -- cgit v1.2.3