1 Star 0 Fork 12

alan/python-blinker

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-blinker.spec 1.99 KB
一键复制 编辑 原始数据 按行查看 历史
alan 提交于 2020-09-29 10:29 +08:00 . Fix Source0
Name: python-blinker
Version: 1.4
Release: 5
Summary: A powerful signal lib based on Python
License: MIT
URL: https://pythonhosted.org/blinker/
Source0: https://pypi.python.org/packages/source/b/blinker/blinker-%{version}.tar.gz
BuildRequires: python2-devel python2-setuptools python3-devel python3-setuptools
BuildArch: noarch
%description
Blinker is a signal lib based on Python.It supports both object-to-object
and multicasting for python object.The core of blinker is minimal but provides
quite powerful features.
%package -n python2-blinker
Summary: A powerful signal lib based on Python2
%{?python_provide:%python_provide python2-blinker}
%description -n python2-blinker
Blinker is a signal lib based on Python2.It supports both object-to-object
and multicasting for python object.The core of blinker is minimal but provides
quite powerful features.
%package -n python3-blinker
Summary: A powerful signal lib based on Python3
%{?python_provide:%python_provide python3-blinker}
%description -n python3-blinker
Blinker is a signal lib based on Python.It supports both object-to-object
and multicasting for python object.The core of blinker is minimal but provides
quite powerful features.
%prep
%autosetup -n blinker-%{version} -p1
rm -rf %{py3dir}
cp -a . %{py3dir}
%build
%{__python2} setup.py build
cd %{py3dir}
%{__python3} setup.py build
cd -
%install
%{__python2} setup.py install -O1 --root $RPM_BUILD_ROOT --skip-build
cd %{py3dir}
%{__python3} setup.py install -O1 --root $RPM_BUILD_ROOT --skip-build
cd -
%files -n python2-blinker
%doc docs/ CHANGES LICENSE README.md PKG-INFO
%{python2_sitelib}/*.egg-info
%{python2_sitelib}/blinker
%files -n python3-blinker
%doc docs/ CHANGES LICENSE README.md PKG-INFO
%{python3_sitelib}/*.egg-info
%{python3_sitelib}/blinker
%changelog
* Tue Sep 29 2020 liuweibo <liuweibo10@huawei.com> - 1.4-5
- Fix Source0
* Tue Nov 26 2019 zhouyihang <zhouyihang1@huawei.com> - 1.4-4
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/kkkl12/python-blinker.git
git@gitee.com:kkkl12/python-blinker.git
kkkl12
python-blinker
python-blinker
master

搜索帮助

371d5123 14472233 46e8bd33 14472233