diff --git a/pkginfo-1.4.1.tar.gz b/pkginfo-1.4.1.tar.gz deleted file mode 100644 index 1c6ed32..0000000 --- a/pkginfo-1.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bb1a6aeabfc898f5df124e7e00303a5b3ec9a489535f346bfbddb081af93f89e -size 32001 diff --git a/pkginfo-1.4.2.tar.gz b/pkginfo-1.4.2.tar.gz new file mode 100644 index 0000000..982b703 --- /dev/null +++ b/pkginfo-1.4.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5878d542a4b3f237e359926384f1dde4e099c9f5525d236b1840cf704fa8d474 +size 33539 diff --git a/python-pkginfo.changes b/python-pkginfo.changes index 28d4019..795b928 100644 --- a/python-pkginfo.changes +++ b/python-pkginfo.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Sun May 20 16:11:28 UTC 2018 - hpj@urpla.net + +- fix failing tests with sed +- enable tests + +------------------------------------------------------------------- +Sat May 19 09:48:01 UTC 2018 - hpj@urpla.net + +- Update to version 1.4.2 + - Use relative imports in pkginfo modules. Supports vendoring of the + package into setuptools. + - Add support for ``Provides-Extra`` and ``Description-Content-Type`` fields. + Per https://packaging.python.org/specifications/. See: PEP 566. + - Remove support for old setuptools leaving ``PKG-INFO`` in the root of + the project directory. + ------------------------------------------------------------------- Wed Apr 19 15:35:40 UTC 2017 - toddrme2178@gmail.com diff --git a/python-pkginfo.spec b/python-pkginfo.spec index bea70e2..a3e3159 100644 --- a/python-pkginfo.spec +++ b/python-pkginfo.spec @@ -1,7 +1,7 @@ # # spec file for package python-pkginfo # -# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -17,21 +17,21 @@ # Tests are currently broken. -%bcond_with tests +%bcond_without tests %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pkginfo -Version: 1.4.1 +Version: 1.4.2 Release: 0 Summary: Query metadatdata from sdists / bdists / installed packages License: MIT Group: Development/Languages/Python Url: http://pypi.python.org/pypi/pkginfo/ Source: https://files.pythonhosted.org/packages/source/p/pkginfo/pkginfo-%{version}.tar.gz -BuildRequires: fdupes -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros %if %{with tests} BuildRequires: %{python_module nose} %endif @@ -51,6 +51,9 @@ the *.egg-info stored in a "development checkout" %prep %setup -q -n pkginfo-%{version} +# fix tests until fixed upstream +sed -i 's|1\.1|2.1|' pkginfo/tests/__init__.py +sed -i "s|'1\.1'|None|" pkginfo/tests/test_installed.py %build %python_build