diff --git a/python-requirements-parser.changes b/python-requirements-parser.changes index 25d8c06..a7694f2 100644 --- a/python-requirements-parser.changes +++ b/python-requirements-parser.changes @@ -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 diff --git a/python-requirements-parser.spec b/python-requirements-parser.spec index 2c6e0d2..97bb780 100644 --- a/python-requirements-parser.spec +++ b/python-requirements-parser.spec @@ -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 +%python_exec 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 diff --git a/requirements-parser-0.1.0.tar.gz b/requirements-parser-0.1.0.tar.gz deleted file mode 100644 index 4c9d0eb..0000000 --- a/requirements-parser-0.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fee2380a469ffe4067bc7f0096a6fcfb27539da7496fae12b74b8d5d0f33a4ee -size 4934 diff --git a/requirements-parser-0.2.0.tar.gz b/requirements-parser-0.2.0.tar.gz new file mode 100644 index 0000000..6f9db9c --- /dev/null +++ b/requirements-parser-0.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5963ee895c2d05ae9f58d3fc641082fb38021618979d6a152b6b1398bd7d4ed4 +size 6269