forked from pool/python-jaraco.text
- Update to 2.2.0:
* No upstream changelog - Remove merged use_2to3.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.text?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
a51249821c
commit
e28428f626
@@ -1,3 +0,0 @@
|
|||||||
<multibuild>
|
|
||||||
<package>test</package>
|
|
||||||
</multibuild>
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3660678d395073626e72a455b24bacf07c064138a4cc6c1dae63e616f22478aa
|
|
||||||
size 12017
|
|
||||||
3
jaraco.text-3.0.tar.gz
Normal file
3
jaraco.text-3.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ddebeab77d3c144e1782b75313e2cda873b40b728230af5401b2a7bfa5c0b0d0
|
||||||
|
size 12082
|
||||||
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 26 14:34:01 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 3.0:
|
||||||
|
* Remove collections dependency to avoid buildcycle
|
||||||
|
- Remove multibuild as per above
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 27 19:08:25 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
Wed Feb 27 19:08:25 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -17,16 +17,8 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%global flavor @BUILD_FLAVOR@%{nil}
|
Name: python-jaraco.text
|
||||||
%if "%{flavor}" == "test"
|
Version: 3.0
|
||||||
%define psuffix -test
|
|
||||||
%bcond_without test
|
|
||||||
%else
|
|
||||||
%define psuffix %{nil}
|
|
||||||
%bcond_with test
|
|
||||||
%endif
|
|
||||||
Name: python-jaraco.text%{psuffix}
|
|
||||||
Version: 2.0
|
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Tools to work with text
|
Summary: Tools to work with text
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -34,6 +26,8 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/jaraco/jaraco.text
|
URL: https://github.com/jaraco/jaraco.text
|
||||||
Source0: https://files.pythonhosted.org/packages/source/j/jaraco.text/jaraco.text-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/j/jaraco.text/jaraco.text-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module jaraco.base >= 6.1}
|
BuildRequires: %{python_module jaraco.base >= 6.1}
|
||||||
|
BuildRequires: %{python_module jaraco.functools}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools_scm}
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@@ -43,11 +37,6 @@ Requires: python-jaraco.collections
|
|||||||
Requires: python-jaraco.functools
|
Requires: python-jaraco.functools
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with test}
|
|
||||||
BuildRequires: %{python_module jaraco.collections}
|
|
||||||
BuildRequires: %{python_module jaraco.functools}
|
|
||||||
BuildRequires: %{python_module pytest}
|
|
||||||
%endif
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -62,7 +51,6 @@ rm -rf jaraco.text.egg-info
|
|||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if !%{with test}
|
|
||||||
%python_install
|
%python_install
|
||||||
|
|
||||||
%{python_expand rm -f %{buildroot}%{$python_sitelib}/jaraco/__init__.py* \
|
%{python_expand rm -f %{buildroot}%{$python_sitelib}/jaraco/__init__.py* \
|
||||||
@@ -71,22 +59,15 @@ $python -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/jarac
|
|||||||
$python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/jaraco/
|
$python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/jaraco/
|
||||||
%fdupes %{buildroot}%{$python_sitelib}
|
%fdupes %{buildroot}%{$python_sitelib}
|
||||||
}
|
}
|
||||||
%endif
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with test}
|
%pytest
|
||||||
%{python_expand py.test-%{$python_bin_suffix} \
|
|
||||||
--ignore=_build.python2 --ignore=_build.python3
|
|
||||||
}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if !%{with test}
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc docs/*.rst README.rst CHANGES.rst
|
%doc docs/*.rst README.rst CHANGES.rst
|
||||||
%{python_sitelib}/jaraco.text-%{version}-py*.egg-info
|
%{python_sitelib}/jaraco.text-%{version}-py*.egg-info
|
||||||
%{python_sitelib}/jaraco/text.py*
|
%{python_sitelib}/jaraco/text.py*
|
||||||
%pycache_only %{python_sitelib}/jaraco/__pycache__/text*.py*
|
%pycache_only %{python_sitelib}/jaraco/__pycache__/text*.py*
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user