Compare commits
No commits in common. "84dfa0474e336ce2be881aeceb9eb14868b204d9" and "66bc30388295ca06126358a0c72dda6f8eb46828" have entirely different histories.
84dfa0474e
...
66bc303882
BIN
hyperlink-18.0.0.tar.gz
Normal file
BIN
hyperlink-18.0.0.tar.gz
Normal file
Binary file not shown.
@ -1,19 +1,25 @@
|
|||||||
%bcond_with docs
|
|
||||||
|
|
||||||
Name: python-hyperlink
|
Name: python-hyperlink
|
||||||
Version: 21.0.0
|
Version: 18.0.0
|
||||||
Release: 1
|
Release: 8
|
||||||
Summary: A pure-Python implementation of immutable URLs
|
Summary: A pure-Python implementation of immutable URLs
|
||||||
License: MIT
|
License: MIT and BSD and OFL
|
||||||
URL: https://github.com/python-hyper/hyperlink
|
URL: https://github.com/python-hyper/hyperlink
|
||||||
Source0: https://github.com/python-hyper/hyperlink/archive/v%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/h/hyperlink/hyperlink-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python3dist(sphinx) fontawesome-fonts python3-devel
|
BuildRequires: python2-devel python2dist(idna) >= 2.5 python2dist(setuptools) python2dist(unittest2)
|
||||||
|
BuildRequires: python3dist(sphinx) fontawesome-fonts
|
||||||
%{?python_enable_dependency_generator}
|
%{?python_enable_dependency_generator}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Hyperlink is a featureful, pure-Python implementation of the URL, with an emphasis on correctness.
|
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
|
%package -n python3-hyperlink
|
||||||
Summary: A pure-Python implementation of immutable URLs
|
Summary: A pure-Python implementation of immutable URLs
|
||||||
%python_provide python3-hyperlink
|
%python_provide python3-hyperlink
|
||||||
@ -23,9 +29,7 @@ Hyperlink is a featureful, pure-Python implementation of the URL, with an emphas
|
|||||||
|
|
||||||
%package help
|
%package help
|
||||||
Summary: This package contains help documents
|
Summary: This package contains help documents
|
||||||
%if %{with docs}
|
|
||||||
Requires: fontawesome-fonts
|
Requires: fontawesome-fonts
|
||||||
%endif
|
|
||||||
Provides: python-hyperlink-doc = %{version}-%{release}
|
Provides: python-hyperlink-doc = %{version}-%{release}
|
||||||
Obsoletes: python-hyperlink-doc < %{version}-%{release}
|
Obsoletes: python-hyperlink-doc < %{version}-%{release}
|
||||||
|
|
||||||
@ -37,9 +41,8 @@ Files for help with python-hyperlink.
|
|||||||
rm -rf hyperlink.egg-info
|
rm -rf hyperlink.egg-info
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%py2_build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%if %{with docs}
|
|
||||||
PYTHONPATH=${PWD} sphinx-build-3 docs html
|
PYTHONPATH=${PWD} sphinx-build-3 docs html
|
||||||
rm -rf html/.{doctrees,buildinfo} html/_static/underscore*.js html/_static/jquery*.js
|
rm -rf html/.{doctrees,buildinfo} html/_static/underscore*.js html/_static/jquery*.js
|
||||||
cd html/_static/fonts/
|
cd html/_static/fonts/
|
||||||
@ -52,42 +55,29 @@ 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/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.min.js html/_static/jquery.js
|
||||||
ln -s /usr/share/javascript/jquery/3.2.1/jquery.js html/_static/jquery-3.2.1.js
|
ln -s /usr/share/javascript/jquery/3.2.1/jquery.js html/_static/jquery-3.2.1.js
|
||||||
%endif
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%py2_install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%{__python2} -m unittest
|
||||||
%{__python3} -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
|
%files -n python3-hyperlink
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
%{python3_sitelib}/hyperlink
|
%{python3_sitelib}/hyperlink
|
||||||
%{python3_sitelib}/hyperlink-%{version}-py%{python3_version}.egg-info
|
%{python3_sitelib}/hyperlink-%{version}-py?.?.egg-info
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%if %{with docs}
|
|
||||||
%doc README.md html
|
%doc README.md html
|
||||||
%else
|
|
||||||
%doc README.md
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Jun 09 2022 SimpleUpdate Robot <tc@openeuler.org> - 21.0.0-1
|
|
||||||
- Upgrade to version 21.0.0
|
|
||||||
|
|
||||||
* Tue May 10 2022 yangping <yangping69@h-partners> - 18.0.0-12
|
|
||||||
- License compliance rectification
|
|
||||||
|
|
||||||
* Fri Apr 01 2022 xigaoxinyan <xigaoxinyan@huawei.com> - 18.0.0-11
|
|
||||||
- Drop docs package: sphinx Update make docs build error and Fix build error caused by py3.10+ wildcard
|
|
||||||
|
|
||||||
* 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
|
* Fri Mar 13 2020 gulining<gulining1@huawei.com> - 18.0.0-8
|
||||||
- Remove useless requires
|
- Remove useless requires
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
version_control: github
|
version_control: github
|
||||||
src_repo: python-hyper/hyperlink
|
src_repo: python-hyper/hyperlink
|
||||||
tag_prefix: ^v
|
tag_prefix: ^v
|
||||||
separator: .
|
seperator: .
|
||||||
|
|||||||
BIN
v21.0.0.tar.gz
BIN
v21.0.0.tar.gz
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user