# HG changeset patch # User Hans-G?nter Theisgen # Date 1657718599 -3600 # Node ID 83ae4ccd6df502fbfb7732f21548c125607b1f9c # Parent 531652ba9a120bcf29d71034da020e3eab1b3591 updated python-mechanize (0.4.5 -> 0.4.7) diff -r 531652ba9a12 -r 83ae4ccd6df5 python-mechanize/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-mechanize/description.txt Wed Jul 13 14:23:19 2022 +0100 @@ -0,0 +1,17 @@ +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. + +Features include: ftp:, http: and file: URL schemes, browser history, hyperlink and +HTML form support, HTTP cookies, HTTP-EQUIV and Refresh, Referer [sic] header, +robots.txt, redirections, proxies, and Basic and Digest HTTP authentication. + +Much of the code originally derived from Perl code by Gisle Aas (libwww-perl), +Johnny Lee (MSIE Cookie support) and last but not least Andy Lester (WWW::Mechanize). +Urllib2 was written by Jeremy Hylton. diff -r 531652ba9a12 -r 83ae4ccd6df5 python-mechanize/receipt --- a/python-mechanize/receipt Wed Jul 13 14:16:46 2022 +0100 +++ b/python-mechanize/receipt Wed Jul 13 14:23:19 2022 +0100 @@ -1,16 +1,17 @@ # SliTaz package receipt. PACKAGE="python-mechanize" -VERSION="0.4.5" +VERSION="0.4.7" CATEGORY="network" SHORT_DESC="Stateful programmatic web browsing in Python." MAINTAINER="pankso@slitaz.org" LICENSE="BSD" WEB_SITE="https://pypi.org/project/mechanize/" +REPOLOGY="python:mechanize" SOURCE="mechanize" -TARBALL="${SOURCE}-${VERSION}.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/m/$SOURCE/$TARBALL" +TARBALL="$SOURCE-$VERSION.tar.gz" +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" DEPENDS="python" BUILD_DEPENDS="python python-dev python-distribute python-setuptools" @@ -32,6 +33,5 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr + cook_copy_folders lib }