5 Star 0 Fork 5

src-openEuler/python-test-server

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-test-server.spec 1.66 KB
一键复制 编辑 原始数据 按行查看 历史
%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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-test-server.git
git@gitee.com:src-openeuler/python-test-server.git
src-openeuler
python-test-server
python-test-server
master

搜索帮助