From 628334fb42752420b95d3294301508424f3d4fe6 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 11 Apr 2023 13:23:00 +0000 Subject: automatic import of python-skia-pathops --- python-skia-pathops.spec | 81 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 python-skia-pathops.spec (limited to 'python-skia-pathops.spec') diff --git a/python-skia-pathops.spec b/python-skia-pathops.spec new file mode 100644 index 0000000..1bb8fc9 --- /dev/null +++ b/python-skia-pathops.spec @@ -0,0 +1,81 @@ +%global _empty_manifest_terminate_build 0 +Name: python-skia-pathops +Version: 0.7.4 +Release: 1 +Summary: Python access to operations on paths using the Skia library +License: BSD-3-Clause +URL: https://github.com/fonttools/skia-pathops +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/0c/9c/402e16ae956a10d56fe1ab9969136f92e043f8fafdbb3a63ed00b5c43ad0/skia-pathops-0.7.4.zip + +Requires: python3-pytest +Requires: python3-coverage +Requires: python3-pytest-xdist +Requires: python3-pytest-randomly + +%description +To install or update to the latest released package, run: + pip3 install --upgrade skia-pathops + +%package -n python3-skia-pathops +Summary: Python access to operations on paths using the Skia library +Provides: python-skia-pathops +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-cffi +BuildRequires: gcc +BuildRequires: gdb +%description -n python3-skia-pathops +To install or update to the latest released package, run: + pip3 install --upgrade skia-pathops + +%package help +Summary: Development documents and examples for skia-pathops +Provides: python3-skia-pathops-doc +%description help +To install or update to the latest released package, run: + pip3 install --upgrade skia-pathops + +%prep +%autosetup -n skia-pathops-0.7.4 + +%build +%py3_build + +%install +%py3_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 +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-skia-pathops -f filelist.lst +%dir %{python3_sitearch}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot - 0.7.4-1 +- Package Spec generated -- cgit v1.2.3