Accepting request 711153 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/711153 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pkginfo?expand=0&rev=5
This commit is contained in:
commit
098b41c1cb
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:5878d542a4b3f237e359926384f1dde4e099c9f5525d236b1840cf704fa8d474
|
|
||||||
size 33539
|
|
3
pkginfo-1.5.0.1.tar.gz
Normal file
3
pkginfo-1.5.0.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7424f2c8511c186cd5424bbf31045b77435b37a8d604990b79d4e70d741148bb
|
||||||
|
size 34496
|
@ -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 <jengelh@inai.de>
|
Wed Dec 19 00:05:38 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pkginfo
|
# 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
|
# 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
|
||||||
@ -17,10 +17,8 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
# Tests are currently broken.
|
|
||||||
%bcond_without tests
|
|
||||||
Name: python-pkginfo
|
Name: python-pkginfo
|
||||||
Version: 1.4.2
|
Version: 1.5.0.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python package for querying metadatdata from sdists/bdists/installed packages
|
Summary: Python package for querying metadatdata from sdists/bdists/installed packages
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -32,10 +30,12 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(preun): update-alternatives
|
Requires(preun): update-alternatives
|
||||||
|
Requires: python-setuptools
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with tests}
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module nose}
|
BuildRequires: %{python_module nose}
|
||||||
%endif
|
BuildRequires: %{python_module pytest}
|
||||||
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -49,8 +49,7 @@ the *.egg-info stored in a "development checkout"
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n pkginfo-%{version}
|
%setup -q -n pkginfo-%{version}
|
||||||
# fix tests until fixed upstream
|
# fix tests until fixed upstream
|
||||||
sed -i 's|1\.1|2.1|' pkginfo/tests/__init__.py
|
sed -i "s|'2\.1'|None|" pkginfo/tests/test_installed.py
|
||||||
sed -i "s|'1\.1'|None|" pkginfo/tests/test_installed.py
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_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_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%python_clone -a %{buildroot}%{_bindir}/pkginfo
|
%python_clone -a %{buildroot}%{_bindir}/pkginfo
|
||||||
|
|
||||||
%if %{with tests}
|
|
||||||
%check
|
%check
|
||||||
%{python_expand $python setup.py develop --user
|
%pytest
|
||||||
$python setup.py test -q
|
|
||||||
}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative pkginfo
|
%python_install_alternative pkginfo
|
||||||
|
Loading…
Reference in New Issue
Block a user