14
0

Accepting request 148442 from home:posophe:branches:devel:languages:python

Update and python3 support

OBS-URL: https://build.opensuse.org/request/show/148442
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=12
This commit is contained in:
Sascha Peilicke
2013-01-15 13:49:26 +00:00
committed by Git OBS Bridge
parent 8080b6e390
commit 350a47c2c3
6 changed files with 83 additions and 5 deletions

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Jan 14 13:53:10 UTC 2013 - p.drouand@gmail.com
- Initial python3 support
-------------------------------------------------------------------
Mon Jan 14 13:52:19 UTC 2013 - p.drouand@gmail.com
- Update to 4.0.3 version:
* Fleshed out PyPI Trove classifiers.
- Remove duplicate files with fdupes
-------------------------------------------------------------------
Sat Oct 13 21:42:08 CST 2012 - douglarek@outlook.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-zope.interface
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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
@@ -17,7 +17,7 @@
Name: python-zope.interface
Version: 4.0.1
Version: 4.0.3
Release: 0
Url: http://pypi.python.org/pypi/zope.interface
Summary: Interfaces for Python
@@ -27,6 +27,7 @@ Source: http://pypi.python.org/packages/source/z/zope.interface/zope.int
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: fdupes
Provides: python-zopeinterface = %{version}
Obsoletes: python-zopeinterface < %{version}
Provides: python-zope-interface = %{version}
@@ -52,6 +53,8 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
# Remove duplicate files
%fdupes -s %{buildroot}
%files
%defattr(-,root,root,-)

View File

@@ -0,0 +1,5 @@
-------------------------------------------------------------------
Mon Jan 14 13:53:23 UTC 2013 - p.drouand@gmail.com
- Initial python3 support

View File

@@ -0,0 +1,58 @@
#
# spec file for package python3-zope.interface
#
# 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-zope.interface
Version: 4.0.3
Release: 0
Url: http://pypi.python.org/pypi/zope.interface
Summary: Interfaces for Python
License: ZPL-2.1
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/z/zope.interface/zope.interface-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fdupes
BuildRequires: python3
BuildRequires: python3-devel
BuildRequires: python3-distribute
%description
This package is intended to be independently reusable in any Python
project. It is maintained by the Zope Toolkit project.
This package provides an implementation of object interfaces for Python.
Interfaces are a mechanism for labeling objects as conforming to a given
API or contract. So, this package can be considered as implementation of
the Design By Contract methodology support in Python.
%prep
%setup -q -n zope.interface-%{version}
%build
python3 setup.py build
%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
# Remove duplicate files
%fdupes -s %{buildroot}
%files
%defattr(-,root,root,-)
%doc COPYRIGHT.txt CHANGES.txt LICENSE.txt README.txt
%{python3_sitearch}/*
%changelog

View File

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

View File

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