From 350a47c2c3f1edbf971b539c4de46a3310b8a3efa3d449c927be3e51af03c14e Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 15 Jan 2013 13:49:26 +0000 Subject: [PATCH] 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 --- python-zope.interface.changes | 12 +++++++ python-zope.interface.spec | 7 ++-- python3-zope.interface.changes | 5 +++ python3-zope.interface.spec | 58 ++++++++++++++++++++++++++++++++++ zope.interface-4.0.1.tar.gz | 3 -- zope.interface-4.0.3.tar.gz | 3 ++ 6 files changed, 83 insertions(+), 5 deletions(-) create mode 100644 python3-zope.interface.changes create mode 100644 python3-zope.interface.spec delete mode 100644 zope.interface-4.0.1.tar.gz create mode 100644 zope.interface-4.0.3.tar.gz diff --git a/python-zope.interface.changes b/python-zope.interface.changes index c7bf660..fe34d25 100644 --- a/python-zope.interface.changes +++ b/python-zope.interface.changes @@ -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 diff --git a/python-zope.interface.spec b/python-zope.interface.spec index cad4929..dcf1118 100644 --- a/python-zope.interface.spec +++ b/python-zope.interface.spec @@ -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,-) diff --git a/python3-zope.interface.changes b/python3-zope.interface.changes new file mode 100644 index 0000000..b0c29c5 --- /dev/null +++ b/python3-zope.interface.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Mon Jan 14 13:53:23 UTC 2013 - p.drouand@gmail.com + +- Initial python3 support + diff --git a/python3-zope.interface.spec b/python3-zope.interface.spec new file mode 100644 index 0000000..1bc7f05 --- /dev/null +++ b/python3-zope.interface.spec @@ -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 diff --git a/zope.interface-4.0.1.tar.gz b/zope.interface-4.0.1.tar.gz deleted file mode 100644 index 39fcc0a..0000000 --- a/zope.interface-4.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b9f4b92c91ac4defbf0269ec891c3528110224259019b009a24d50e0ebebe9c9 -size 136058 diff --git a/zope.interface-4.0.3.tar.gz b/zope.interface-4.0.3.tar.gz new file mode 100644 index 0000000..e869aef --- /dev/null +++ b/zope.interface-4.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be6f0f8b897b8e0521441b923c3e2abc50d5ac2531a376d8d3a0bb69b3207bb9 +size 140124