代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-py2pack 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global with_python3 1
Name: python-py2pack
Version: 0.6.3
Release: 1
Url: http://github.com/saschpe/py2pack
Summary: Generate distribution packages from Python packages on PyPI
License: GPLv2
Source: https://pypi.io/packages/source/p/py2pack-0.6.3.tar.gz
BuildArch: noarch
%description
This script allows to generate RPM spec or DEB dsc files from Python modules.
It allows to list Python modules or search for them on the Python Package Index
(PyPI). Conveniently, it can fetch tarballs and change logs making it an
universal tool to package Python modules.
%if 0%{?with_python3}
%package -n python3-py2pack
Summary: General purpose template engine
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-jinja2
BuildRequires: python3-lxml
BuildRequires: python3-requests
BuildRequires: python3-six
BuildRequires: python3-cssselect
Requires: python3-jinja2
Requires: python3-lxml
Requires: python3-requests
Requires: python3-six
%{?python_provide:%python_provide python3-py2pack}
%description -n python3-py2pack
This script allows to generate RPM "spec" or DEB "dsc" files from Python modules.
It allows to list Python modules or search for them on the Python Package Index
(PyPI). Conveniently, it can fetch tarballs and change logs making it an
universal tool to package Python modules.
%endif
%prep
%setup -q -n py2pack-0.6.3
%build
%if 0%{?with_python3}
%py3_build
%endif
%install
%if 0%{?with_python3}
%py3_install
%endif
mkdir -p %{buildroot}/%{_mandir}/man1/
mv %{buildroot}/%{_prefix}/man/man1/py2pack.* %{buildroot}/%{_mandir}/man1/
rm -rf %{buildroot}/%{_docdir}/py2pack
%if 0%{?with_python3}
%files -n python3-py2pack
%license LICENSE
%doc AUTHORS README.rst
%doc doc/py2pack.html
%{python3_sitelib}/py2pack*
%{_mandir}/man1/py2pack.1.*
%{_bindir}/py2pack
%endif
%changelog
* Thu Jul 08 2021 xuyonghui <xuyonghui@kylinos.cn> - 0.6.3-1
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。