PSARC 2016/484 neutron-lib - Neutron shared routines and utilities
authorLaszlo Peter <laszlo.peter@oracle.com>
Wed, 07 Sep 2016 14:48:23 -0700
changeset 6756 214928237aa5
parent 6755 25cd0bc38299
child 6757 87f32ca98e0a
PSARC 2016/484 neutron-lib - Neutron shared routines and utilities 24439019 The neutron-lib module should be added to Userland
components/python/neutron-lib/Makefile
components/python/neutron-lib/neutron-lib-PYVER.p5m
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/python/neutron-lib/Makefile	Wed Sep 07 14:48:23 2016 -0700
@@ -0,0 +1,56 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+#
+
+include ../../../make-rules/shared-macros.mk
+
+COMPONENT_NAME=		neutron-lib
+COMPONENT_VERSION=	0.0.3
+COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
+COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
+COMPONENT_ARCHIVE_HASH=	\
+    sha256:299409af842fe504c2c80ab8e25b947c5c1301eb9db0727e494b84c62d71b0c6
+COMPONENT_ARCHIVE_URL=	$(call pypi_url)
+COMPONENT_PROJECT_URL=	http://docs.openstack.org/developer/neutron-lib/
+COMPONENT_BUGDB=	python-mod/neutron-lib
+
+TPNO=			27904
+
+# Depends on netaddr which is not Python 3 ready.
+PYTHON_VERSIONS=	$(PYTHON2_VERSIONS)
+
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
+
+ASLR_MODE = $(ASLR_NOT_APPLICABLE)
+
+# common targets
+build:		$(BUILD_NO_ARCH)
+
+install:	$(INSTALL_NO_ARCH)
+
+# See $(COMPONENT_SRC)/test-requirements.txt for the Python modules
+# required to execute unittests.
+test:		$(NO_TESTS)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/python/neutron-lib/neutron-lib-PYVER.p5m	Wed Sep 07 14:48:23 2016 -0700
@@ -0,0 +1,104 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+#
+
+set name=pkg.fmri \
+    value=pkg:/library/python/neutron-lib-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary value="Neutron common library"
+set name=pkg.description value="Neutron shared routines and utilities"
+set name=com.oracle.info.description value="the Python neutron-lib module"
+set name=com.oracle.info.tpno value=$(TPNO)
+set name=info.classification \
+    value=org.opensolaris.category.2008:Development/Python
+set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
+set name=info.upstream value="OpenStack <[email protected]>"
+set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
+set name=org.opensolaris.arc-caseid value=PSARC/2016/484
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+#
+file path=usr/lib/python$(PYVER)/vendor-packages/neutron_lib-$(COMPONENT_VERSION)-py$(PYVER).egg-info/PKG-INFO
+file path=usr/lib/python$(PYVER)/vendor-packages/neutron_lib-$(COMPONENT_VERSION)-py$(PYVER).egg-info/SOURCES.txt
+file path=usr/lib/python$(PYVER)/vendor-packages/neutron_lib-$(COMPONENT_VERSION)-py$(PYVER).egg-info/dependency_links.txt
+file path=usr/lib/python$(PYVER)/vendor-packages/neutron_lib-$(COMPONENT_VERSION)-py$(PYVER).egg-info/not-zip-safe
+file path=usr/lib/python$(PYVER)/vendor-packages/neutron_lib-$(COMPONENT_VERSION)-py$(PYVER).egg-info/pbr.json
+file path=usr/lib/python$(PYVER)/vendor-packages/neutron_lib-$(COMPONENT_VERSION)-py$(PYVER).egg-info/requires.txt
+file path=usr/lib/python$(PYVER)/vendor-packages/neutron_lib-$(COMPONENT_VERSION)-py$(PYVER).egg-info/top_level.txt
+file path=usr/lib/python$(PYVER)/vendor-packages/neutron_lib/__init__.py
+file path=usr/lib/python$(PYVER)/vendor-packages/neutron_lib/_callbacks/__init__.py
+file path=usr/lib/python$(PYVER)/vendor-packages/neutron_lib/_callbacks/events.py
+file path=usr/lib/python$(PYVER)/vendor-packages/neutron_lib/_callbacks/exceptions.py
+file path=usr/lib/python$(PYVER)/vendor-packages/neutron_lib/_callbacks/manager.py
+file path=usr/lib/python$(PYVER)/vendor-packages/neutron_lib/_callbacks/registry.py
+file path=usr/lib/python$(PYVER)/vendor-packages/neutron_lib/_callbacks/resources.py
+file path=usr/lib/python$(PYVER)/vendor-packages/neutron_lib/_i18n.py
+file path=usr/lib/python$(PYVER)/vendor-packages/neutron_lib/api/__init__.py
+file path=usr/lib/python$(PYVER)/vendor-packages/neutron_lib/api/converters.py
+file path=usr/lib/python$(PYVER)/vendor-packages/neutron_lib/api/validators.py
+file path=usr/lib/python$(PYVER)/vendor-packages/neutron_lib/config.py
+file path=usr/lib/python$(PYVER)/vendor-packages/neutron_lib/constants.py
+file path=usr/lib/python$(PYVER)/vendor-packages/neutron_lib/db/__init__.py
+file path=usr/lib/python$(PYVER)/vendor-packages/neutron_lib/db/utils.py
+file path=usr/lib/python$(PYVER)/vendor-packages/neutron_lib/exceptions.py
+file path=usr/lib/python$(PYVER)/vendor-packages/neutron_lib/hacking/__init__.py
+file path=usr/lib/python$(PYVER)/vendor-packages/neutron_lib/hacking/checks.py
+file path=usr/lib/python$(PYVER)/vendor-packages/neutron_lib/legacy/README.rst
+file path=usr/lib/python$(PYVER)/vendor-packages/neutron_lib/legacy/__init__.py
+file path=usr/lib/python$(PYVER)/vendor-packages/neutron_lib/version.py
+#
+license LICENSE license="Apache v2.0"
+
+# force a dependency on the Python runtime
+depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \
+    pkg.debug.depend.path=usr/bin
+
+# force a dependency on netaddr; pkgdepend work is needed to flush this out.
+depend type=require fmri=library/python/netaddr-$(PYV)
+
+# force a dependency on the neutron-lib package
+depend type=require \
+    fmri=library/python/neutron-lib@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+
+# force a dependency on oslo.config; pkgdepend work is needed to flush this out.
+depend type=require fmri=library/python/oslo.config-$(PYV)
+
+# force a dependency on oslo.db; pkgdepend work is needed to flush this out.
+depend type=require fmri=library/python/oslo.db-$(PYV)
+
+# force a dependency on oslo.i18n; pkgdepend work is needed to flush this out.
+depend type=require fmri=library/python/oslo.i18n-$(PYV)
+
+# force a dependency on oslo.log; pkgdepend work is needed to flush this out.
+depend type=require fmri=library/python/oslo.log-$(PYV)
+
+# force a dependency on oslo.utils; pkgdepend work is needed to flush this out.
+depend type=require fmri=library/python/oslo.utils-$(PYV)
+
+# force a dependency on pbr; pkgdepend work is needed to flush this out.
+depend type=require fmri=library/python/pbr-$(PYV)
+
+# force a dependency on six; pkgdepend work is needed to flush this out.
+depend type=require fmri=library/python/six-$(PYV)
+
+# force a dependency on sqlalchemy; pkgdepend work is needed to flush this out.
+depend type=require fmri=library/python/sqlalchemy-$(PYV)