diff --git a/pkginfo-1.4.2.tar.gz b/pkginfo-1.4.2.tar.gz deleted file mode 100644 index 982b703..0000000 --- a/pkginfo-1.4.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5878d542a4b3f237e359926384f1dde4e099c9f5525d236b1840cf704fa8d474 -size 33539 diff --git a/pkginfo-1.5.0.1.tar.gz b/pkginfo-1.5.0.1.tar.gz new file mode 100644 index 0000000..3b1fc01 --- /dev/null +++ b/pkginfo-1.5.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7424f2c8511c186cd5424bbf31045b77435b37a8d604990b79d4e70d741148bb +size 34496 diff --git a/python-pkginfo.changes b/python-pkginfo.changes index 640323f..c449e78 100644 --- a/python-pkginfo.changes +++ b/python-pkginfo.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jun 19 12:59:08 UTC 2019 - pgajdos@suse.com + +- version update to 1.5.0.1 + * Fix broken 'sdist'. LP #1639585. + * Fix 'console_scripts' entry point syntax. LP #1810734. + * Add support for JSON output from the CLI. + * Add support for installed wheels. E.g., 'dist-info/' dirs. + * Add support for Python 3.6 and 3.7. + * Drop support for Python 3.3. + ------------------------------------------------------------------- Wed Dec 19 00:05:38 UTC 2018 - Jan Engelhardt diff --git a/python-pkginfo.spec b/python-pkginfo.spec index 8ee0655..174c06e 100644 --- a/python-pkginfo.spec +++ b/python-pkginfo.spec @@ -1,7 +1,7 @@ # # spec file for package python-pkginfo # -# Copyright (c) 2018 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 @@ -17,10 +17,8 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -# Tests are currently broken. -%bcond_without tests Name: python-pkginfo -Version: 1.4.2 +Version: 1.5.0.1 Release: 0 Summary: Python package for querying metadatdata from sdists/bdists/installed packages License: MIT @@ -32,10 +30,12 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives Requires(preun): update-alternatives +Requires: python-setuptools BuildArch: noarch -%if %{with tests} +# SECTION test requirements BuildRequires: %{python_module nose} -%endif +BuildRequires: %{python_module pytest} +# /SECTION %python_subpackages %description @@ -49,8 +49,7 @@ 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 +sed -i "s|'2\.1'|None|" pkginfo/tests/test_installed.py %build %python_build @@ -60,12 +59,8 @@ sed -i "s|'1\.1'|None|" pkginfo/tests/test_installed.py %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/pkginfo -%if %{with tests} %check -%{python_expand $python setup.py develop --user -$python setup.py test -q -} -%endif +%pytest %post %python_install_alternative pkginfo