commit c2ccf99cd84f59e79a8c13d701c18c3212840999f6febcdc9e7760a42fba4245 Author: Matej Cepl Date: Tue Jun 26 16:05:30 2018 +0000 Remove _link OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.stream?expand=0&rev=3 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/jaraco.stream-1.2.tar.gz b/jaraco.stream-1.2.tar.gz new file mode 100644 index 0000000..83a53dc --- /dev/null +++ b/jaraco.stream-1.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b56514708224864d93b8a6e916c02ae7ae4ce822f05946704719bb294971a1b +size 7696 diff --git a/python-jaraco.stream.changes b/python-jaraco.stream.changes new file mode 100644 index 0000000..449acc3 --- /dev/null +++ b/python-jaraco.stream.changes @@ -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. diff --git a/python-jaraco.stream.spec b/python-jaraco.stream.spec new file mode 100644 index 0000000..a925e34 --- /dev/null +++ b/python-jaraco.stream.spec @@ -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