14
0

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:
Tomáš Chvátal
2019-05-20 12:23:58 +00:00
committed by Git OBS Bridge
parent cb39f9c924
commit 058865df24
4 changed files with 32 additions and 22 deletions

View File

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

View File

@@ -1,7 +1,7 @@
#
# 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
# 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)
# 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
Version: 0.1.0
Version: 0.2.0
Release: 0
Summary: Parses Pip requirement files
License: BSD-2-Clause
Group: Development/Languages/Python
Url: https://github.com/davidfischer/requirements-parser
Source: https://pypi.python.org/packages/source/r/requirements-parser/requirements-parser-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools
# Test requirements:
BuildRequires: python-nose
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
Source: https://files.pythonhosted.org/packages/source/r/requirements-parser/requirements-parser-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module nose}
# /SECTION
BuildRequires: fdupes
BuildArch: noarch
%endif
%python_subpackages
%description
This is a small Python module for parsing Pip requirement files.
Parses Pip requirement files
%prep
%setup -q -n requirements-parser-%{version}
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
python setup.py test
%files
%defattr(-,root,root,-)
%doc LICENSE.rst README.rst
%files %{python_files}
%doc AUTHORS.rst README.rst
%license LICENSE.rst
%{python_sitelib}/*
%changelog

View File

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

View File

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