加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-execnet.spec 2.12 KB
一键复制 编辑 原始数据 按行查看 历史
lingsheng 提交于 2020-08-11 10:02 . Update to 1.7.1
Name: python-execnet
Version: 1.7.1
Release: 1
Summary: Rapid multi-Python deployment
License: MIT and GPLv2+
URL: http://codespeak.net/execnet
Source0: https://pypi.io/packages/source/e/execnet/execnet-%{version}.tar.gz
BuildArch: noarch
BuildRequires: procps-ng
%description
execnet provides carefully tested means to ad-hoc interact with Python interpreters across version,
platform and network barriers. It provides a minimal and fast API targetting the following uses:
distribute tasks to local or remote processes
write and deploy hybrid multi-process applications
write scripts to administer multiple hosts
%package -n python3-execnet
Summary: Rapid multi-Python deployment
BuildRequires: python3-apipkg python3-devel python3-pytest python3-setuptools
BuildRequires: python3-setuptools_scm python3-sphinx
%{?python_provide:%python_provide python3-execnet}
%description -n python3-execnet
execnet provides carefully tested means to ad-hoc interact with Python interpreters across version,
platform and network barriers. It provides a minimal and fast API targetting the following uses:
distribute tasks to local or remote processes
write and deploy hybrid multi-process applications
write scripts to administer multiple hosts
%prep
%autosetup -n execnet-%{version} -p1
find . -type f -a \( -name '*.py' -o -name 'py.*' \) \
-exec sed -i '1{/^#!/d}' {} \; \
-exec chmod 644 {} \;
%build
SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%py3_build
make -C doc html PYTHONPATH=$(pwd)
rm -f doc/_build/html/.buildinfo
%install
SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%py3_install
%check
PYTHONPATH=$(pwd) LC_ALL="en_US.UTF-8" py.test-%{python3_version} -r s -k 'not test_stdouterrin_setnull' testing
%files -n python3-execnet
%license LICENSE
%doc README.rst CHANGELOG.rst
%doc doc/_build/html
%{python3_sitelib}/execnet*
%changelog
* Mon Aug 10 2020 lingsheng <lingsheng@huawei.com> - 1.7.1-1
- Update to 1.7.1
* Thu May 21 2020 yanan li <liyanan032@huawei.com> - 1.5.0-6
- Fix asserterror for testcase.
* Wed Mar 4 2020 zhouyihang<zhouyihang1@huawei.com> - 1.5.0-5
- Pakcage init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化