Compare commits
10 Commits
0d80aafdfa
...
f65cde4973
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f65cde4973 | ||
|
|
0f2c1a4ff4 | ||
|
|
53b5a6ae24 | ||
|
|
6d7cc5c9f2 | ||
|
|
43283dd804 | ||
|
|
6f8169256b | ||
|
|
4109780c40 | ||
|
|
08d9a9cc41 | ||
|
|
a8c388650c | ||
|
|
364b6d0c30 |
Binary file not shown.
BIN
cairocffi-1.6.1.tar.gz
Normal file
BIN
cairocffi-1.6.1.tar.gz
Normal file
Binary file not shown.
@ -1,27 +1,12 @@
|
|||||||
%global srcname cairocffi
|
%global _empty_manifest_terminate_build 0
|
||||||
|
Name: python-cairocffi
|
||||||
Name: python-cairocffi
|
Version: 1.6.1
|
||||||
Version: 1.3.0
|
Release: 1
|
||||||
Release: 1
|
Summary: cffi-based cairo bindings for Python
|
||||||
Summary: cffi-based cairo bindings for Python
|
License: BSD-3-Clause
|
||||||
License: BSD-3-Clause
|
URL: https://pypi.python.org/pypi/cairocffi/
|
||||||
URL: https://pypi.python.org/pypi/cairocffi/
|
Source0: https://files.pythonhosted.org/packages/6e/37/982a8650ab8c0b3bd0021e3f7041e9707ce35f6cc43b7def2c43ff109dd9/cairocffi-1.6.1.tar.gz
|
||||||
Source0: https://files.pythonhosted.org/packages/source/c/cairocffi/cairocffi-1.3.0.tar.gz
|
BuildArch: noarch
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
|
||||||
BuildRequires: python3-setuptools
|
|
||||||
BuildRequires: python3-cffi >= 1.1.0
|
|
||||||
BuildRequires: python3-pytest
|
|
||||||
BuildRequires: python3-pytest-cov
|
|
||||||
BuildRequires: python3-pytest-runner
|
|
||||||
BuildRequires: python3-xcffib >= 0.3.2
|
|
||||||
BuildRequires: cairo-devel
|
|
||||||
# required to run the test suite
|
|
||||||
BuildRequires: python3-numpy
|
|
||||||
BuildRequires: gdk-pixbuf2
|
|
||||||
BuildRequires: gdk-pixbuf2-modules
|
|
||||||
BuildRequires: xorg-x11-server-Xvfb
|
|
||||||
|
|
||||||
%global _description\
|
%global _description\
|
||||||
cairocffi is a CFFI-based drop-in replacement for Pycairo, a set of\
|
cairocffi is a CFFI-based drop-in replacement for Pycairo, a set of\
|
||||||
@ -32,40 +17,77 @@ image buffers, PNG, PostScript, PDF, and SVG file output.
|
|||||||
%description %_description
|
%description %_description
|
||||||
|
|
||||||
%package -n python3-cairocffi
|
%package -n python3-cairocffi
|
||||||
Summary: cffi-based cairo bindings for Python
|
Summary: cffi-based cairo bindings for Python
|
||||||
|
Provides: python-cairocffi = %{version}-%{release}
|
||||||
|
Provides: python%{python3_pkgversion}dist(cairocffi[xcb]) = %{version}
|
||||||
|
Provides: python%{python3_version}dist(cairocffi[xcb]) = %{version}
|
||||||
|
%{?python_provide:%python_provide python3-cairocffi}
|
||||||
Requires: python3-cffi
|
Requires: python3-cffi
|
||||||
Requires: cairo
|
Requires: cairo
|
||||||
# required by cairocffi.pixbuf
|
# required by cairocffi.pixbuf
|
||||||
Requires: python3-xcffib >= 0.3.2
|
Requires: python3-xcffib >= 0.3.2
|
||||||
# Provide the cairocffi[xcb] extras, because there is no reasonable split
|
BuildRequires: python3-devel
|
||||||
# Be aware that %%version is not converted to the Pythonistic version here!
|
BuildRequires: python3-cffi
|
||||||
Provides: python%{python3_pkgversion}dist(cairocffi[xcb]) = %{version}
|
BuildRequires: python3-pytest
|
||||||
Provides: python%{python3_version}dist(cairocffi[xcb]) = %{version}
|
BuildRequires: python3-pytest-cov
|
||||||
%{?python_provide:%python_provide python3-cairocffi}
|
BuildRequires: python3-pytest-runner
|
||||||
|
BuildRequires: python3-xcffib
|
||||||
|
BuildRequires: cairo-devel
|
||||||
|
BuildRequires: python3-numpy
|
||||||
|
BuildRequires: gdk-pixbuf2
|
||||||
|
BuildRequires: gdk-pixbuf2-modules
|
||||||
|
BuildRequires: xorg-x11-server-Xvfb
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-wheel
|
||||||
|
BuildRequires: python3-flit
|
||||||
|
%description -n python3-cairocffi
|
||||||
|
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: Development documents and examples for cairocffi
|
||||||
|
Provides: python3-cairocffi-doc
|
||||||
|
%description help
|
||||||
|
|
||||||
%description -n python3-cairocffi %_description
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n cairocffi-%{version} -p1
|
%autosetup -n cairocffi-%{version}
|
||||||
rm -rf %{srcname}.egg-info
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%pyproject_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%pyproject_install cairocffi==%{version}
|
||||||
|
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
|
||||||
|
if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
|
||||||
%check
|
%files -n python3-cairocffi
|
||||||
%py3_build
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
|
%files help
|
||||||
%files -n python3-cairocffi
|
%{_docdir}/*
|
||||||
%license LICENSE
|
|
||||||
%doc README.rst
|
|
||||||
%{python3_sitelib}/%{srcname}/
|
|
||||||
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info/
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 21 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 1.6.1-1
|
||||||
|
- Update package to version 1.6.1
|
||||||
|
|
||||||
|
* Mon Jul 03 2023 ZixuanChen <chenzixuan@kylinos.cn> - 1.6.0-1
|
||||||
|
- Update package to version 1.6.0
|
||||||
|
|
||||||
|
* Sun Apr 23 2023 Ge Wang <wang__ge@126.com> - 1.5.1-1
|
||||||
|
- Update package to version 1.5.1
|
||||||
|
|
||||||
|
* Wed Apr 12 2023 wubijie <wubijie@kylinos.cn> - 1.5.0-1
|
||||||
|
- Update package to version 1.5.0
|
||||||
|
|
||||||
|
* Tue Nov 8 2022 hkgy <kaguyahatu@outlook.com> - 1.4.0-1
|
||||||
|
- Upgrade to v1.4.0
|
||||||
|
|
||||||
* Thu Jun 23 2022 houyingchao <houyingchao@h-partners.com> - 1.3.0-1
|
* Thu Jun 23 2022 houyingchao <houyingchao@h-partners.com> - 1.3.0-1
|
||||||
- Upgrade to version 1.3.0
|
- Upgrade to version 1.3.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user