mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
Recipe cosmetics.
Improved SUMMARY/DESCRIPTIONs. Re-ordered blocks.
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
SUMMARY="Stateful programmatic web browsing in Python"
|
||||
DESCRIPTION="
|
||||
Stateful programmatic web browsing in Python, after Andy Lester’s \
|
||||
Perl module WWW::Mechanize.
|
||||
DESCRIPTION="Stateful programmatic web browsing in Python, after Andy \
|
||||
Lester’s Perl module WWW::Mechanize.
|
||||
|
||||
- mechanize.Browser and mechanize.UserAgentBase implement \
|
||||
the interface of urllib2.OpenerDirector, so:
|
||||
- any URL can be opened, not just http:
|
||||
- mechanize.UserAgentBase offers easy dynamic configuration \
|
||||
the interface of urllib2.OpenerDirector, so any URL can be opened, not \
|
||||
just http.
|
||||
- mechanize.UserAgentBase offers easy dynamic configuration \
|
||||
of user-agent features like protocol, cookie, redirection and \
|
||||
robots.txt handling, without having to make a new OpenerDirector \
|
||||
each time, e.g. by calling build_opener().
|
||||
@@ -15,32 +14,25 @@ each time, e.g. by calling build_opener().
|
||||
- Browser history (.back() and .reload() methods).
|
||||
- The Referer HTTP header is added properly (optional).
|
||||
- Automatic observance of robots.txt.
|
||||
- Automatic handling of HTTP-Equiv and Refresh.
|
||||
"
|
||||
HOMEPAGE="
|
||||
http://wwwsearch.sourceforge.net/mechanize/
|
||||
http://pypi.python.org/pypi/mechanize
|
||||
"
|
||||
SOURCE_URI="http://pypi.python.org/packages/source/m/mechanize/mechanize-0.2.5.tar.gz"
|
||||
CHECKSUM_SHA256="2e67b20d107b30c00ad814891a095048c35d9d8cb9541801cebe85684cc84766"
|
||||
#gentoo says: LICENSE="|| ( BSD ZPL )"
|
||||
LICENSE="BSD (3-clause)"
|
||||
COPYRIGHT="
|
||||
2002-2010 John J. Lee
|
||||
- Automatic handling of HTTP-Equiv and Refresh."
|
||||
HOMEPAGE="http://wwwsearch.sourceforge.net/mechanize/
|
||||
http://pypi.python.org/pypi/mechanize"
|
||||
COPYRIGHT="2002-2010 John J. Lee
|
||||
1997-1999 Gisle Aas
|
||||
1997-1999 Johnny Lee
|
||||
2003 Andy Lester
|
||||
"
|
||||
2003 Andy Lester"
|
||||
#gentoo says: LICENSE="|| ( BSD ZPL )"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://pypi.python.org/packages/source/m/mechanize/mechanize-0.2.5.tar.gz"
|
||||
CHECKSUM_SHA256="2e67b20d107b30c00ad814891a095048c35d9d8cb9541801cebe85684cc84766"
|
||||
SOURCE_DIR="mechanize-$portVersion"
|
||||
|
||||
ARCHITECTURES="x86 x86_gcc2 x86_64"
|
||||
|
||||
SOURCE_DIR="mechanize-$portVersion"
|
||||
|
||||
PROVIDES="
|
||||
python_mechanize = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
cmd:python
|
||||
@@ -51,7 +43,6 @@ BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
python_setuptools
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:python
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
|
||||
Reference in New Issue
Block a user