Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
02ccf262dc
!10 Add python2 subpackage for python-webtest build
From: @wk333 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-10-13 07:48:33 +00:00
wk333
6f92dadc8b Add python2 subpackage for python-webtest build 2023-10-13 10:26:47 +08:00
openeuler-ci-bot
0a1e6cfc46 !5 remove python2 dependency
From: @xinghe_1
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-10-30 15:44:30 +08:00
jinzhimin369
d6a83f69f1 remove python2 dependency 2020-10-30 14:25:35 +08:00
openeuler-ci-bot
a403a2035d !4 update package to 1.4.1
Merge pull request !4 from 季新杰/master
2020-07-20 11:00:08 +08:00
ji_xinjie
7064f4fbe3 update package to 1.4.1 2020-07-16 11:00:42 +08:00
openeuler-ci-bot
076d0c6080 !3 add yaml file in package
Merge pull request !3 from Markeryang/master
2020-06-28 15:32:50 +08:00
Markeryang
71cc51492a add python-pyquery.yaml. 2020-06-13 11:22:06 +08:00
openeuler-ci-bot
dda3e159a1 !2 delete test for reducing BuildRequires
Merge pull request !2 from hy/work
2020-02-28 10:43:37 +08:00
eulerstorage
cf33299ed5 delete test for reducing BuildRequires 2020-02-28 10:05:05 +08:00
4 changed files with 30 additions and 25 deletions

Binary file not shown.

BIN
pyquery-1.4.1.tar.gz Executable file

Binary file not shown.

View File

@ -1,43 +1,39 @@
Name: python-pyquery
Version: 1.4.0
Release: 2
Version: 1.4.1
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
Source0: https://files.pythonhosted.org/packages/6b/94/4663206f709ac32446e995227cc5be34d5e2aa74ba8f92b8083c2740d3d7/pyquery-1.4.1.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
%description
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
%{?python_provide:%python_provide python3-pyquery}
Summary: A jquery-like library for python
BuildRequires: python3-devel, python3-setuptools
Requires: python3-lxml >= 2.1, python3-cssselect
%description -n python3-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 python2-pyquery
%{?python_provide:%python_provide python2-pyquery}
Summary: A jquery-like library for python
Requires: python2-lxml >= 2.1, python2-cssselect
BuildRequires: python2-devel, python2-setuptools
%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
%{?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
Requires: python3-lxml >= 2.1, python3-cssselect
%description -n python3-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.
%prep
%autosetup -n pyquery-%{version} -p1
rm -rf %{py3dir}
@ -56,12 +52,6 @@ cd %{py3dir}
cd -
%py2_install
%check
cd %{py3dir}
nosetests-%{python3_version}
cd -
nosetests-2
%files -n python2-pyquery
%doc README.rst
%{python2_sitelib}/*
@ -71,5 +61,16 @@ nosetests-2
%{python3_sitelib}/*
%changelog
* Fri Oct 13 2023 wangkai <13474090681@163.com> - 1.4.1-3
- Add python2 subpackage for python-webtest build
* 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
- init package

4
python-pyquery.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: pypi
src_repo: pyquery
tag_prefix: ^v
seperator: .