wok-current rev 25203

updated python-mechanize (0.4.5 -> 0.4.7)
author Hans-G?nter Theisgen
date Wed Jul 13 14:23:19 2022 +0100 (2022-07-13)
parents 531652ba9a12
children d71511614097
files python-mechanize/description.txt python-mechanize/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-mechanize/description.txt	Wed Jul 13 14:23:19 2022 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +Stateful programmatic web browsing, after Andy Lester's Perl module WWW::Mechanize.
     1.5 +
     1.6 +Mechanize.Browser implements the urllib2.OpenerDirector interface.
     1.7 +Browser objects have state, including navigation history, HTML form state, cookies,
     1.8 +etc.
     1.9 +The set of features and URL schemes handled by Browser objects is configurable.
    1.10 +The library also provides an API that is mostly compatible with urllib2:
    1.11 +your urllib2 program will likely still work if you replace "urllib2" with "mechanize"
    1.12 +everywhere.
    1.13 +
    1.14 +Features include: ftp:, http: and file: URL schemes, browser history, hyperlink and
    1.15 +HTML form support, HTTP cookies, HTTP-EQUIV and Refresh, Referer [sic] header,
    1.16 +robots.txt, redirections, proxies, and Basic and Digest HTTP authentication.
    1.17 +
    1.18 +Much of the code originally derived from Perl code by Gisle Aas (libwww-perl),
    1.19 +Johnny Lee (MSIE Cookie support) and last but not least Andy Lester (WWW::Mechanize).
    1.20 +Urllib2 was written by Jeremy Hylton.
     2.1 --- a/python-mechanize/receipt	Wed Jul 13 14:16:46 2022 +0100
     2.2 +++ b/python-mechanize/receipt	Wed Jul 13 14:23:19 2022 +0100
     2.3 @@ -1,16 +1,17 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="python-mechanize"
     2.7 -VERSION="0.4.5"
     2.8 +VERSION="0.4.7"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="Stateful programmatic web browsing in Python."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12  LICENSE="BSD"
    2.13  WEB_SITE="https://pypi.org/project/mechanize/"
    2.14 +REPOLOGY="python:mechanize"
    2.15  
    2.16  SOURCE="mechanize"
    2.17 -TARBALL="${SOURCE}-${VERSION}.tar.gz"
    2.18 -WGET_URL="https://files.pythonhosted.org/packages/source/m/$SOURCE/$TARBALL"
    2.19 +TARBALL="$SOURCE-$VERSION.tar.gz"
    2.20 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
    2.21  
    2.22  DEPENDS="python"
    2.23  BUILD_DEPENDS="python python-dev python-distribute python-setuptools"
    2.24 @@ -32,6 +33,5 @@
    2.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.26  genpkg_rules()
    2.27  {
    2.28 -	mkdir -p $fs/usr
    2.29 -	cp -a $install/usr/lib	$fs/usr
    2.30 +	cook_copy_folders	lib
    2.31  }