diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-11 13:23:00 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 13:23:00 +0000 |
commit | 628334fb42752420b95d3294301508424f3d4fe6 (patch) | |
tree | 62889a92e99fd999d61f55b52c6702b838ee65b1 | |
parent | fb8335ff9c7ef8cc75efea8c8bddc8ac0fcaff21 (diff) |
automatic import of python-skia-pathops
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-skia-pathops.spec | 81 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 83 insertions, 0 deletions
@@ -0,0 +1 @@ +/skia-pathops-0.7.4.zip 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 <Python_Bot@openeuler.org> - 0.7.4-1 +- Package Spec generated @@ -0,0 +1 @@ +c39fb7d6356b37b7a6373eade7c6c9d1 skia-pathops-0.7.4.zip |