Accepting request 235633 from devel:languages:python

- update to 0.8.2
  * minor bugfixes
- remove cffi-pytest-integration.patch as it is no longer necessary (forwarded request 234745 from matejcik)

OBS-URL: https://build.opensuse.org/request/show/235633
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cffi?expand=0&rev=5
This commit is contained in:
Stephan Kulow
2014-06-24 20:45:49 +00:00
committed by Git OBS Bridge
4 changed files with 40 additions and 12 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b723ab49b48c1604e5a3b5e838b0049eaa61e365408a71e40ba0a42d16472042
size 175579

3
cffi-0.8.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8192393640f7bc304ce82669b35eb90592566a30abbb4924456f52079afc18e2
size 197622

View File

@@ -1,3 +1,32 @@
-------------------------------------------------------------------
Mon May 19 16:35:30 UTC 2014 - jmatejek@suse.com
- update to 0.8.2
* minor bugfixes
- remove cffi-pytest-integration.patch as it is no longer necessary
-------------------------------------------------------------------
Mon Mar 31 14:18:44 UTC 2014 - speilicke@suse.com
- Require libffi43-devel on SLE_11_SP2 instead of using pkg-config to fix build
-------------------------------------------------------------------
Mon Feb 24 12:09:15 UTC 2014 - mvyskocil@suse.com
- update to 0.8.1
* fixes on Python 3 on OS/X, and some FreeBSD fixes (thanks Tobias)
- added a note wrt disabled tests
- add cffi-pytest-integration.patch: allowinf call pytest from setup.py
-------------------------------------------------------------------
Mon Nov 18 14:33:39 UTC 2013 - mvyskocil@suse.com
- update to 0.8
* integrated support for C99 variable-sized structures
* multi-thread safety
* ffi.getwinerror()
* a number of small fixes
-------------------------------------------------------------------
Thu Oct 24 10:59:45 UTC 2013 - speilicke@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-cffi
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 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
@@ -17,27 +17,26 @@
Name: python-cffi
Version: 0.7.2
Version: 0.8.2
Release: 0
Summary: Foreign Function Interface for Python calling C code
License: MIT
Group: Development/Languages/Python
Url: http://cffi.readthedocs.org
Source: http://pypi.python.org/packages/source/c/cffi/cffi-%{version}.tar.gz
Source0: http://pypi.python.org/packages/source/c/cffi/cffi-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: pkgconfig(libffi)
# Documentation requirements:
BuildRequires: python-Sphinx
# Test requirements:
#BuildRequires: python-nose
#BuildRequires: python-py
BuildRequires: python-pycparser
#BuildRequires: python-pytest
BuildRequires: python-pytest
Requires: python-pycparser
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
BuildRequires: libffi43-devel
%else
BuildRequires: pkgconfig(libffi)
%endif
%description
@@ -55,7 +54,7 @@ python setup.py build_sphinx && rm build/sphinx/html/.buildinfo
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
python setup.py test
PYTHONPATH=%{buildroot}%{python_sitearch} py.test
%files
%defattr(-,root,root,-)