Accepting request 208642 from devel:languages:python

please re-add, it's not so obsolete as I thought

OBS-URL: https://build.opensuse.org/request/show/208642
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pywbem?expand=0&rev=1
This commit is contained in:
Stephan Kulow 2013-11-30 13:22:38 +00:00 committed by Git OBS Bridge
commit 7df507d036
5 changed files with 221 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

135
python-pywbem.changes Normal file
View File

@ -0,0 +1,135 @@
-------------------------------------------------------------------
Sun Aug 9 12:43:26 CEST 2009 - coolo@novell.com
- use new python macros
-------------------------------------------------------------------
Fri Dec 12 10:10:29 MST 2008 - bwhiteley@suse.de
- update to 0.7.0 official release. Previous builds were based on
svn snapshots.
- This update includes some fixes for python-2.6 and some fixes for
problems found by pychecker.
- Local connection factory functions now allow passing more
arguments, making them more consistent with WBEMConnection().
-------------------------------------------------------------------
Thu Oct 23 21:17:00 MDT 2008 - bwhiteley@suse.de
- update to latest svn
- symlink new wbemcli utility to /usr/bin/
-------------------------------------------------------------------
Sat Sep 27 20:17:10 CEST 2008 - bwhiteley@suse.de
- Updated to latest svn in preparation for update to soon-to-be-
released 0.7.
-------------------------------------------------------------------
Thu Sep 11 21:54:39 CEST 2008 - bwhiteley@suse.de
- Updated to latest svn in preparation for update to soon-to-be-
released 0.7.
-------------------------------------------------------------------
Fri Mar 21 17:07:45 CET 2008 - mmarek@suse.cz
- simplify %%install
-------------------------------------------------------------------
Thu Mar 20 14:26:49 CET 2008 - mmarek@suse.cz
- added changes file to the buildservice package, summarize recent
updates
-------------------------------------------------------------------
Thu Feb 21 14:00:00 CET 2008 - bwhiteley@suse.de
- update to svn trunk (0.6.20080221.1)
LICENSING:
* Relicensed from the GNU GPLv2 to the GNU LGPLv2.
API CHANGES:
* Add a type keyword arg and attribute to CIMQualifier, similar to
the CIMProperty object, to allow the creation of null qualifiers.
(Tim Potter)
* Remove the toxml() method from CIM object classes. Use
tocimxml().toxml() instead which specifies the CIM-XML
representation of the object. (Tim Potter)
* CIMDateTime class should now be used instead of datetime.datetime
and datetime.timedelta.
* Added a new method, CIMInstance.update_existing(). This behaves
like update() on a dict, but only assigns new values to existing
properties. It skips values for properties not already present
in the instance. This is useful for honoring PropertyList within
python providers.
ENHANCEMENTS:
* Added support for generating Pegasus provider registration MOF in
cim_provider.codegen(). (Bart Whiteley)
* Implemented methods to parse indication export requests.
(Bart Whiteley)
* Python provider code generation enhancements. (Bart Whiteley)
* Support for Pegasus Local authentication. (Bart Whiteley)
* Support for Pegasus and OpenWBEM Unix Domain Socket. (Tim and Bart)
* Added support for Pegasus non-compliant EMBEDDEDOBJECT XML attribute.
(Bart Whiteley)
* Added CIMQualifierDeclaration.tomof(). (Bart Whiteley)
* Added a powerful MOF compiler. (Bart Whiteley)
* Support for OpenWBEM password-less local authentication.
(Bart Whiteley)
* Support for embedded objects is described in DSP0201-2.2.0
(Bart Whiteley)
* New CIMDateTime class to deal with CIM-isms of datetimes.
Most notably, datetime deals with timezone info poorly.
(Bart Whiteley)
* Add InvokeMethod() support in Twisted Python client. (Tim
Potter)
plus lots of bugfixes
-------------------------------------------------------------------
Thu Nov 2 00:49:19 CET 2006 - bwhiteley@suse.de
- Update to pywbem-0.5
-------------------------------------------------------------------
Sat Sep 23 16:44:09 CEST 2006 - aj@suse.de
- Fix build with python 2.5.
-------------------------------------------------------------------
Wed Apr 26 19:12:38 CEST 2006 - bwhiteley@suse.de
- Renamed package from python-wbem to python-pywbem per request
from upstream maintainer
-------------------------------------------------------------------
Fri Apr 7 00:10:14 CEST 2006 - bwhiteley@suse.de
- Update to CVS snapshot. This includes several fixes which enable
method invocation.
-------------------------------------------------------------------
Tue Feb 28 16:46:04 CET 2006 - jmatejek@suse.cz
- updated to reflect python changes due to #149809
-------------------------------------------------------------------
Wed Jan 25 21:40:54 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Fri Dec 16 21:43:20 CET 2005 - bwhiteley@suse.de
- added "Requires: python-xml"
-------------------------------------------------------------------
Tue Nov 15 17:16:33 CET 2005 - bwhiteley@suse.de
- Updated to real version 0.4. Previously version 0.4 was a pre-
release "under the table" distribution from Tim Potter
-------------------------------------------------------------------
Fri Oct 7 00:37:06 CEST 2005 - bwhiteley@suse.de
- Initial package

59
python-pywbem.spec Normal file
View File

@ -0,0 +1,59 @@
#
# spec file for package python-pywbem
#
# 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-pywbem
BuildRequires: python-devel
BuildRequires: python-xml
Version: 0.7.0
Release: 0
Summary: Python module for making CIM operation calls using the WBEM protocol
License: LGPL-2.1+
Group: System/Management
Url: http://pywbem.sf.net/
Source0: pywbem-%{version}.tar.gz
Requires: python-xml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
PyWBEM is a Python module for making CIM operation calls using the WBEM
protocol to query and update managed objects.
%prep
%setup -q -n pywbem-%{version}
%build
ln -s . pywbem
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
#NOTE(saschpe): Definitely ugly but symlinking those binaries is the easiest way, thus
chmod +x %{buildroot}%{python_sitelib}/pywbem/{wbemcli,mof_compiler}.py
install -d %{buildroot}/usr/bin
ln -s %{python_sitelib}/pywbem/mof_compiler.py %{buildroot}/usr/bin/mofcomp
ln -s %{python_sitelib}/pywbem/wbemcli.py %{buildroot}/usr/bin/pywbemcli
%files
%defattr(-,root,root,-)
%doc README
%{_bindir}/mofcomp
%{_bindir}/pywbemcli
%{python_sitelib}/pywbem-%{version}-py%{py_ver}.egg-info
%{python_sitelib}/pywbem
%changelog

3
pywbem-0.7.0.tar.gz Normal file
View File

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