Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
c6a2d5220d
!12 update pycairo version to 1.21.0
From: @yangl777 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
2022-10-24 11:57:38 +00:00
yangl777
e6570620c7 update pycairo version to 1.21.0 2022-10-24 09:32:43 +00:00
openeuler-ci-bot
816f0bc598 !7 update pycairo to 1.20.0
From: @haochenstar
Reviewed-by: @orange-snn
Signed-off-by: @orange-snn
2021-01-30 18:12:24 +08:00
haochenstar
8d73dbd3fc update pycairo to 1.20.0 2021-01-30 09:35:53 +08:00
openeuler-ci-bot
405da72434 !6 remove python2
From: @eaglegai
Reviewed-by: @orange-snn
Signed-off-by: @orange-snn
2020-10-30 10:25:32 +08:00
eaglegai
3523083652 remove python2, don't support python2 anymore 2020-10-29 10:00:05 +08:00
openeuler-ci-bot
054a18003a !3 update pycairo version to 1.19.1
Merge pull request !3 from eaglegai/master
2020-07-29 15:15:25 +08:00
eaglegai
f093929fdf update pycairo version to 1.19.1 2020-07-29 11:36:15 +08:00
openeuler-ci-bot
a793924a7e !2 add yaml file
Merge pull request !2 from yixiangzhike/master
2020-06-22 18:51:50 +08:00
yixiangzhike
e241a72bc3 add yaml file 2020-06-13 14:38:30 +08:00
4 changed files with 31 additions and 36 deletions

Binary file not shown.

BIN
pycairo-1.21.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,25 +1,16 @@
Name: pycairo
Version: 1.18.2
Version: 1.21.0
Release: 1
Summary: A python module providing bindings for the cairo graphics library
License: MPLv1.1 or LGPLv2
URL: https://cairographics.org/pycairo
Source0: https://github.com/pygobject/pycairo/releases/download/v%{version}/pycairo-%{version}.tar.gz
BuildRequires: cairo-devel gcc pkgconfig python2-devel python2-pytest python3-devel python3-pytest
BuildRequires: pkgconfig(cairo) gcc python3-devel python3-pytest python3-setuptools
%description
Pycairo is a Python module providing bindings for the cairo graphics library.
%package -n python2-cairo
Summary: Provide python2 support for the cairo graphics library
%{?python_provide:%python_provide python2-cairo}
Obsoletes: pycairo
Provides: pycairo = %{version}-%{release}
%description -n python2-cairo
Provide python2 support for the cairo graphics library.
%package -n python3-cairo
Summary: Provide python3 support for the cairo graphics library
%{?python_provide:%python_provide python3-cairo}
@ -27,17 +18,6 @@ Summary: Provide python3 support for the cairo graphics library
%description -n python3-cairo
Provide python3 support for the cairo graphics library.
%package -n python2-cairo-devel
Summary: Provide libraries and header files for pycairo
Requires: python2-cairo = %{version}-%{release}
Requires: python2-devel
Obsoletes: pycairo-devel
Provides: pycairo-devel = %{version}-%{release}
%description -n python2-cairo-devel
This package contains files required to build wrappers for cairo add-on
libraries so that they interoperate with pycairo.
%package -n python3-cairo-devel
Summary: Provide libraries and headers for py3cairo
Requires: python3-cairo = %{version}-%{release}
@ -51,40 +31,51 @@ in order to interoperate with py3cairo.
%autosetup -n %{name}-%{version} -p1
%build
%py2_build
%py3_build
%install
%py2_install
%py3_install
%check
%{__python2} setup.py test
%{__python3} setup.py test
%files -n python2-cairo
%defattr(-,root,root)
%license COPYING*
%{python2_sitearch}/cairo/*
%{python2_sitearch}/pycairo*.egg-info/*
%files -n python3-cairo
%defattr(-,root,root)
%license COPYING*
%doc README.rst
%{python3_sitearch}/cairo/*
%{python3_sitearch}/pycairo*.egg-info/*
%files -n python2-cairo-devel
%defattr(-,root,root)
%{_includedir}/pycairo/pycairo.h
%{_libdir}/pkgconfig/py*.pc
%files -n python3-cairo-devel
%defattr(-,root,root)
%{_includedir}/pycairo/py3cairo.h
%{_libdir}/pkgconfig/py*.pc
%changelog
* Mon Oct 24 2022 yanglu <yanglu72@h-partners.com> - 1.21.0-1
- Type:requirements
- Id:NA
- SUG:NA
- DESC:update pycairo version to 1.21.0
* Sat Jan 30 2021 xihaochen <xihaochen@huawei.com> - 1.20.0-1
- Type:requirements
- Id:NA
- SUG:NA
- DESC:update pycairo to 1.20.0
* Thu Oct 29 2020 gaihuiying <gaihuiying1@huawei.com> - 1.19.1-2
- Type:requirement
- ID:NA
- SUG:NA
- DESC:remove python2
* Wed Jul 29 2020 gaihuiying <gaihuiying1@huawei.com> - 1.19.1-1
- Type:requirement
- ID:NA
- SUG:NA
- DESC:update pycairo version to 1.19.1
* Wed Jan 8 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.18.2-1
- update to 1.18.2

4
pycairo.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: pygobject/pycairo
tag_prefix: ^v
seperator: .