代码拉取完成,页面将自动刷新
%global _empty_manifest_terminate_build 0
Name: python-test-server
Version: 0.0.43
Release: 2
Summary: Server for testing HTTP clients
License: MIT
URL: https://github.com/lorien/test_server
Source0: https://files.pythonhosted.org/packages/source/t/test_server/test_server-%{version}.tar.gz
BuildArch: noarch
%description
Simple HTTP Server for testing HTTP clients.
%package -n python3-test-server
Summary: Server for testing HTTP clients
Provides: python-test-server = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-flit
%description -n python3-test-server
Test-server for python3.
%package help
Summary: Development documents and examples for test-server
Provides: python3-test-server-doc
%description help
Development documents and examples for test-server.
%prep
%autosetup -p1 -n test_server-%{version}
%build
%pyproject_build
%install
%pyproject_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
%files -n python3-test-server
%{python3_sitelib}/*
%files help
%{_docdir}/*
%changelog
* Mon Oct 28 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 0.0.43-2
- Delete setup.py patch and replace with pyproject_build compilation mode
* Tue Apr 02 2024 zhaojingyu <zhaojingyu@kylinos.cn> - 0.0.43-1
- Update package to version 0.0.43
* Thu Feb 16 2023 wubijie <wubijie@kylinos.cn> - 0.0.42-1
- Update package to version 0.0.42
* Fri Jul 08 2022 Xu Jin <jinxu@kylinos.cn> - 0.0.40-1
- Package Spec generated
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。