加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-zeroconf.spec 1.68 KB
一键复制 编辑 原始数据 按行查看 历史
abushwang 提交于 2023-10-07 11:43 . update to 0.102.0
%global pypi_name zeroconf
%global _description \
Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)
Summary: Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)
Name: python-zeroconf
Version: 0.102.0
Release: 1%{?dist}
License: LGPL-2.0-only and LGPL-2.1-only
URL: https://github.com/jstasiak/python-zeroconf
Source0: %pypi_source
BuildRequires: python3-pytest python3-pytest-asyncio python3-cython
BuildArch: noarch
%description %{_description}
%package -n python3-%{pypi_name}
Summary: %{summary}
%description -n python3-%{pypi_name} %{_description}
%prep
%autosetup -n %{pypi_name}-%{version}
sed -i 's/poetry-core>=1.5.2/poetry-core/' pyproject.toml
sed -Ei 's/--cov(-|=)[^ "]+//g' pyproject.toml
%generate_buildrequires
%pyproject_buildrequires
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files %{pypi_name}
%check
# disable IPv6 tests due to failing in Koji/mock
%pytest -v -k "not test_sending_unicast and not test_integration_with_listener_ipv6"
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.rst
%changelog
* Sat Oct 7 2023 Shuo Wang <abushwang@tencent.com> - 0.102.0-1
- update to 0.102.0
* Tue Sep 19 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 0.39.4-4
- Rebuilt for python 3.11
* Fri Sep 08 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 0.39.4-3
- Rebuilt for OpenCloudOS Stream 23.09
* Fri Apr 28 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 0.39.4-2
- Rebuilt for OpenCloudOS Stream 23.05
* Mon Apr 17 2023 kianli <kianli@tencent.com> - 0.39.4-1
- initial build
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化