# HG changeset patch # User Hans-G?nter Theisgen # Date 1657728433 -3600 # Node ID b728d1374f690962631ba1bd2689de8d3aca1a8b # Parent fe96e9130c3b0d55a8d72f94f7a70315f1ce6ae9 updated python-pytz (2019.3 -> 2021.3) diff -r fe96e9130c3b -r b728d1374f69 python-pytz/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pytz/description.txt Wed Jul 13 17:07:13 2022 +0100 @@ -0,0 +1,20 @@ +Pytz brings the Olson tz database into Python. +This library allows accurate and cross platform timezone calculations using +Python 2.4 or higher. +It also solves the issue of ambiguous times at the end of daylight saving time, +which you can read more about in the Python Library Reference (datetime.tzinfo). + +Almost all of the Olson timezones are supported. + +Note + +This library differs from the documented Python API for tzinfo implementations; +if you want to create local wallclock times you need to use the localize() +method documented in this document. +In addition, if you perform date arithmetic on local times that cross DST +boundaries, the result may be in an incorrect timezone (ie. subtract 1 minute +from 2002-10-27 1:00 EST and you get 2002-10-27 0:59 EST instead of the +correct 2002-10-27 1:59 EDT). +A normalize() method is provided to correct this. +Unfortunately these issues cannot be resolved without modifying the Python +datetime implementation (see PEP-431). diff -r fe96e9130c3b -r b728d1374f69 python-pytz/receipt --- a/python-pytz/receipt Wed Jul 13 17:03:18 2022 +0100 +++ b/python-pytz/receipt Wed Jul 13 17:07:13 2022 +0100 @@ -1,14 +1,15 @@ # SliTaz package receipt. PACKAGE="python-pytz" -SOURCE="pytz" -VERSION="2019.3" +VERSION="2021.3" CATEGORY="development" SHORT_DESC="World Timezone Definitions for Python." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" WEB_SITE="https://pypi.org/project/pytz/" +REPOLOGY="python:pytz" +SOURCE="pytz" TARBALL="$SOURCE-$VERSION.tar.gz" WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" @@ -31,7 +32,6 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs cp -a $install/usr $fs }