Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jayvdb:branches:devel:languages:python
python-pgmagick
python-pgmagick.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-pgmagick.spec of Package python-pgmagick
# # spec file for package python-pgmagick # # Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without python2 %define skip_python36 1 Name: python-pgmagick Version: 0.7.5 Release: 0 Summary: Yet Another Python wrapper for GraphicsMagick License: MIT Group: Development/Languages/Python URL: https://github.com/hhatto/pgmagick/ Source: https://files.pythonhosted.org/packages/source/p/pgmagick/pgmagick-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: ghostscript-fonts-std BuildRequires: pkgconfig BuildRequires: python-rpm-macros BuildRequires: pkgconfig(GraphicsMagick++) %if 0%{?suse_version} >= 1500 BuildRequires: libboost_python3-devel %if %{with python2} BuildRequires: libboost_python-devel %endif %else BuildRequires: boost-devel %endif %python_subpackages %description The pgmagick package is a yet another boost.python based wrapper for GraphicsMagick. %prep %setup -q -n pgmagick-%{version} touch test/__init__.py #rm test/test_pgmagick_api.py #rm test/test_pgmagick_image.py #rm test/test_pgmagick_imagelist.py %build export CFLAGS="%{optflags} -fno-strict-aliasing" %python_build %install %python_install %{python_expand rm -r %{buildroot}%{$python_sitearch}/test/ %fdupes %{buildroot}%{$python_sitearch} } rm -rf build*/ _build*/ %check mv pgmagick/ /tmp %pyunittest_arch -v #%%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m pytest -v mv /tmp/pgmagick . %files %{python_files} %doc README.rst %license LICENSE %{python_sitearch}/pgmagick/ %{python_sitearch}/pgmagick-%{version}-py*.egg-info/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor