summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-09-16 10:16:31 +0000
committerCoprDistGit <infra@openeuler.org>2025-09-16 10:16:31 +0000
commit89a52132260d23a412cd73289d9eb04f968cd339 (patch)
treeab38172715e0b88157085ec6799be9491ecbb6ba
parent8a3a9e718959ea2f246bd722f5f7eff16809dadd (diff)
automatic import of python-tzdata
-rw-r--r--.gitignore1
-rw-r--r--python-tzdata.spec41
-rw-r--r--sources1
3 files changed, 43 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..7f8c85b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/tzdata-2024.1.tar.gz
diff --git a/python-tzdata.spec b/python-tzdata.spec
new file mode 100644
index 0000000..79191bc
--- /dev/null
+++ b/python-tzdata.spec
@@ -0,0 +1,41 @@
+%global pypi_name tzdata
+
+Name: python-tzdata
+Version: 2024.1
+Release: 1
+License: MIT
+Summary: Provider of IANA time zone data
+URL: https://github.com/python/tzdata
+Source0: %{pypi_source}
+BuildArch: noarch
+
+BuildRequires: python3-devel
+BuildRequires: python3-pip python3-wheel
+
+%description
+Python package providing IANA time zone data.
+
+%package -n python3-%{pypi_name}
+Summary: %{summary}
+
+%description -n python3-%{pypi_name}
+Provider of IANA time zone data.
+
+%prep
+%autosetup -n %{pypi_name}-%{version}
+
+%build
+%pyproject_build
+
+%install
+%pyproject_install
+
+%files -n python3-%{pypi_name}
+%license LICENSE
+%doc README.rst
+%{python3_sitelib}/*
+
+
+%changelog
+* Mon Feb 19 2024 wangkai <13474090681@163.com> - 2024.1-1
+- Package init
diff --git a/sources b/sources
new file mode 100644
index 0000000..b83d71c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+6ffd87c74f67524f8e58ae32868c1a95 tzdata-2024.1.tar.gz