delete test for reducing BuildRequires
This commit is contained in:
parent
c46ee4cf7f
commit
cf33299ed5
@ -1,15 +1,13 @@
|
||||
Name: python-pyquery
|
||||
Version: 1.4.0
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: A jquery-like library for python
|
||||
License: BSD
|
||||
URL: http://pypi.python.org/pypi/pyquery
|
||||
Source0: https://files.pythonhosted.org/packages/e4/46/596311bb390c902b61499ff9fd5a355cdf85c8455737cb0f08c6c2c13e22/pyquery-1.4.0.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python2-devel, python2-setuptools, python2-beautifulsoup, python2-cssselect
|
||||
BuildRequires: python2-lxml >= 2.1, python2-nose, python2-requests, python2-restkit
|
||||
BuildRequires: python2-webob, python2-webtest
|
||||
BuildRequires: python2-devel, python2-setuptools
|
||||
|
||||
%description
|
||||
pyquery allows you to make jquery queries on xml documents.
|
||||
@ -29,8 +27,7 @@ pyquery uses lxml for fast xml and html manipulation.
|
||||
%package -n python3-pyquery
|
||||
%{?python_provide:%python_provide python3-pyquery}
|
||||
Summary: A jquery-like library for python
|
||||
BuildRequires: python3-devel, python3-setuptools, python3-cssselect, python3-lxml >= 2.1
|
||||
BuildRequires: python3-nose, python3-requests, python3-webob, python3-webtest
|
||||
BuildRequires: python3-devel, python3-setuptools
|
||||
Requires: python3-lxml >= 2.1, python3-cssselect
|
||||
|
||||
%description -n python3-pyquery
|
||||
@ -56,11 +53,6 @@ cd %{py3dir}
|
||||
cd -
|
||||
%py2_install
|
||||
|
||||
%check
|
||||
cd %{py3dir}
|
||||
nosetests-%{python3_version}
|
||||
cd -
|
||||
nosetests-2
|
||||
|
||||
%files -n python2-pyquery
|
||||
%doc README.rst
|
||||
@ -71,5 +63,7 @@ nosetests-2
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%changelog
|
||||
* Fri Feb 28 2020 hy-euler <eulerstoragemt@huawei.com> - 1.4.0-3
|
||||
- the package is used for python-webtest building, no needs to test.
|
||||
* Mon Feb 17 2020 Ruijun Ge <geruijun@huawei.com> - 1.4.0-2
|
||||
- init package
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user