#Packager: George Vlahavas pkgname=python-mechanize pkgver=0.2.5 pkgrel=2gv source=("http://pypi.python.org/packages/source/m/mechanize/mechanize-0.2.5.tar.gz") docs=("install.txt" "readme.txt" "copying.txt" "faq.txt") url=http://pypi.python.org/pypi/mechanize slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "python-mechanize (Stateful programmatic web browsing)" "Stateful programmatic web browsing, after Andy Lester's Perl module" "WWW::Mechanize. mechanize.Browser implements the" "urllib2.OpenerDirector interface. Browser objects have state," "including navigation history, HTML form state, cookies, etc. The set" "of features and URL schemes handled by Browser objects is" "configurable. The library also provides an API that is mostly" "compatible with urllib2: your urllib2 program will likely still work" "if you replace 'urllib2' with 'mechanize' everywhere." ) build() { cd $startdir/src/mechanize-$pkgver python setup.py install --prefix=/usr --root=$startdir/pkg }