Search
SailfishOS Open Build Service
>
Projects
>
home:DarthMax
>
python-tzlocal
> python-tzlocal.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File python-tzlocal.spec of Package python-tzlocal
# # spec file for package python3-tzlocal # %{?!py3_ver: %global py3_ver 3.4} %{?!python3_sitearch: %global python3_sitearch /usr/lib/python%{py3_ver}/site-packages/} %{?!python3_sitelib: %global python3_sitelib /usr/lib/python%{py3_ver}/site-packages/} Name: python-tzlocal Version: 1.5.1 Release: 18 Url: https://github.com/regebro/tzlocal Summary: This Python module returns a tzinfo object with the local timezone information. License: MIT Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/t/tzlocal/tzlocal-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python3-base BuildRequires: python3-devel BuildArch: noarch %description This Python module returns a tzinfo object with the local timezone information under Unix and Win-32. It requires py %prep %setup -q -n tzlocal-%{version} %build python3 setup.py build %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} %files -n python-tzlocal %defattr(-,root,root) %{python3_sitelib}/*