Accepting request 489400 from home:TheBlackCat:branches:devel:languages:python
- Update to 0.4.12 - Implement singlespec version OBS-URL: https://build.opensuse.org/request/show/489400 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=39
This commit is contained in:
parent
69b3b5cebd
commit
e9068dfa18
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c4417624aa88380cdf0fe110a8a6e0dbcc26f80887197fe5df0427dfa348ae62
|
|
||||||
size 57556
|
|
3
greenlet-0.4.12.tar.gz
Normal file
3
greenlet-0.4.12.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e4c99c6010a5d153d481fdaf63b8a0782825c0721506d880403a3b9b82ae347e
|
||||||
|
size 57319
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 19 17:46:25 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Update to 0.4.12
|
||||||
|
* Stop using trashcan api
|
||||||
|
- Update to 0.4.11
|
||||||
|
* Fixes for aarch64 architecture
|
||||||
|
- Implement singlespec version
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 2 21:10:46 UTC 2016 - tbechtold@suse.com
|
Fri Sep 2 21:10:46 UTC 2016 - tbechtold@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-greenlet
|
# spec file for package python-greenlet
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) 2010 B1 Systems GmbH, Vohburg, Germany.
|
# Copyright (c) 2010 B1 Systems GmbH, Vohburg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -17,22 +17,25 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%bcond_without test
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-greenlet
|
Name: python-greenlet
|
||||||
Version: 0.4.10
|
Version: 0.4.12
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://pypi.python.org/pypi/greenlet
|
Url: http://pypi.python.org/pypi/greenlet
|
||||||
Summary: Lightweight in-process concurrent programming
|
Summary: Lightweight in-process concurrent programming
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Source0: https://pypi.io/packages/source/g/greenlet/greenlet-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/g/greenlet/greenlet-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: python-Sphinx
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: %{python_module devel}
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
BuildRequires: %{python_module setuptools}
|
||||||
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
BuildRequires: python3-Sphinx
|
||||||
%endif
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The greenlet package is a spin-off of Stackless, a version of CPython
|
The greenlet package is a spin-off of Stackless, a version of CPython
|
||||||
@ -44,9 +47,7 @@ and are synchronized with data exchanges on "channels".
|
|||||||
Summary: C development headers for python-greenlet
|
Summary: C development headers for python-greenlet
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} > 1110
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains header files required for C modules development.
|
This package contains header files required for C modules development.
|
||||||
@ -55,22 +56,29 @@ This package contains header files required for C modules development.
|
|||||||
%setup -q -n greenlet-%{version}
|
%setup -q -n greenlet-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags} -fno-tree-dominator-opts -fno-strict-aliasing" python setup.py build
|
export CFLAGS="%{optflags} -fno-tree-dominator-opts -fno-strict-aliasing"
|
||||||
|
%python_build
|
||||||
cd doc && make html && rm _build/html/.buildinfo
|
cd doc && make html && rm _build/html/.buildinfo
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
CFLAGS="%{optflags} -fno-tree-dominator-opts -fno-strict-aliasing" python setup.py -q test
|
export CFLAGS="%{optflags} -fno-tree-dominator-opts -fno-strict-aliasing"
|
||||||
|
%python_exec setup.py -q test
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS NEWS README.rst LICENSE* doc/_build/html
|
%doc AUTHORS NEWS README.rst LICENSE*
|
||||||
|
%doc doc/_build/html/
|
||||||
%{python_sitearch}/*
|
%{python_sitearch}/*
|
||||||
|
|
||||||
%files devel
|
%files %{python_files devel}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_includedir}/python*/greenlet
|
%doc AUTHORS LICENSE*
|
||||||
|
%{_includedir}/python%{python_version}*/greenlet/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user