14
0

- Initial commit, needed by flex

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-strict-rfc3339?expand=0&rev=1
This commit is contained in:
Tomáš Chvátal
2019-03-14 12:38:52 +00:00
committed by Git OBS Bridge
commit efb80cb8b8
5 changed files with 92 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Thu Mar 14 12:31:33 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Initial commit, needed by flex

View File

@@ -0,0 +1,61 @@
#
# spec file for package python-strict-rfc3339
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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-%{**}}
Name: python-strict-rfc3339
Version: 0.7
Release: 0
Summary: Strict, simple, lightweight RFC3339 functions
License: GPL-3.0-only
Group: Development/Languages/Python
Url: http://www.danielrichman.co.uk/libraries/strict-rfc3339.html
Source: https://files.pythonhosted.org/packages/source/s/strict-rfc3339/strict-rfc3339-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
Strict, simple, lightweight RFC3339 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.
- Simple with minimal dependencies/libraries.
- Avoid timezones as much as possible.
- Be very strict and follow RFC3339.
%prep
%setup -q -n strict-rfc3339-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# there are no tests anywhere
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/*
%changelog

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5cad17bedfc3af57b399db0fed32771f18fc54bbd917e85546088607ac5e1277
size 17552