Compare commits
10 Commits
c46ee4cf7f
...
306ea48cb8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
306ea48cb8 | ||
|
|
307c75e509 | ||
|
|
0a1e6cfc46 | ||
|
|
d6a83f69f1 | ||
|
|
a403a2035d | ||
|
|
7064f4fbe3 | ||
|
|
076d0c6080 | ||
|
|
71cc51492a | ||
|
|
dda3e159a1 | ||
|
|
cf33299ed5 |
Binary file not shown.
BIN
pyquery-1.4.3.tar.gz
Normal file
BIN
pyquery-1.4.3.tar.gz
Normal file
Binary file not shown.
@ -1,36 +1,21 @@
|
|||||||
Name: python-pyquery
|
Name: python-pyquery
|
||||||
Version: 1.4.0
|
Version: 1.4.3
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: A jquery-like library for python
|
Summary: A jquery-like library for python
|
||||||
License: BSD
|
License: BSD-3-Clause
|
||||||
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/source/p/pyquery/pyquery-1.4.3.tar.gz
|
||||||
BuildArch: noarch
|
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
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
pyquery allows you to make jquery queries on xml documents.
|
pyquery allows you to make jquery queries on xml documents.
|
||||||
The API is as much as possible the similar to jquery.
|
The API is as much as possible the similar to jquery.
|
||||||
pyquery uses lxml for fast xml and html manipulation.
|
pyquery uses lxml for fast xml and html manipulation.
|
||||||
|
|
||||||
%package -n python2-pyquery
|
|
||||||
%{?python_provide:%python_provide python2-pyquery}
|
|
||||||
Summary: A jquery-like library for python
|
|
||||||
Requires: python2-lxml >= 2.1, python2-cssselect
|
|
||||||
|
|
||||||
%description -n python2-pyquery
|
|
||||||
pyquery allows you to make jquery queries on xml documents.
|
|
||||||
The API is as much as possible the similar to jquery.
|
|
||||||
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
|
||||||
@ -47,29 +32,26 @@ find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
|
|||||||
%build
|
%build
|
||||||
cd %{py3dir}
|
cd %{py3dir}
|
||||||
%py3_build
|
%py3_build
|
||||||
cd -
|
|
||||||
%py2_build
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
cd %{py3dir}
|
cd %{py3dir}
|
||||||
%py3_install
|
%py3_install
|
||||||
cd -
|
|
||||||
%py2_install
|
|
||||||
|
|
||||||
%check
|
|
||||||
cd %{py3dir}
|
|
||||||
nosetests-%{python3_version}
|
|
||||||
cd -
|
|
||||||
nosetests-2
|
|
||||||
|
|
||||||
%files -n python2-pyquery
|
|
||||||
%doc README.rst
|
|
||||||
%{python2_sitelib}/*
|
|
||||||
|
|
||||||
%files -n python3-pyquery
|
%files -n python3-pyquery
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 19 2022 xu_ping <xuping33@h-partners.com> - 1.4.3-1
|
||||||
|
- update to 1.4.3
|
||||||
|
|
||||||
|
* Fri Oct 30 2020 yanglongkang <yanglongkang@huawei.com> - 1.4.1-2
|
||||||
|
- remove python2 dependency
|
||||||
|
|
||||||
|
* Thu Jul 16 2020 jixinjie <jixinjie@huawei.com> - 1.4.1-1
|
||||||
|
- update package to 1.4.1
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|||||||
4
python-pyquery.yaml
Normal file
4
python-pyquery.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: pypi
|
||||||
|
src_repo: pyquery
|
||||||
|
tag_prefix: ^v
|
||||||
|
seperator: .
|
||||||
Loading…
x
Reference in New Issue
Block a user