Projects
Eulaceura:Factory
python-w3lib
_service:obs_scm:python-w3lib.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:python-w3lib.spec of Package python-w3lib
%global _empty_manifest_terminate_build 0 Name: python-w3lib Version: 2.2.1 Release: 1 Summary: Library of web-related functions License: BSD-3-Clause URL: https://github.com/scrapy/w3lib Source0: https://files.pythonhosted.org/packages/cc/dd/8d080c3bf19f4e853433193e0ffd894d9f5c5a55c11d7283038ee822a0db/w3lib-2.2.1.tar.gz BuildArch: noarch Requires: python3-six %description This is a Python library of web-related functions. %package -n python3-w3lib Summary: Library of web-related functions Provides: python-w3lib = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools %description -n python3-w3lib This is a Python library of web-related functions. %package help Summary: Development documents and examples for w3lib Provides: python3-w3lib-doc %description help This is a Python library of web-related functions. %prep %autosetup -n w3lib-%{version} %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-w3lib -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Mon Jul 8 2024 lilu <lilu@kylinos.cn> - 2.2.1-1 - Update package to version 2.2.1 - Added Python 3.12 and PyPy 3.10 support and so on * Tue Dec 12 2023 konglidong <konglidong@uniontech.com> - 2.1.2-1 - update version to 2.1.2 * Thu Feb 16 2023 wubijie <wubijie@kylinos.cn> - 2.1.1-1 - Update package to version 2.1.1 * Mon Nov 21 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 2.0.1-1 - Update package to version 2.0.1 * Mon May 9 2022 yaoxin <yaoxin30@h-partners.com> - 1.22.0-2 - License compliance rectification * Mon Jun 28 2021 Python_Bot <Python_Bot@openeuler.org> - 1.22.0-1 - Package Spec generated
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2