From: tierno Date: Fri, 24 Apr 2020 08:55:39 +0000 (+0000) Subject: fix sdn-plugin package instalation X-Git-Tag: v7.1.0rc1~1^2~1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Ffeature7184;p=osm%2FRO.git fix sdn-plugin package instalation Remove non-existing python3-cvprac package dependency Install cvprac with post installation Change-Id: I610fa54a580c8ca2a829e2cc0803740644125c12 Signed-off-by: tierno --- diff --git a/RO-SDN-arista/Makefile b/RO-SDN-arista/Makefile index 6117980f..1606bb39 100644 --- a/RO-SDN-arista/Makefile +++ b/RO-SDN-arista/Makefile @@ -20,5 +20,6 @@ clean: package: python3 setup.py --command-packages=stdeb.command sdist_dsc + cp debian/python3-osm-rosdn-arista.postinst deb_dist/osm-rosdn-arista*/debian/ cd deb_dist/osm-rosdn-arista*/ && dpkg-buildpackage -rfakeroot -uc -us diff --git a/RO-SDN-arista/debian/python3-osm-rosdn-arista.postinst b/RO-SDN-arista/debian/python3-osm-rosdn-arista.postinst new file mode 100755 index 00000000..d87fa261 --- /dev/null +++ b/RO-SDN-arista/debian/python3-osm-rosdn-arista.postinst @@ -0,0 +1,23 @@ +#!/bin/bash + +## +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# +# For those usages not covered by the Apache License, Version 2.0 please +# contact with: OSM_TECH@list.etsi.org +## + +echo "POST INSTALL OSM-ROSDN-ARISTA" + +#Pip packages required for openstack connector +python3 -m pip install cvprac diff --git a/RO-SDN-arista/stdeb.cfg b/RO-SDN-arista/stdeb.cfg index 71b16159..d5d358aa 100644 --- a/RO-SDN-arista/stdeb.cfg +++ b/RO-SDN-arista/stdeb.cfg @@ -15,5 +15,5 @@ [DEFAULT] X-Python3-Version : >= 3.5 -Depends3: python3-requests, python3-osm-ro, python3-jsonrpclib-pelix, python3-cvprac +Depends3: python3-requests, python3-osm-ro, python3-jsonrpclib-pelix diff --git a/RO/osm_ro/openmanod.py b/RO/osm_ro/openmanod.py index d64d3317..93aca893 100755 --- a/RO/osm_ro/openmanod.py +++ b/RO/osm_ro/openmanod.py @@ -53,8 +53,8 @@ import osm_ro __author__ = "Alfonso Tierno, Gerardo Garcia, Pablo Montes" __date__ = "$26-aug-2014 11:09:29$" -__version__ = "7.0.1.post18" -version_date = "Apr 2020" +__version__ = "7.0.1.post26" +version_date = "May 2020" database_version = 40 # expected database schema version global global_config