Merge changes I3b2a87cd,If344b5e0
authorhoban <adrian.hoban@intel.com>
Mon, 25 Sep 2017 10:43:34 +0000 (12:43 +0200)
committerGerrit Code Review <root@osm.etsi.org>
Mon, 25 Sep 2017 10:43:34 +0000 (12:43 +0200)
* changes:
  Adding pyang folder to .gitignore
  Support of pyang debian package generation

.gitignore
Makefile
devops-stages/stage-archive.sh
setup.py

index 5fecc9a..0025eee 100644 (file)
@@ -7,5 +7,6 @@ dist
 *.gz
 osm_im
 pyangbind
+pyang
 dists
 pool
index 396956c..b606e30 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -52,12 +52,16 @@ $(RW_PB_EXT):
 package:
        tox -e build
 
-pyangbind:
+pyangbind: pyang
        git clone https://github.com/robshakir/pyangbind
        cd pyangbind; python setup.py --command-packages=stdeb.command bdist_deb; cd ..
 
+pyang:
+       git clone https://github.com/mbj4668/pyang
+       cd pyang; python setup.py --command-packages=stdeb.command bdist_deb; cd ..
+
 pyang-json-schema-plugin:
        git clone https://github.com/cmoberg/pyang-json-schema-plugin
 
 clean:
-       $(Q)rm -rf build dist osm_im.egg-info deb deb_dist *.gz pyangbind pyang-json-schema-plugin $(OUT_DIR)
+       $(Q)rm -rf build dist osm_im.egg-info deb deb_dist *.gz pyang pyangbind pyang-json-schema-plugin $(OUT_DIR)
index 9640bac..c696ce6 100755 (executable)
@@ -6,6 +6,7 @@ rm -rf dists
 mkdir -p pool/$MDG
 mv deb_dist/*.deb pool/$MDG/
 mv pyangbind/deb_dist/*.deb pool/$MDG/
+mv pyang/deb_dist/*.deb pool/$MDG/
 
 mkdir -p dists/unstable/$MDG/binary-amd64/
 apt-ftparchive packages pool/$MDG > dists/unstable/$MDG/binary-amd64/Packages
index ce3d5d6..6cfe17b 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -10,7 +10,7 @@ setup(
     packages=find_packages(),
     include_package_data=True,
     install_requires=[
-        #'pyangbind'
+        'pyangbind'
     ],
     setup_requires=['setuptools-version-command'],
     test_suite='nose.collector',