From 7460360b9a1854a27642f23d24dba7575469f7f2 Mon Sep 17 00:00:00 2001 From: Marcel Bargull Date: Tue, 6 Oct 2020 12:12:21 +0200 Subject: [PATCH] Add python-tzdata --- recipes/python-tzdata/meta.yaml | 42 +++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 recipes/python-tzdata/meta.yaml diff --git a/recipes/python-tzdata/meta.yaml b/recipes/python-tzdata/meta.yaml new file mode 100644 index 0000000000000..2aaf254b9d09b --- /dev/null +++ b/recipes/python-tzdata/meta.yaml @@ -0,0 +1,42 @@ +{% set version = "2020.1" %} + +package: + name: python-tzdata + version: {{ version }} + +source: + url: https://pypi.io/packages/source/t/tzdata/tzdata-{{ version }}.tar.gz + sha256: 5e0a01117b3dfc9be27ef727e8f39e355e29bbc788bcd8fe2110871df5f9a935 + +build: + number: 0 + noarch: python + script: "{{ PYTHON }} -m pip install . -vv" + +requirements: + host: + - python + - pip + run: + - python + +test: + imports: + - tzdata + +about: + home: https://github.com/python/tzdata + license: Apache-2.0 + license_file: LICENSE + summary: Provider of IANA time zone data + + description: | + 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. + +extra: + recipe-maintainers: + - ocefpaf + - pganssle + - mbargull