From 853cb4e05cc41e839fb1ff6dfafeeef1173ff017cbf1ee98786a9eceeb533c72 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Fri, 15 Mar 2013 13:55:50 +0000 Subject: [PATCH] - Rename to python-zope.event to match usptream name - Drop the lib dir messing around, the package is noarch - Initial python3 support - Update to 4.0.2 version: * Fleshed out PyPI Trove classifiers. * Added support for jython 2.7. - remove use of %suse_update_libdir - license update: ZPL-2.1 is ZPL-2-1 - change license to be in spdx.org format - fix file list - fix build on distributions != 11.3 - Ugly hack to make this an arch package. Apparently it does not work to have bundled modules spread over lib/lib64 - get rid of buildroot removal in install - Initial Package, Version 3.5.0 - Rename to python3-zope.event to match usptream name OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.event?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + python-zope.event.changes | 64 ++++++++++++++++++++++++++++++++++++ python-zope.event.spec | 67 ++++++++++++++++++++++++++++++++++++++ python3-zope.event.changes | 15 +++++++++ python3-zope.event.spec | 60 ++++++++++++++++++++++++++++++++++ zope.event-4.0.2.tar.bz2 | 3 ++ 7 files changed, 233 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-zope.event.changes create mode 100644 python-zope.event.spec create mode 100644 python3-zope.event.changes create mode 100644 python3-zope.event.spec create mode 100644 zope.event-4.0.2.tar.bz2 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/python-zope.event.changes b/python-zope.event.changes new file mode 100644 index 0000000..d02277d --- /dev/null +++ b/python-zope.event.changes @@ -0,0 +1,64 @@ +------------------------------------------------------------------- +Fri Mar 15 13:53:40 UTC 2013 - speilicke@suse.com + +- Rename to python-zope.event to match usptream name + +------------------------------------------------------------------- +Tue Jan 15 14:33:50 UTC 2013 - saschpe@suse.de + +- Drop the lib dir messing around, the package is noarch + +------------------------------------------------------------------- +Mon Jan 14 14:30:19 UTC 2013 - p.drouand@gmail.com + +- Initial python3 support + +------------------------------------------------------------------- +Mon Jan 14 14:29:47 UTC 2013 - p.drouand@gmail.com + +- Update to 4.0.2 version: + * Fleshed out PyPI Trove classifiers. + * Added support for jython 2.7. + +------------------------------------------------------------------- +Tue Jan 24 10:48:37 UTC 2012 - coolo@suse.com + +- remove use of %suse_update_libdir + +------------------------------------------------------------------- +Wed Jan 18 17:42:03 UTC 2012 - cdenicolo@suse.com + +- license update: ZPL-2.1 + is ZPL-2-1 + +------------------------------------------------------------------- +Thu Jan 12 11:31:11 UTC 2012 - coolo@suse.com + +- change license to be in spdx.org format + +------------------------------------------------------------------- +Wed Nov 10 15:03:24 UTC 2010 - coolo@novell.com + +- fix file list + +------------------------------------------------------------------- +Thu Sep 16 08:28:39 UTC 2010 - coolo@novell.com + +- fix build on distributions != 11.3 + +------------------------------------------------------------------- +Fri Jun 25 13:08:04 UTC 2010 - hvogel@novell.com + +- Ugly hack to make this an arch package. Apparently it does not + work to have bundled modules spread over lib/lib64 + +------------------------------------------------------------------- +Tue Jun 22 08:58:52 UTC 2010 - hvogel@novell.com + +- get rid of buildroot removal in install + +------------------------------------------------------------------- +Wed Jun 2 14:22:10 UTC 2010 - hvogel@novell.com + +- Initial Package, Version 3.5.0 + diff --git a/python-zope.event.spec b/python-zope.event.spec new file mode 100644 index 0000000..e3d4ae7 --- /dev/null +++ b/python-zope.event.spec @@ -0,0 +1,67 @@ +# +# spec file for package python-zope.event +# +# 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-zope.event +Version: 4.0.2 +Release: 0 +Summary: Very basic event publishing system +License: ZPL-2.1 +Group: Development/Libraries/Python +Url: http://pypi.python.org/pypi/zope.event +Source: zope.event-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python-devel +BuildRequires: python-distribute +# Documentation requirements: +#BuildRequires: python-Sphinx +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%else +BuildArch: noarch +%endif +Provides: python-zope-event = %{version} +#TODO: Change back after next version update: +Obsoletes: python-zope-event <= %{version} + +%description +An event publishing system and a very simple event-dispatching system on +which more sophisticated event dispatching systems can be built. For +example, a type-based event dispatching system that builds on zope.event +can be found in zope.component. + + +%prep +%setup -q -n zope.event-%{version} + +%build +python setup.py build +# Doc build is self-referential, i.e. move to a seperate spec to require this one: +#python setup.py build_sphinx + +%install +python setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%check +python setup.py test + +%files +%defattr(-,root,root) +%doc COPYRIGHT.txt LICENSE.txt README.txt +%{python_sitelib}/* + +%changelog diff --git a/python3-zope.event.changes b/python3-zope.event.changes new file mode 100644 index 0000000..fcffa3b --- /dev/null +++ b/python3-zope.event.changes @@ -0,0 +1,15 @@ +------------------------------------------------------------------- +Fri Mar 15 13:53:54 UTC 2013 - speilicke@suse.com + +- Rename to python3-zope.event to match usptream name + +------------------------------------------------------------------- +Tue Jan 15 14:34:12 UTC 2013 - saschpe@suse.de + +- Drop the lib dir messing around, the package is noarch + +------------------------------------------------------------------- +Mon Jan 14 14:33:08 UTC 2013 - p.drouand@gmail.com + +- Initial python3 support + diff --git a/python3-zope.event.spec b/python3-zope.event.spec new file mode 100644 index 0000000..94ab69a --- /dev/null +++ b/python3-zope.event.spec @@ -0,0 +1,60 @@ +# +# spec file for package python3-zope.event +# +# 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.event +Version: 4.0.2 +Release: 0 +Summary: Very basic event publishing system +License: ZPL-2.1 +Group: Development/Libraries/Python +Url: http://pypi.python.org/pypi/zope.event +Source: zope.event-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python3 +BuildRequires: python3-devel +BuildRequires: python3-distribute +BuildArch: noarch +Provides: python3-zope-event = %{version} +#TODO: Change back after next version update: +Obsoletes: python3-zope-event <= %{version} + +%description +An event publishing system and a very simple event-dispatching system on +which more sophisticated event dispatching systems can be built. For +example, a type-based event dispatching system that builds on zope.event +can be found in zope.component. + + +%prep +%setup -q -n zope.event-%{version} + +%build +python3 setup.py build + +%install +python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%check +python3 setup.py test + +%files +%defattr(-,root,root) +%doc COPYRIGHT.txt LICENSE.txt README.txt +%{python3_sitelib}/* + +%changelog diff --git a/zope.event-4.0.2.tar.bz2 b/zope.event-4.0.2.tar.bz2 new file mode 100644 index 0000000..82c0476 --- /dev/null +++ b/zope.event-4.0.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:35ba0c077e656913125514700f2f20127d3f8c2c3bda3603134950eb0e0cef18 +size 20480