forked from pool/python-certstream
Accepting request 554967 from home:sebix
can also maintain it now with patched-in license as requested OBS-URL: https://build.opensuse.org/request/show/554967 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-certstream?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
24
add-license.patch
Normal file
24
add-license.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
--- - 2017-12-07 11:28:01.643656998 +0100
|
||||
+++ certstream-1.8/LICENSE 2017-12-07 11:27:54.334676024 +0100
|
||||
@@ -0,0 +1,21 @@
|
||||
+MIT License
|
||||
+
|
||||
+Copyright (c) 2017 Cali Dog Security
|
||||
+
|
||||
+Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
+of this software and associated documentation files (the "Software"), to deal
|
||||
+in the Software without restriction, including without limitation the rights
|
||||
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
+copies of the Software, and to permit persons to whom the Software is
|
||||
+furnished to do so, subject to the following conditions:
|
||||
+
|
||||
+The above copyright notice and this permission notice shall be included in all
|
||||
+copies or substantial portions of the Software.
|
||||
+
|
||||
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
+SOFTWARE.
|
||||
3
certstream-1.8.tar.gz
Normal file
3
certstream-1.8.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:19c7ad39640956591e977ffbe99025ee8255a2ffe84ffcfa41d3cbdf8cfb4d3c
|
||||
size 8626
|
||||
9
python-certstream.changes
Normal file
9
python-certstream.changes
Normal file
@@ -0,0 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 7 10:29:18 UTC 2017 - sebix+novell.com@sebix.at
|
||||
|
||||
- add add-license.patch to add LICENSE file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 2 19:41:39 UTC 2017 - sebix+novell.com@sebix.at
|
||||
|
||||
- initial package for version 1.8
|
||||
75
python-certstream.spec
Normal file
75
python-certstream.spec
Normal file
@@ -0,0 +1,75 @@
|
||||
#
|
||||
# spec file for package python-certstream
|
||||
#
|
||||
# Copyright (c) 2017 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 http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{!?license: %global license %doc}
|
||||
%bcond_without tests
|
||||
Name: python-certstream
|
||||
Version: 1.8
|
||||
Release: 0
|
||||
Summary: CertStream is a library for receiving certificate transparency list updates
|
||||
License: MIT
|
||||
Group: Development/Libraries/Python
|
||||
Url: https://github.com/CaliDog/certstream-python/
|
||||
Source0: https://pypi.io/packages/source/c/certstream/certstream-%{version}.tar.gz
|
||||
# PATCH-FIX-OPENSUSE add-license.patch
|
||||
Patch0: add-license.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools >= 18.0.1}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
#SECTION tests
|
||||
%if %{with tests}
|
||||
BuildRequires: %{python_module termcolor}
|
||||
BuildRequires: %{python_module websocket-client}
|
||||
%endif
|
||||
# /SECTION
|
||||
Requires: python3-websocket-client
|
||||
Requires: python3-termcolor
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Certstream is a library to connect to the certstream network (certstream.calidog.io).
|
||||
|
||||
It supports automatic reconnection when networks issues occur, and should be stable for long-running jobs.
|
||||
|
||||
%prep
|
||||
%setup -q -n certstream-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%{python_build}
|
||||
|
||||
%install
|
||||
%{python_install}
|
||||
%{python_expand %fdupes -s %{buildroot}%{$python_sitelib}}
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/certstream/
|
||||
%{python_sitelib}/certstream-%{version}-py*.egg-info
|
||||
%python3_only %{_bindir}/certstream
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user