From ad077fdd4d9c8adbc3362a56575cf446878fcace73716419d312bb8498e9847b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 21 Mar 2019 11:11:19 +0000 Subject: [PATCH] Accepting request 687277 from home:jayvdb:coala:test-rig - Remove unnecessary build dependency on python-devel OBS-URL: https://build.opensuse.org/request/show/687277 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-glob2?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++ .gitignore | 1 + glob2-0.6.tar.gz | 3 +++ python-glob2.changes | 46 +++++++++++++++++++++++++++++++ python-glob2.spec | 64 ++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 137 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 glob2-0.6.tar.gz create mode 100644 python-glob2.changes create mode 100644 python-glob2.spec 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/glob2-0.6.tar.gz b/glob2-0.6.tar.gz new file mode 100644 index 0000000..e79b487 --- /dev/null +++ b/glob2-0.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f5b0a686ff21f820c4d3f0c4edd216704cea59d79d00fa337e244a2f2ff83ed6 +size 10717 diff --git a/python-glob2.changes b/python-glob2.changes new file mode 100644 index 0000000..123c27a --- /dev/null +++ b/python-glob2.changes @@ -0,0 +1,46 @@ +------------------------------------------------------------------- +Thu Mar 21 10:53:50 UTC 2019 - John Vandenberg + +- Remove unnecessary build dependency on python-devel + +------------------------------------------------------------------- +Tue May 22 13:41:28 UTC 2018 - bruno@ioda-net.ch + +- spec-cleaner (date/url) +- Use only %license + +------------------------------------------------------------------- +Wed Oct 4 15:54:13 UTC 2017 - bruno@ioda-net.ch + +- Backport to singlespec +- spec-cleanup (Mostly Year) +- Remove Source1 (LICENSE) is now included in tar.gz +- Update to bugfix version 0.6 + - Support dummy recursive parameter in APIs to match the new + call signature of Python 3. + - Fix lru_cache (Kostis Anagnostopoulos). + - Introduce norm_paths and case_sensitive options to optionally + change the behaviour (Kostis Anagnostopoulos). + + 0.5 (2016-11-04) + - include_hidden option. + - Python 3 fixes. + - Publish a wheel. + +------------------------------------------------------------------- +Mon Jun 13 16:01:26 UTC 2016 - toddrme2178@gmail.com + +- Don't check unit test coverage. + +------------------------------------------------------------------- +Sun May 8 07:17:33 UTC 2016 - arun@gmx.de + +- specfile: + * updated source url to files.pythonhosted.org + +------------------------------------------------------------------- +Sun Mar 13 10:38:20 UTC 2016 - bruno@ioda-net.ch + +- Create python3 packaging +- Added missing LICENSE file in tar.gz from github + Upstream gh/issue/11 + diff --git a/python-glob2.spec b/python-glob2.spec new file mode 100644 index 0000000..c78af04 --- /dev/null +++ b/python-glob2.spec @@ -0,0 +1,64 @@ +# +# spec file for package python-glob2 +# +# 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 http://bugs.opensuse.org/ + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-glob2 +Version: 0.6 +Release: 0 +Summary: Glob module recursive wildcards support +License: BSD-2-Clause +Group: Development/Languages/Python +URL: https://pypi.python.org/pypi/glob2 +Source: https://files.pythonhosted.org/packages/source/g/glob2/glob2-%{version}.tar.gz +BuildRequires: %{python_module nose} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch + +%python_subpackages + +%description +This module provides an extended version of Python's builtin glob +module with the following additions: + +- The ability to capture the text matched by glob patterns, and + return those matches alongside the filenames. +- A recursive '**' globbing syntax, akin for example to the globstar + option of the bash shell. +- The ability to replace the filesystem functions used, in order to + glob on virtual filesystems. + +%prep +%setup -q -n glob2-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%python_exec setup.py nosetests + +%files %{python_files} +%license LICENSE +%doc README.rst CHANGES +%{python_sitelib}/* + +%changelog