forked from pool/python-jaraco.stream
Remove _link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.stream?expand=0&rev=3
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
|
||||
3
jaraco.stream-1.2.tar.gz
Normal file
3
jaraco.stream-1.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2b56514708224864d93b8a6e916c02ae7ae4ce822f05946704719bb294971a1b
|
||||
size 7696
|
||||
25
python-jaraco.stream.changes
Normal file
25
python-jaraco.stream.changes
Normal file
@@ -0,0 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 26 16:00:50 UTC 2018 - mcepl@suse.com
|
||||
|
||||
- Upgrade to 1.2:
|
||||
Added ``jaraco.stream.Tee`` from jaraco.util 11
|
||||
- Clean up SPEC to full singlespec.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 13 18:26:17 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Properly handle namespace package structure.
|
||||
This guarantees the module is importable.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 4 19:09:38 UTC 2017 - aloisio@gmx.com
|
||||
|
||||
- Update to version 1.1.2
|
||||
* Refresh packaging.
|
||||
- Create -doc package
|
||||
- Converted to single-spec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 30 18:24:12 UTC 2016 - sor.alexei@meowr.ru
|
||||
|
||||
- Initial package.
|
||||
98
python-jaraco.stream.spec
Normal file
98
python-jaraco.stream.spec
Normal file
@@ -0,0 +1,98 @@
|
||||
#
|
||||
# spec file for package python-jaraco.stream
|
||||
#
|
||||
# Copyright (c) 2018 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/
|
||||
#
|
||||
|
||||
|
||||
%define _name jaraco.stream
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without test
|
||||
Name: python-jaraco.stream
|
||||
Version: 1.2
|
||||
Release: 0
|
||||
Summary: Routines for dealing with data streams
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/jaraco/jaraco.stream
|
||||
Source: https://files.pythonhosted.org/packages/source/j/%{_name}/%{_name}-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base}
|
||||
BuildRequires: %{python_module jaraco.base}
|
||||
BuildRequires: %{python_module jaraco.packaging}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
# SECTION documentation requirements
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
BuildRequires: %{python_module pylons-sphinx-themes}
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module more-itertools}
|
||||
BuildRequires: %{python_module pytest-flake8}
|
||||
BuildRequires: %{python_module pytest-runner}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module rst.linker}
|
||||
%endif
|
||||
Requires: python-jaraco.base
|
||||
Requires: python-more-itertools
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Routines for handling streaming data, including a set of generators
|
||||
for loading gzip data on the fly.
|
||||
|
||||
%package -n %{name}-doc
|
||||
Summary: Documentation files for %{name}
|
||||
Group: Development/Languages/Python
|
||||
Requires: %{name} = %{version}
|
||||
Provides: %{python_module jaraco.stream-doc = %{version}}
|
||||
|
||||
%description -n %{name}-doc
|
||||
This package contains documentation files for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{_name}-%{version}
|
||||
rm -rf jaraco.stream.egg-info
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
|
||||
|
||||
%install
|
||||
%python_install
|
||||
# We aren't using the nspkg approach anymore
|
||||
%{python_expand rm -r %{buildroot}%{$python_sitelib}/jaraco.stream-%{version}-py*-nspkg.pth
|
||||
%fdupes %{buildroot}%{$python_sitelib}
|
||||
}
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
%{python_expand cp jaraco/stream/somefile.json.gz build/lib/jaraco/stream/
|
||||
py.test-%{$python_bin_suffix} build/lib/jaraco
|
||||
}
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root)
|
||||
%doc CHANGES.rst README.rst
|
||||
%{python_sitelib}/jaraco.stream-%{version}-py*.egg-info
|
||||
%{python_sitelib}/jaraco/stream/
|
||||
|
||||
%files -n %{name}-doc
|
||||
%defattr(-,root,root,-)
|
||||
%doc build/sphinx/html
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user