forked from pool/python-pyquery
		
	Remove dependency on unittest2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyquery?expand=0&rev=25
This commit is contained in:
		| @@ -1,3 +0,0 @@ | ||||
| version https://git-lfs.github.com/spec/v1 | ||||
| oid sha256:6aa0133b30d9a0229ad65d3a7708c4e853bf46808fb359d06ca56f5039102af6 | ||||
| size 45949 | ||||
							
								
								
									
										3
									
								
								pyquery-1.4.0.tar.gz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								pyquery-1.4.0.tar.gz
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| version https://git-lfs.github.com/spec/v1 | ||||
| oid sha256:4771db76bd14352eba006463656aef990a0147a0eeaf094725097acfa90442bf | ||||
| size 45215 | ||||
| @@ -1,3 +1,8 @@ | ||||
| ------------------------------------------------------------------- | ||||
| Mon Aug 13 13:18:38 UTC 2018 - mcepl@suse.com | ||||
|  | ||||
| - Remove dependency on unittest2 | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Wed Mar 29 07:12:38 UTC 2017 - alarrosa@suse.com | ||||
|  | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| # | ||||
| # spec file for package python-pyquery | ||||
| # | ||||
| # Copyright (c) 2017 SUSE LINUX 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 | ||||
| @@ -16,37 +16,34 @@ | ||||
| # | ||||
|  | ||||
|  | ||||
| %{?!python_module:%define python_module() python-%{**} python3-%{**}} | ||||
| # NOTE: circular dependency between python-pyquery and python-WebTest | ||||
| # enable testing with a build conditional (off by default): | ||||
| %bcond_with test | ||||
|  | ||||
| %{?!python_module:%define python_module() python-%{**} python3-%{**}} | ||||
| Name:           python-pyquery | ||||
| Version:        1.2.17 | ||||
| Version:        1.4.0 | ||||
| Release:        0 | ||||
| Summary:        A jQuery-like library for python | ||||
| License:        BSD-3-Clause | ||||
| Group:          Development/Languages/Python | ||||
| Url:            http://pypi.python.org/pypi/pyquery | ||||
| URL:            http://pypi.python.org/pypi/pyquery | ||||
| Source:         https://files.pythonhosted.org/packages/source/p/pyquery/pyquery-%{version}.tar.gz | ||||
| BuildRoot:      %{_tmppath}/%{name}-%{version}-build | ||||
| BuildRequires:  %{python_module cssselect} | ||||
| BuildRequires:  %{python_module devel} | ||||
| BuildRequires:  %{python_module lxml >= 2.1} | ||||
| BuildRequires:  %{python_module setuptools} | ||||
| BuildRequires:  fdupes | ||||
| BuildRequires:  python-rpm-macros | ||||
| Requires:       python-cssselect | ||||
| Requires:       python-lxml >= 2.1 | ||||
| BuildArch:      noarch | ||||
| %if %{with test} | ||||
| BuildRequires:  %{python_module WebOb} | ||||
| BuildRequires:  %{python_module WebTest} | ||||
| BuildRequires:  %{python_module beautifulsoup} | ||||
| BuildRequires:  %{python_module nose} | ||||
| BuildRequires:  %{python_module restkit} | ||||
| BuildRequires:  %{python_module unittest2} | ||||
| %endif | ||||
| BuildRequires:  python-rpm-macros | ||||
| Requires:       python-cssselect | ||||
| Requires:       python-lxml >= 2.1 | ||||
| BuildArch:      noarch | ||||
|  | ||||
| %python_subpackages | ||||
|  | ||||
| %description | ||||
| @@ -62,6 +59,7 @@ XML and HTML manipulation. | ||||
|  | ||||
| %install | ||||
| %python_install | ||||
| %python_expand %fdupes %{buildroot}%{$python_sitelib} | ||||
|  | ||||
| %if %{with test} | ||||
| %check | ||||
| @@ -69,7 +67,6 @@ nosetests -q tests | ||||
| %endif | ||||
|  | ||||
| %files %{python_files} | ||||
| %defattr(-,root,root,-) | ||||
| %doc CHANGES.rst README.rst | ||||
| %{python_sitelib}/* | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user