Update to latest upstream version

epel8
Adrien Vergé 5 years ago
parent 2e5406ca13
commit 31495b8a00

1
.gitignore vendored

@ -0,0 +1 @@
/pathspec-0.6.0.tar.gz

@ -0,0 +1,82 @@
Name: python-pathspec
Version: 0.6.0
Release: 1%{?dist}
Summary: Utility library for gitignore style pattern matching of file paths
License: MPL 2.0
URL: https://github.com/cpburnz/python-path-specification
Source0: https://files.pythonhosted.org/packages/source/p/pathspec/pathspec-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: python-setuptools
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
%description
Path Specification (pathspec) is a utility library for pattern matching of file
paths. So far this only includes Git's wildmatch pattern matching which itself
is derived from Rsync's wildmatch. Git uses wildmatch for its gitignore files.
%package -n python2-pathspec
Summary: %{summary}
%{?python_provide:%python_provide python2-pathspec}
%description -n python2-pathspec
Path Specification (pathspec) is a utility library for pattern matching of file
paths. So far this only includes Git's wildmatch pattern matching which itself
is derived from Rsync's wildmatch. Git uses wildmatch for its gitignore files.
%package -n python%{python3_pkgversion}-pathspec
Summary: %{summary}
%{?python_provide:%python_provide python%{python3_pkgversion}-pathspec}
%description -n python%{python3_pkgversion}-pathspec
Path Specification (pathspec) is a utility library for pattern matching of file
paths. So far this only includes Git's wildmatch pattern matching which itself
is derived from Rsync's wildmatch. Git uses wildmatch for its gitignore files.
%prep
%autosetup -n pathspec-%{version}
# Remove bundled egg-info
rm -rf pathspec.egg-info
%build
%py2_build
%py3_build
%install
%py2_install
%py3_install
%check
%{__python2} setup.py test
%{__python3} setup.py test
%files -n python2-pathspec
%doc README.rst
%license LICENSE
%{python2_sitelib}/pathspec
%{python2_sitelib}/pathspec-%{version}-py?.?.egg-info
%files -n python%{python3_pkgversion}-pathspec
%doc README.rst
%license LICENSE
%{python3_sitelib}/pathspec
%{python3_sitelib}/pathspec-%{version}-py?.?.egg-info
%changelog
* Tue Oct 15 2019 Adrien Vergé <adrienverge@gmail.com> - 0.6.0-1
- Update to latest upstream version
* Fri Mar 08 2019 Troy Dawson <tdawson@redhat.com> - 0.5.3-2
- Rebuilt to change main python from 3.4 to 3.6
* Fri Jul 7 2017 Adrien Vergé <adrienverge@gmail.com> - 0.5.3-1
- Update to latest upstream version
- Include LICENSE file now that upstream packages it
* Wed Jun 28 2017 Adrien Vergé <adrienverge@gmail.com> - 0.5.2-1
- Initial package.

@ -0,0 +1 @@
SHA512 (pathspec-0.6.0.tar.gz) = e08baa05a3fe58ec6ecd651577834115cdeef26b75eef274d843c3c6444cf771e86f99a2a2b2980a6d1ece946997f1ebe714f79ddd5c296071c2e18b73955a84
Loading…
Cancel
Save