Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:PowerPC:Rings:1-MinimalX
python-pytzdata
python-pytzdata.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-pytzdata.spec of Package python-pytzdata
# # spec file for package python-pytzdata # # Copyright (c) 2023 SUSE LLC # Copyright (c) 2020 Dr. Axel Braun # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?sle15_python_module_pythons} Name: python-pytzdata Version: 2020.1 Release: 0 Summary: The pytzdata module for Python-pendulum License: MIT URL: https://github.com/sdispater/pytzdata Source: https://github.com/sdispater/pytzdata/archive/refs/tags/%{version}.tar.gz#/pytzdata-%{version}-gh.tar.gz BuildRequires: %{python_module pip} BuildRequires: %{python_module poetry-core} BuildRequires: %{python_module pytest} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: timezone Requires: timezone BuildArch: noarch %python_subpackages %description The Olson timezone database for Python. This version is linked to the systemwide zone info %prep %setup -q -n pytzdata-%{version} sed -i 's/poetry.masonry/poetry.core.masonry/' pyproject.toml %build %pyproject_wheel %install %pyproject_install # delete internal database %{python_expand rm -r %{buildroot}%{$python_sitelib}/pytzdata/zoneinfo ln -s /usr/share/zoneinfo %{buildroot}%{$python_sitelib}/pytzdata/zoneinfo %fdupes %{buildroot}%{$python_sitelib} } %check %pytest %files %{python_files} %doc README.rst %license LICENSE %{python_sitelib}/pytzdata %{python_sitelib}/pytzdata-%{version}.dist-info %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor