commit 07a2ea96c4c7a441110c3bca980e02faf187ee0ac1a2d0f374765d8ef1d238c4 Author: Todd R Date: Fri Apr 19 12:31:49 2013 +0000 Accepting request 172477 from home:TheBlackCat:branches:devel:languages:python Acceleration for python-opengl OBS-URL: https://build.opensuse.org/request/show/172477 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opengl-accelerate?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/PyOpenGL-accelerate-3.0.2.tar.gz b/PyOpenGL-accelerate-3.0.2.tar.gz new file mode 100644 index 0000000..cfcbedb --- /dev/null +++ b/PyOpenGL-accelerate-3.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:850f32dbc92040058aa25f9a7c5f3bf1f55e06a5f1d63e36134b2b7b203223b7 +size 235110 diff --git a/python-opengl-accelerate.changes b/python-opengl-accelerate.changes new file mode 100644 index 0000000..da01f2a --- /dev/null +++ b/python-opengl-accelerate.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu Apr 18 13:41:53 UTC 2013 - toddrme2178@gmail.com + +- Initial version + diff --git a/python-opengl-accelerate.spec b/python-opengl-accelerate.spec new file mode 100644 index 0000000..ef632b8 --- /dev/null +++ b/python-opengl-accelerate.spec @@ -0,0 +1,61 @@ +# +# spec file for package python-opengl-accelerate +# +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ +# + + +Name: python-opengl-accelerate +%define tarname PyOpenGL-accelerate +Version: 3.0.2 +Release: 0 +Summary: Acceleration for python-opengl +License: BSD-3-Clause +Group: Development/Libraries/Python +Url: http://pyopengl.sourceforge.net +Source0: https://pypi.python.org/packages/source/P/%{tarname}/%{tarname}-%{version}.tar.gz +BuildRequires: python-devel +BuildRequires: python-Cython +BuildRequires: python-numpy-devel +BuildRequires: python-opengl == %{version} +Requires: python-numpy +Requires: python-opengl == %{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{py_requires} + +%description +This set of C (Cython) extensions provides acceleration of common +operations for slow points in PyOpenGL 3.x. For code which uses large +arrays extensively speed-up is around 10% compared to unaccelerated +code. + +%prep +%setup -q -n %{tarname}-%{version} + +%build +CFLAGS="%{optflags} -DGLX_GLXEXT_LEGACY" python setup.py build + +%install +python setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%doc README.txt license.txt +%{python_sitearch}/OpenGL_accelerate/ +%{python_sitearch}/PyOpenGL_accelerate-%{version}-py*.egg-info + +%changelog diff --git a/python3-opengl-accelerate.changes b/python3-opengl-accelerate.changes new file mode 100644 index 0000000..da01f2a --- /dev/null +++ b/python3-opengl-accelerate.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu Apr 18 13:41:53 UTC 2013 - toddrme2178@gmail.com + +- Initial version + diff --git a/python3-opengl-accelerate.spec b/python3-opengl-accelerate.spec new file mode 100644 index 0000000..f5f083d --- /dev/null +++ b/python3-opengl-accelerate.spec @@ -0,0 +1,61 @@ +# +# spec file for package python3-opengl-accelerate +# +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ +# + + +Name: python3-opengl-accelerate +%define tarname PyOpenGL-accelerate +Version: 3.0.2 +Release: 0 +Summary: Acceleration for python-opengl +License: BSD-3-Clause +Group: Development/Libraries/Python +Url: http://pyopengl.sourceforge.net +Source0: https://pypi.python.org/packages/source/P/%{tarname}/%{tarname}-%{version}.tar.gz +BuildRequires: python3-devel +BuildRequires: python3-Cython +BuildRequires: python3-numpy-devel +BuildRequires: python3-opengl == %{version} +Requires: python3-numpy +Requires: python3-opengl == %{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{py_requires} + +%description +This set of C (Cython) extensions provides acceleration of common +operations for slow points in PyOpenGL 3.x. For code which uses large +arrays extensively speed-up is around 10% compared to unaccelerated +code. + +%prep +%setup -q -n %{tarname}-%{version} + +%build +CFLAGS="%{optflags} -DGLX_GLXEXT_LEGACY" python3 setup.py build + +%install +python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%doc README.txt license.txt +%{python3_sitearch}/OpenGL_accelerate/ +%{python3_sitearch}/PyOpenGL_accelerate-%{version}-py*.egg-info + +%changelog