1 Star 0 Fork 24

jlwwlsqc/python-cffi

forked from src-openEuler/python-cffi 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-cffi.spec 2.50 KB
一键复制 编辑 原始数据 按行查看 历史
openeuler-ci-bot 提交于 2020-11-20 19:53 . upgrade 1.14.4
%global _name cffi
%global _summary C Foreign Function Interface for Python
%global _description \
C Foreign Function Interface for Python. Interact with almost any C code from Python,\
based on C-like declarations that you can often copy-paste from header files or documentation.
Name: python-%{_name}
Version: 1.14.4
Release: 1
Summary: %{_summary}
License: MIT
URL: http://cffi.readthedocs.org
Source0: https://files.pythonhosted.org/packages/source/c/cffi/%{_name}-%{version}.tar.gz
Buildrequires: gdb libffi-devel gcc-c++ gcc python3-sphinx
%?python_enable_dependency_generator
%description %{_description}
%package -n python3-%{_name}
Summary: %{_summary}
Buildrequires: python3-devel python3-pycparser python3-pytest python3-setuptools
%{?python_provide:%python_provide python3-%{_name}}
%description -n python3-%{_name} %{_description}
%package_help
%prep
%autosetup -n %{_name}-%{version} -p1
%build
%py3_build
%install
%py3_install
%check
PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest c/ testing/
%files -n python3-%{_name}
%defattr(-,root,root)
%license LICENSE AUTHORS
%{python3_sitearch}/%{_name}/*
%{python3_sitearch}/%{_name}*info/
%{python3_sitearch}/_%{_name}*.so
%files help
%defattr(-,root,root)
%doc PKG-INFO README.md
%changelog
* Mon Feb 1 2021 wangjie<wangjie294@huawei.com> - 1.14.4-1
- DESC:upgrade 1.14.4-1
* Fri Nov 20 2020 shixuantong <shixuantong@huawei.com> - 1.14.0-4
- Type:bufix
- CVE:NA
- SUG:NA
- DESC:fix test_init_once_multithread AssertionError for x86_64
* Fri Oct 30 2020 wuchaochao <wuchaochao4@huawei.com> - 1.14.0-3
- Type:bufix
- CVE:NA
- SUG:NA
- DESC:remove python2
* Mon Aug 10 2020 tianwei <tianwei12@huawei.com> - 1.14.0.-2
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:open make check
* Thu Jul 23 2020 dingyue<dingyue5@huawei.com> - 1.14.0-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:NA
* Thu Jun 18 2020 gaochao<gaochao52@huawei.com> - 1.11.5-11
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:potential fix for python3.8
* Tue Nov 5 2019 shenyangyang<shenyangyang4@huawei.com> - 1.11.5-10
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:add provides of pythonx.7dist(cffi)
* Fri Sep 27 2019 shenyangyang<shenyangyang4@huawei.com> - 1.11.5-9
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:move license file
* Thu Sep 5 2019 shenyangyang<shenyangyang4@huawei.com> - 1.11.5-8
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:optimize the method to provide default version of python-name
* Wed Aug 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.11.5-7
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jlwwlsqc/python-cffi.git
git@gitee.com:jlwwlsqc/python-cffi.git
jlwwlsqc
python-cffi
python-cffi
master

搜索帮助