git: 3661d900d7aa - main - devel/py-tzdata: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 28 Feb 2022 12:03:24 UTC
The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=3661d900d7aaf873db6c689400cf13010966cfe4 commit 3661d900d7aaf873db6c689400cf13010966cfe4 Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2022-02-28 11:40:21 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2022-02-28 11:40:21 +0000 devel/py-tzdata: New port This is a Python package containing zic-compiled binaries for the IANA time zone database. It is intended to be a fallback for systems that do not have system time zone data installed (or don’t have it installed in a standard location), as a part of PEP 615. WWW: https://github.com/python/tzdata --- devel/Makefile | 1 + devel/py-tzdata/Makefile | 21 +++++++++++++++++++++ devel/py-tzdata/distinfo | 3 +++ devel/py-tzdata/files/setup.py | 3 +++ devel/py-tzdata/pkg-descr | 6 ++++++ 5 files changed, 34 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 5d4f33bee534..a7cde7f8e11b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5352,6 +5352,7 @@ SUBDIR += py-types-xxhash SUBDIR += py-typing-extensions SUBDIR += py-typing-inspect + SUBDIR += py-tzdata SUBDIR += py-tzlocal SUBDIR += py-u-msgpack-python SUBDIR += py-ua_parser diff --git a/devel/py-tzdata/Makefile b/devel/py-tzdata/Makefile new file mode 100644 index 000000000000..9467e8a91eb3 --- /dev/null +++ b/devel/py-tzdata/Makefile @@ -0,0 +1,21 @@ +PORTNAME= tzdata +DISTVERSION= 2021.5 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= kai@FreeBSD.org +COMMENT= Provider of IANA time zone data + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +post-extract: + @${CP} ${FILESDIR}/setup.py ${WRKSRC}/ + +.include <bsd.port.mk> diff --git a/devel/py-tzdata/distinfo b/devel/py-tzdata/distinfo new file mode 100644 index 000000000000..cd201da1804d --- /dev/null +++ b/devel/py-tzdata/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1645890254 +SHA256 (tzdata-2021.5.tar.gz) = 68dbe41afd01b867894bbdfd54fa03f468cfa4f0086bfb4adcd8de8f24f3ee21 +SIZE (tzdata-2021.5.tar.gz) = 184386 diff --git a/devel/py-tzdata/files/setup.py b/devel/py-tzdata/files/setup.py new file mode 100644 index 000000000000..606849326a40 --- /dev/null +++ b/devel/py-tzdata/files/setup.py @@ -0,0 +1,3 @@ +from setuptools import setup + +setup() diff --git a/devel/py-tzdata/pkg-descr b/devel/py-tzdata/pkg-descr new file mode 100644 index 000000000000..da247eb3ee3d --- /dev/null +++ b/devel/py-tzdata/pkg-descr @@ -0,0 +1,6 @@ +This is a Python package containing zic-compiled binaries for the IANA time +zone database. It is intended to be a fallback for systems that do not have +system time zone data installed (or don’t have it installed in a standard +location), as a part of PEP 615. + +WWW: https://github.com/python/tzdata