wok rev 25231

updated python-pytz (2019.3 -> 2021.3)
author Hans-G?nter Theisgen
date Wed Jul 13 17:07:13 2022 +0100 (22 months ago)
parents fe96e9130c3b
children 7c6901d3cd44
files python-pytz/description.txt python-pytz/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-pytz/description.txt	Wed Jul 13 17:07:13 2022 +0100
     1.3 @@ -0,0 +1,20 @@
     1.4 +Pytz brings the Olson tz database into Python.
     1.5 +This library allows accurate and cross platform timezone calculations using
     1.6 +Python 2.4 or higher.
     1.7 +It also solves the issue of ambiguous times at the end of daylight saving time,
     1.8 +which you can read more about in the Python Library Reference (datetime.tzinfo).
     1.9 +
    1.10 +Almost all of the Olson timezones are supported.
    1.11 +
    1.12 +Note
    1.13 +
    1.14 +This library differs from the documented Python API for tzinfo implementations;
    1.15 +if you want to create local wallclock times you need to use the localize()
    1.16 +method documented in this document.
    1.17 +In addition, if you perform date arithmetic on local times that cross DST
    1.18 +boundaries, the result may be in an incorrect timezone (ie. subtract 1 minute
    1.19 +from 2002-10-27 1:00 EST and you get 2002-10-27 0:59 EST instead of the
    1.20 +correct 2002-10-27 1:59 EDT).
    1.21 +A normalize() method is provided to correct this.
    1.22 +Unfortunately these issues cannot be resolved without modifying the Python
    1.23 +datetime implementation (see PEP-431).
     2.1 --- a/python-pytz/receipt	Wed Jul 13 17:03:18 2022 +0100
     2.2 +++ b/python-pytz/receipt	Wed Jul 13 17:07:13 2022 +0100
     2.3 @@ -1,14 +1,15 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="python-pytz"
     2.7 -SOURCE="pytz"
     2.8 -VERSION="2019.3"
     2.9 +VERSION="2021.3"
    2.10  CATEGORY="development"
    2.11  SHORT_DESC="World Timezone Definitions for Python."
    2.12  MAINTAINER="pascal.bellard@slitaz.org"
    2.13  LICENSE="MIT"
    2.14  WEB_SITE="https://pypi.org/project/pytz/"
    2.15 +REPOLOGY="python:pytz"
    2.16  
    2.17 +SOURCE="pytz"
    2.18  TARBALL="$SOURCE-$VERSION.tar.gz"
    2.19  WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
    2.20  
    2.21 @@ -31,7 +32,6 @@
    2.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.23  genpkg_rules()
    2.24  {
    2.25 -	mkdir -p $fs
    2.26  	cp -a $install/usr	$fs
    2.27  }
    2.28