Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
4a2ee933dd
!13 update to version 21.0.0
From: @wang--ge 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2022-10-27 09:58:41 +00:00
wang--ge
66c2ca3be5 update to version 21.0.0 2022-10-27 16:50:28 +08:00
openeuler-ci-bot
418d223e3e
!7 屏蔽python-hyperlink的make docs阶段
Merge pull request !7 from huanghaitao/openEuler-22.03-LTS-Next
2022-01-11 11:11:03 +00:00
hht8
43e252763c Drop docs package 2022-01-11 17:43:55 +08:00
openeuler-ci-bot
2553313f75 !6 Add python3-devel dependency
From: @jpzhang187
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-12-07 15:36:16 +08:00
jpzhang187
1aa3c290df Add python3-devel dependency 2020-12-07 15:02:52 +08:00
openeuler-ci-bot
f815a27090 !5 remove python2 subpackage
From: @lei_ju
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-10-29 18:37:42 +08:00
lei_ju
de8ae5bc5c remove python2 subpackage 2020-10-29 10:40:35 +08:00
openeuler-ci-bot
66bc303882 !4 python-hyperlink
Merge pull request !4 from wangef/master
2020-05-09 19:18:43 +08:00
wwx913452
df9c641d58 added python-hyperlink.yaml 2020-05-07 11:21:08 +08:00
4 changed files with 33 additions and 22 deletions

Binary file not shown.

View File

@ -1,25 +1,19 @@
%bcond_with docs
Name: python-hyperlink
Version: 18.0.0
Release: 8
Version: 21.0.0
Release: 1
Summary: A pure-Python implementation of immutable URLs
License: MIT and BSD and OFL
License: MIT
URL: https://github.com/python-hyper/hyperlink
Source0: https://files.pythonhosted.org/packages/source/h/hyperlink/hyperlink-%{version}.tar.gz
Source0: https://github.com/python-hyper/hyperlink/archive/v%{version}.tar.gz
BuildArch: noarch
BuildRequires: python2-devel python2dist(idna) >= 2.5 python2dist(setuptools) python2dist(unittest2)
BuildRequires: python3dist(sphinx) fontawesome-fonts
BuildRequires: python3dist(sphinx) fontawesome-fonts python3-devel
%{?python_enable_dependency_generator}
%description
Hyperlink is a featureful, pure-Python implementation of the URL, with an emphasis on correctness.
%package -n python2-hyperlink
Summary: A pure-Python implementation of immutable URLs
%python_provide python2-hyperlink
%description -n python2-hyperlink
Hyperlink is a featureful, pure-Python implementation of the URL, with an emphasis on correctness.
%package -n python3-hyperlink
Summary: A pure-Python implementation of immutable URLs
%python_provide python3-hyperlink
@ -29,7 +23,9 @@ Hyperlink is a featureful, pure-Python implementation of the URL, with an emphas
%package help
Summary: This package contains help documents
%if %{with docs}
Requires: fontawesome-fonts
%endif
Provides: python-hyperlink-doc = %{version}-%{release}
Obsoletes: python-hyperlink-doc < %{version}-%{release}
@ -41,8 +37,9 @@ Files for help with python-hyperlink.
rm -rf hyperlink.egg-info
%build
%py2_build
%py3_build
%if %{with docs}
PYTHONPATH=${PWD} sphinx-build-3 docs html
rm -rf html/.{doctrees,buildinfo} html/_static/underscore*.js html/_static/jquery*.js
cd html/_static/fonts/
@ -55,29 +52,39 @@ ln -s /usr/share/javascript/underscore/underscore-min.js html/_static/underscore
ln -s /usr/share/javascript/underscore/underscore.js html/_static/underscore-1.3.1.js
ln -s /usr/share/javascript/jquery/3.2.1/jquery.min.js html/_static/jquery.js
ln -s /usr/share/javascript/jquery/3.2.1/jquery.js html/_static/jquery-3.2.1.js
%endif
%install
%py2_install
%py3_install
%check
%{__python2} -m unittest
%{__python3} -m unittest
%files -n python2-hyperlink
%doc LICENSE
%{python2_sitelib}/hyperlink
%{python2_sitelib}/hyperlink-%{version}-py?.?.egg-info
%files -n python3-hyperlink
%doc LICENSE
%{python3_sitelib}/hyperlink
%{python3_sitelib}/hyperlink-%{version}-py?.?.egg-info
%{python3_sitelib}/hyperlink-%{version}-py%{python3_version}.egg-info
%files help
%if %{with docs}
%doc README.md html
%else
%doc README.md
%endif
%changelog
* Thu Oct 27 2022 Ge Wang <wangge20@h-partners.com> - 21.0.0-1
- Upgrade to version 21.0.0
* Mon Jan 10 2022 huanghaitao <huanghaitao8@huawei.com> - 18.0.0-11
- Drop docs package: sphinx Update make docs build error
* Mon Dec 07 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 18.0.0-10
- Add python3-devel dependency
* Wed Oct 21 2020 leiju <leiju4@huawei.com> - 18.0.0-9
- remove python2 subpackage
* Fri Mar 13 2020 gulining<gulining1@huawei.com> - 18.0.0-8
- Remove useless requires

4
python-hyperlink.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: python-hyper/hyperlink
tag_prefix: ^v
separator: .

BIN
v21.0.0.tar.gz Normal file

Binary file not shown.