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
This commit is contained in:
Tomáš Chvátal 2019-03-21 11:11:19 +00:00 committed by Git OBS Bridge
commit ad077fdd4d
5 changed files with 137 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

3
glob2-0.6.tar.gz Normal file
View File

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

46
python-glob2.changes Normal file
View File

@ -0,0 +1,46 @@
-------------------------------------------------------------------
Thu Mar 21 10:53:50 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- 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

64
python-glob2.spec Normal file
View File

@ -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