121 Star 0 Fork 4

src-openEuler / python-simplegeneric
关闭

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-simplegeneric.spec 1.41 KB
一键复制 编辑 原始数据 按行查看 历史
zhanghua 提交于 2020-10-29 15:18 +08:00 . remove python2 of package python-simplegeneric
Name: python-simplegeneric
Version: 0.8.1
Release: 12
Summary: A package with simple generic functions
License: Python or ZPLv2.1
URL: http://cheeseshop.python.org/pypi/simplegeneric
Source0: https://pypi.python.org/packages/source/s/simplegeneric/simplegeneric-0.8.1.zip
BuildArch: noarch
BuildRequires: python3-devel python3-setuptools
%description
The package lets you define simple single-dispatch generic functions, akin to Python's built-in
generic functions like len(), iter() and so on.
%package -n python3-simplegeneric
Summary: A python3 package with simple generic functions
License: Python or ZPLv2.1
%{?python_provide:%python_provide python3-simplegeneric}
%description -n python3-simplegeneric
The package lets you define simple single-dispatch generic functions, akin to Python's built-in
generic functions like len(), iter() and so on.
%prep
%autosetup -n simplegeneric-%{version}
%build
%py3_build
%install
%py3_install
%check
PYTHONPATH=$(pwd) %{__python3} setup.py test
%files -n python3-simplegeneric
%doc README.txt
%{python3_sitelib}/__pycache__/simplegeneric.cpython*
%{python3_sitelib}/{simplegeneric.py*,simplegeneric-%{version}-py?.?.egg-info}
%changelog
* Fri Mar 6 2020 zhanghua <zhanghua40@huawei.com> - 0.8.1-12
- remove python2 subpackage
* Fri Mar 6 2020 yinzhenling <yingzhenling2@huawei.com> - 0.8.1-11
- Initial package
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-simplegeneric.git
git@gitee.com:src-openeuler/python-simplegeneric.git
src-openeuler
python-simplegeneric
python-simplegeneric
openEuler-22.03-LTS-SP1

搜索帮助