diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-02-24 02:38:26 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-02-24 02:38:26 +0000 |
commit | 5b9205b61c40fecced23545b664142a81530cfd5 (patch) | |
tree | ccec066e1c51bdb447d8dbd95454594cb4187b4c | |
parent | 9764f955017024f82e7af0dc8e80331c0cd23656 (diff) |
automatic import of python3-booleanoperationsopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-booleanoperations.spec | 82 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 84 insertions, 0 deletions
@@ -0,0 +1 @@ +/booleanOperations-0.9.0.zip diff --git a/python-booleanoperations.spec b/python-booleanoperations.spec new file mode 100644 index 0000000..fc7d20e --- /dev/null +++ b/python-booleanoperations.spec @@ -0,0 +1,82 @@ +%global _empty_manifest_terminate_build 0 +Name: python-booleanOperations +Version: 0.9.0 +Release: 1 +Summary: Boolean operations on paths. +License: MIT +URL: https://github.com/typemytype/booleanOperations +Source0: https://files.pythonhosted.org/packages/57/d9/9eae7bc4ba3a38ab7426522fb08e12df54aec27595d7bcd1bc0670aec873/booleanOperations-0.9.0.zip +BuildArch: noarch + +Requires: python3-pyclipper +Requires: python3-fonttools + +%description +Boolean operations on paths which uses a super fast `polygon clipper +library by Angus Johnson <http://www.angusj.com/delphi/clipper.php>`__. +You can download the latest version from PyPI: +https://pypi.org/project/booleanOperations. + +%package -n python3-booleanOperations +Summary: Boolean operations on paths. +Provides: python-booleanOperations +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%description -n python3-booleanOperations +Boolean operations on paths which uses a super fast `polygon clipper +library by Angus Johnson <http://www.angusj.com/delphi/clipper.php>`__. +You can download the latest version from PyPI: +https://pypi.org/project/booleanOperations. + +%package help +Summary: Development documents and examples for booleanOperations +Provides: python3-booleanOperations-doc +%description help +Boolean operations on paths which uses a super fast `polygon clipper +library by Angus Johnson <http://www.angusj.com/delphi/clipper.php>`__. +You can download the latest version from PyPI: +https://pypi.org/project/booleanOperations. + +%prep +%autosetup -n booleanOperations-0.9.0 + +%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-booleanOperations -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri Feb 24 2023 Python_Bot <Python_Bot@openeuler.org> - 0.9.0-1 +- Package Spec generated @@ -0,0 +1 @@ +a5bbdb108b0fc58a6f7effcc27c51285 booleanOperations-0.9.0.zip |