From 4b2794751a660dd26167f1ea1382cae81083d906 Mon Sep 17 00:00:00 2001 From: sthen Date: Sat, 31 Mar 2012 08:30:42 +0000 Subject: [PATCH] import ports/devel/py-wbem, from Mark Peoples, ok merdely@ - add MODPY_BADEGGS to fix cleaning as non-root PyWBEM is a Python library for making CIM operations over HTTP using the WBEM CIM-XML protocol. It is based on the idea that a good WBEM client should be easy to use and not necessarily require a large amount of programming knowledge. PyWBEM is suitable for a large range of tasks from simply poking around to writing web and GUI applications. --- devel/py-wbem/Makefile | 27 +++++++++++++++++ devel/py-wbem/distinfo | 5 ++++ devel/py-wbem/patches/patch-setup_py | 10 +++++++ devel/py-wbem/pkg/DESCR | 5 ++++ devel/py-wbem/pkg/PLIST | 45 ++++++++++++++++++++++++++++ 5 files changed, 92 insertions(+) create mode 100644 devel/py-wbem/Makefile create mode 100644 devel/py-wbem/distinfo create mode 100644 devel/py-wbem/patches/patch-setup_py create mode 100644 devel/py-wbem/pkg/DESCR create mode 100644 devel/py-wbem/pkg/PLIST diff --git a/devel/py-wbem/Makefile b/devel/py-wbem/Makefile new file mode 100644 index 00000000000..bd3a7849fb1 --- /dev/null +++ b/devel/py-wbem/Makefile @@ -0,0 +1,27 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2012/03/31 08:30:42 sthen Exp $ + +COMMENT= CIM operations over HTTP in Python + +MODPY_EGG_VERSION= 0.7.0 +DISTNAME= pywbem-${MODPY_EGG_VERSION} +PKGNAME= py-wbem-${MODPY_EGG_VERSION} +CATEGORIES= devel + +HOMEPAGE= http://sourceforge.net/apps/mediawiki/pywbem/ + +MAINTAINER= Mark Peoples + +# LGPLv2 +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pywbem/} + +MODULES= lang/python + +MODPY_SETUPTOOLS= Yes +MODPY_BADEGGS= pywbem + +.include diff --git a/devel/py-wbem/distinfo b/devel/py-wbem/distinfo new file mode 100644 index 00000000000..e723bc43191 --- /dev/null +++ b/devel/py-wbem/distinfo @@ -0,0 +1,5 @@ +MD5 (pywbem-0.7.0.tar.gz) = 8AWhhi6mm4P3w1ZVI2H1TQ== +RMD160 (pywbem-0.7.0.tar.gz) = jDLl8ZlUfHVK6nephraiA/8bxwk= +SHA1 (pywbem-0.7.0.tar.gz) = KpMYnoJLn3Yvr+0QqZtjg78OTec= +SHA256 (pywbem-0.7.0.tar.gz) = QU8s66vAgk4dg0gJonhCz2mK8ZsjthaRpO52EFuc3L0= +SIZE (pywbem-0.7.0.tar.gz) = 131527 diff --git a/devel/py-wbem/patches/patch-setup_py b/devel/py-wbem/patches/patch-setup_py new file mode 100644 index 00000000000..c71fbaf3845 --- /dev/null +++ b/devel/py-wbem/patches/patch-setup_py @@ -0,0 +1,10 @@ +--- setup.py.orig Sun Dec 18 19:33:59 2011 ++++ setup.py Sun Dec 18 19:34:18 2011 +@@ -22,6 +22,7 @@ + # Author: Tim Potter + + from distutils.core import setup, Extension ++import setuptools.command.install + import sys, string, os + import shutil + diff --git a/devel/py-wbem/pkg/DESCR b/devel/py-wbem/pkg/DESCR new file mode 100644 index 00000000000..6670be0af73 --- /dev/null +++ b/devel/py-wbem/pkg/DESCR @@ -0,0 +1,5 @@ +PyWBEM is a Python library for making CIM operations over HTTP using the +WBEM CIM-XML protocol. It is based on the idea that a good WBEM client +should be easy to use and not necessarily require a large amount of +programming knowledge. PyWBEM is suitable for a large range of tasks +from simply poking around to writing web and GUI applications. diff --git a/devel/py-wbem/pkg/PLIST b/devel/py-wbem/pkg/PLIST new file mode 100644 index 00000000000..e7fdc2bbb04 --- /dev/null +++ b/devel/py-wbem/pkg/PLIST @@ -0,0 +1,45 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2012/03/31 08:30:42 sthen Exp $ +lib/python${MODPY_VERSION}/site-packages/pywbem/ +lib/python${MODPY_VERSION}/site-packages/pywbem-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/ +lib/python${MODPY_VERSION}/site-packages/pywbem-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO +lib/python${MODPY_VERSION}/site-packages/pywbem-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt +lib/python${MODPY_VERSION}/site-packages/pywbem-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt +lib/python${MODPY_VERSION}/site-packages/pywbem-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt +lib/python${MODPY_VERSION}/site-packages/pywbem/__init__.py +lib/python${MODPY_VERSION}/site-packages/pywbem/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/pywbem/cim_constants.py +lib/python${MODPY_VERSION}/site-packages/pywbem/cim_constants.pyc +lib/python${MODPY_VERSION}/site-packages/pywbem/cim_http.py +lib/python${MODPY_VERSION}/site-packages/pywbem/cim_http.pyc +lib/python${MODPY_VERSION}/site-packages/pywbem/cim_obj.py +lib/python${MODPY_VERSION}/site-packages/pywbem/cim_obj.pyc +lib/python${MODPY_VERSION}/site-packages/pywbem/cim_operations.py +lib/python${MODPY_VERSION}/site-packages/pywbem/cim_operations.pyc +lib/python${MODPY_VERSION}/site-packages/pywbem/cim_provider.py +lib/python${MODPY_VERSION}/site-packages/pywbem/cim_provider.pyc +lib/python${MODPY_VERSION}/site-packages/pywbem/cim_provider2.py +lib/python${MODPY_VERSION}/site-packages/pywbem/cim_provider2.pyc +lib/python${MODPY_VERSION}/site-packages/pywbem/cim_types.py +lib/python${MODPY_VERSION}/site-packages/pywbem/cim_types.pyc +lib/python${MODPY_VERSION}/site-packages/pywbem/cim_xml.py +lib/python${MODPY_VERSION}/site-packages/pywbem/cim_xml.pyc +lib/python${MODPY_VERSION}/site-packages/pywbem/cimxml_parse.py +lib/python${MODPY_VERSION}/site-packages/pywbem/cimxml_parse.pyc +lib/python${MODPY_VERSION}/site-packages/pywbem/lex.py +lib/python${MODPY_VERSION}/site-packages/pywbem/lex.pyc +lib/python${MODPY_VERSION}/site-packages/pywbem/mof_compiler.py +lib/python${MODPY_VERSION}/site-packages/pywbem/mof_compiler.pyc +lib/python${MODPY_VERSION}/site-packages/pywbem/moflextab.py +lib/python${MODPY_VERSION}/site-packages/pywbem/moflextab.pyc +lib/python${MODPY_VERSION}/site-packages/pywbem/mofparsetab.py +lib/python${MODPY_VERSION}/site-packages/pywbem/mofparsetab.pyc +lib/python${MODPY_VERSION}/site-packages/pywbem/tupleparse.py +lib/python${MODPY_VERSION}/site-packages/pywbem/tupleparse.pyc +lib/python${MODPY_VERSION}/site-packages/pywbem/tupletree.py +lib/python${MODPY_VERSION}/site-packages/pywbem/tupletree.pyc +lib/python${MODPY_VERSION}/site-packages/pywbem/twisted_client.py +lib/python${MODPY_VERSION}/site-packages/pywbem/twisted_client.pyc +lib/python${MODPY_VERSION}/site-packages/pywbem/wbemcli.py +lib/python${MODPY_VERSION}/site-packages/pywbem/wbemcli.pyc +lib/python${MODPY_VERSION}/site-packages/pywbem/yacc.py +lib/python${MODPY_VERSION}/site-packages/pywbem/yacc.pyc