forked from pool/python-requirements-parser
Accepting request 704223 from home:pgajdos
- version update to 0.2.0 * Support multiple hashing algorithms at the end of the URL (#24) * Preserve login info in requirement URI (#33) * Support subdirectory fragments (#32) * Support version control URLs with extras (#30) OBS-URL: https://build.opensuse.org/request/show/704223 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requirements-parser?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
cb39f9c924
commit
058865df24
@@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 20 10:35:59 UTC 2019 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- version update to 0.2.0
|
||||||
|
* Support multiple hashing algorithms at the end of the URL (#24)
|
||||||
|
* Preserve login info in requirement URI (#33)
|
||||||
|
* Support subdirectory fragments (#32)
|
||||||
|
* Support version control URLs with extras (#30)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 12 14:26:29 UTC 2015 - benoit.monin@gmx.fr
|
Tue May 12 14:26:29 UTC 2015 - benoit.monin@gmx.fr
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-requirements-parser
|
# spec file for package python-requirements-parser
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,47 +12,48 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-requirements-parser
|
Name: python-requirements-parser
|
||||||
Version: 0.1.0
|
Version: 0.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Parses Pip requirement files
|
Summary: Parses Pip requirement files
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/davidfischer/requirements-parser
|
Url: https://github.com/davidfischer/requirements-parser
|
||||||
Source: https://pypi.python.org/packages/source/r/requirements-parser/requirements-parser-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/r/requirements-parser/requirements-parser-%{version}.tar.gz
|
||||||
BuildRequires: python-devel
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-rpm-macros
|
||||||
# Test requirements:
|
# SECTION test requirements
|
||||||
BuildRequires: python-nose
|
BuildRequires: %{python_module nose}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
# /SECTION
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
BuildRequires: fdupes
|
||||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
||||||
%else
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is a small Python module for parsing Pip requirement files.
|
Parses Pip requirement files
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n requirements-parser-%{version}
|
%setup -q -n requirements-parser-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
python setup.py test
|
python setup.py test
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%doc AUTHORS.rst README.rst
|
||||||
%doc LICENSE.rst README.rst
|
%license LICENSE.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:fee2380a469ffe4067bc7f0096a6fcfb27539da7496fae12b74b8d5d0f33a4ee
|
|
||||||
size 4934
|
|
3
requirements-parser-0.2.0.tar.gz
Normal file
3
requirements-parser-0.2.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5963ee895c2d05ae9f58d3fc641082fb38021618979d6a152b6b1398bd7d4ed4
|
||||||
|
size 6269
|
Reference in New Issue
Block a user