Compare commits

..

11 Commits

Author SHA1 Message Date
openeuler-ci-bot
9d163199fe
!9 【轻量级 PR】:fix bad date in %changelog
From: @loong-C 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2022-06-16 09:13:58 +00:00
loong-C
1eab349386
fix bad date in %changelog
![输入图片说明](https://images.gitee.com/uploads/images/2022/0616/095338_83a33d53_9884780.png "屏幕截图.png")
2022-06-16 01:54:11 +00:00
openeuler-ci-bot
5d15d2611f !5 remove python2 dependency
From: @xinghe_1
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-10-30 15:49:54 +08:00
jinzhimin369
3f95385f7f remove python2 dependency 2020-10-30 14:00:18 +08:00
openeuler-ci-bot
a2600a2a13 !4 删除无用的README.md和README.en.md
Merge pull request !4 from Markeryang/master
2020-07-22 14:50:25 +08:00
Markeryang
97d693388f 删除文件 README.en.md 2020-07-22 14:41:01 +08:00
Markeryang
ebabab7e4b 删除文件 README.md 2020-07-22 14:40:48 +08:00
openeuler-ci-bot
0c7d420193 !3 update package to 1.1.0
Merge pull request !3 from Markeryang/master
2020-07-20 11:09:06 +08:00
Markeryang
2b890f7350 删除文件 cssselect-0.9.2.tar.gz 2020-07-16 09:37:13 +08:00
Markeryang
2867beb3f0 update package to 1.1.0
update package to 1.1.0
2020-07-16 09:36:29 +08:00
openeuler-ci-bot
94f9dbbc9a !2 add yaml file in package
Merge pull request !2 from Markeryang/master
2020-06-28 16:33:43 +08:00
5 changed files with 5 additions and 82 deletions

View File

@ -1,25 +0,0 @@
===================================
cssselect: CSS Selectors for Python
===================================
*cssselect* parses `CSS3 Selectors`_ and translate them to `XPath 1.0`_
expressions. Such expressions can be used in lxml_ or another XPath engine
to find the matching elements in an XML or HTML document.
This module used to live inside of lxml as ``lxml.cssselect`` before it was
extracted as a stand-alone project.
.. _CSS3 Selectors: https://www.w3.org/TR/css3-selectors/
.. _XPath 1.0: https://www.w3.org/TR/xpath/
.. _lxml: http://lxml.de/
Quick facts:
* Free software: BSD licensed
* Compatible with Python 2.6+ and 3.2+
* Latest documentation `on python.org <https://pythonhosted.org/cssselect/>`_
* Source, issues and pull requests `on Github
<https://github.com/scrapy/cssselect>`_
* Releases `on PyPI <http://pypi.python.org/pypi/cssselect>`_
* Install with ``pip install cssselect``

View File

@ -1,37 +0,0 @@
# python-cssselect
#### 介绍
CSS Selectors for Python
#### 软件架构
软件架构说明
#### 安装教程
1. xxxx
2. xxxx
3. xxxx
#### 使用说明
1. xxxx
2. xxxx
3. xxxx
#### 参与贡献
1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request
#### 码云特技
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

Binary file not shown.

BIN
cssselect-1.1.0.tar.gz Normal file

Binary file not shown.

View File

@ -2,7 +2,7 @@
Name: python-cssselect
Version: 1.1.0
Release: 1
Release: 2
Summary: CSS Selectors for Python
License: BSD
URL: https://github.com/scrapy/cssselect
@ -16,16 +16,6 @@ Such expressions can be used in lxml or another XPath engine to find the
matching elements in an XML or HTML document.
%package -n python2-%{pkgname}
%{?python_provide:%python_provide python2-%{pkgname}}
Summary: %{summary}
BuildRequires: python2-devel python2-setuptools
%description -n python2-%{pkgname}
Cssselect parses CSS3 Selectors and translates them to XPath 1.0 expressions.
Such expressions can be used in lxml or another XPath engine to find the
matching elements in an XML or HTML document. This is the Python 2 version.
%package -n python3-%{pkgname}
%{?python_provide:%python_provide python3-%{pkgname}}
Summary: %{summary}
@ -41,26 +31,21 @@ matching elements in an XML or HTML document. This is the Python 3 version.
%autosetup -n %{pkgname}-%{version}
%build
%py2_build
%py3_build
%install
%py2_install
%py3_install
%files -n python2-%{pkgname}
%doc README.rst
%license LICENSE
%{python2_sitelib}/%{pkgname}*/
%files -n python3-%{pkgname}
%doc README.rst
%license LICENSE
%{python3_sitelib}/%{pkgname}*/
%changelog
* Jul Thu 16 2020 yanglongkang <yanglongkang@huawei.com> - 1.1.0-1
* Fri Oct 30 2020 yanglongkang <yanglongkang@huawei.com> - 1.1.0-2
- remove python2 dependency
* Thu Jul 16 2020 yanglongkang <yanglongkang@huawei.com> - 1.1.0-1
- update package to 1.1.0
* Sat Feb 22 2020 hy-euler <eulerstoragemt@huawei.com> - 0.9.2-10