Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:branches:openSUSE:Factory:Rings:1-MinimalX
python-strict-rfc3339
python-strict-rfc3339.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-strict-rfc3339.spec of Package python-strict-rfc3339
# # spec file for package python-strict-rfc3339 # # Copyright (c) 2023 SUSE LLC # # 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/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons} Name: python-strict-rfc3339 Version: 0.7 Release: 0 Summary: RFC 3339 functions License: GPL-3.0-only Group: Development/Languages/Python URL: https://github.com/danielrichman/strict-rfc3339/ Source: https://github.com/danielrichman/strict-rfc3339/archive/version-%{version}.tar.gz#/strict-rfc3339-%{version}.tar.gz BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: timezone Requires: timezone BuildArch: noarch %python_subpackages %description RFC 3339 functions. - Convert unix timestamps to and from RFC3339. - Either produce RFC3339 strings with a UTC offset (Z) or with the offset that the C time module reports is the local timezone offset. - Avoid timezones as much as possible. - Be very strict and follow RFC3339. %prep %setup -q -n strict-rfc3339-version-%{version} %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check export LANG=en_US.UTF-8 # two 32bit failures https://github.com/danielrichman/strict-rfc3339/issues/10 %pytest -k 'not test_leap_year and not test_y2038' %files %{python_files} %doc README.md %license LICENSE %{python_sitelib}/* %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