Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
ea4f9c4488
!8 Update to 1.6.2
From: @wu-leilei 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2023-05-19 01:04:38 +00:00
wu-leilei
48d6a36571 Update to 1.6.2 2023-05-18 10:56:31 +08:00
openeuler-ci-bot
7f18ce7781
!7 Update package
From: @liqiuyu123 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2022-12-07 08:16:57 +00:00
liqiuyu123
13a60c5d9b update version to 1.5 2022-11-18 14:38:40 +08:00
openeuler-ci-bot
78f426c735 !5 Remove subpackage python2-blinker
From: @lei_ju
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-10-30 15:39:10 +08:00
lei_ju
054d6cadf8 Remove subpackage python2-blinker 2020-10-30 14:15:20 +08:00
openeuler-ci-bot
bdc5457acb !2 Fix source0
From: @kkkl12
Reviewed-by: @yanzh_h
Signed-off-by: @yanzh_h
2020-09-29 14:10:55 +08:00
kkkl12
96a880f4da Fix Source0 2020-09-29 10:29:37 +08:00
openeuler-ci-bot
6c0d76a26d !1 add yaml file
Merge pull request !1 from ultra_planet/master
2020-05-09 15:49:08 +08:00
ultra_planet
c89e18d043 add yaml file 2020-05-09 09:34:30 +08:00
4 changed files with 46 additions and 40 deletions

Binary file not shown.

BIN
blinker-1.6.2.tar.gz Normal file

Binary file not shown.

View File

@ -1,13 +1,12 @@
%global _empty_manifest_terminate_build 0
Name: python-blinker
Version: 1.4
Release: 4
Version: 1.6.2
Release: 1
Summary: A powerful signal lib based on Python
License: MIT
URL: https://pythonhosted.org/blinker/
Source0: http://pypi.python.org/packages/source/b/blinker/blinker-%{version}.tar.gz
BuildRequires: python2-devel python2-setuptools python3-devel python3-setuptools
Source0: %{pypi_source blinker}
BuildRequires: python3-pip python3-wheel
BuildArch: noarch
%description
@ -15,54 +14,57 @@ 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}
%package -n python3-blinker
Summary: A powerful signal lib based on Python
Provides: python-blinker = %{version}-%{release}
BuildRequires: python3-devel python3-setuptools
%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
%package help
Summary: Development documents and examples for blinker
Provides: python3-blinker-doc
rm -rf %{py3dir}
cp -a . %{py3dir}
%description help
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}
%build
%{__python2} setup.py build
cd %{py3dir}
%{__python3} setup.py build
cd -
%pyproject_build
%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
%pyproject_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
%files -n python3-blinker
%doc docs/ CHANGES LICENSE README.md PKG-INFO
%{python3_sitelib}/*.egg-info
%{python3_sitelib}/blinker
%{python3_sitelib}/*
%files help
%{_docdir}/*
%changelog
* Thu May 18 2023 wulei <wu_lei@hoperun.com> - 1.6.2-1
- Update to 1.6.2
* Fri Nov 18 2022 liqiuyu <liqiuyu@kylinos.cn> - 1.5-1
- Update package to version 1.5
* Wed Oct 21 2020 chengzihan <chengzihan2@huawei.com> - 1.4-6
- Remove subpackage python2-blinker
* 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

4
python-blinker.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: pypi
src_repo: blinker
tag_prefix: "^v"
seperator: "."