forked from pool/python-pkginfo
Accepting request 610774 from home:frispete:python
- fix failing tests with sed - enable tests - 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. OBS-URL: https://build.opensuse.org/request/show/610774 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pkginfo?expand=0&rev=6
This commit is contained in:
parent
26e2d5bc64
commit
1cee9ce667
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bb1a6aeabfc898f5df124e7e00303a5b3ec9a489535f346bfbddb081af93f89e
|
||||
size 32001
|
3
pkginfo-1.4.2.tar.gz
Normal file
3
pkginfo-1.4.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5878d542a4b3f237e359926384f1dde4e099c9f5525d236b1840cf704fa8d474
|
||||
size 33539
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user