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