14
0

- Update to 0.2.9.post0:

* updated pypi urls
  * various small bugfixes
- Remove merged patches:
  * pypi-url-update.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distlib?expand=0&rev=7
This commit is contained in:
Tomáš Chvátal
2019-09-13 08:57:12 +00:00
committed by Git OBS Bridge
parent 9e6b06c5b2
commit bbe74b1d00
5 changed files with 15 additions and 304 deletions

View File

@@ -18,22 +18,20 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-distlib
Version: 0.2.8
Version: 0.2.9.post0
Release: 0
Summary: Distribution utilities
License: Python-2.0
Group: Development/Languages/Python
Url: https://bitbucket.org/pypa/distlib
URL: https://bitbucket.org/pypa/distlib
Source: https://files.pythonhosted.org/packages/source/d/distlib/distlib-%{version}.zip
Patch0: remove-backports.patch
Patch1: pypi-url-update.patch
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
BuildArch: noarch
%python_subpackages
%description
@@ -42,7 +40,6 @@ Python distribution utilities.
%prep
%setup -q -n distlib-%{version}
%patch0 -p1
%patch1 -p1
rm -r tests/unittest2
@@ -73,7 +70,7 @@ rm distlib/*.exe
%check
export LANG=en_US.UTF-8
# These two tests need internet access
%python_exec -m pytest -k 'not (test_search or test_package_data)'
%pytest -k 'not (test_search or test_package_data)'
%files %{python_files}
%doc CHANGES.rst README.rst