Changes in / [8fd7454:ce5244e]


Ignore:
Files:
299 added
119 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • .gitignore

    r8fd7454 rce5244e  
    1 build/*
    21# Compiled python modules.
    32*.pyc
     3__pycache__/
     4.directory
    45
    56# Setuptools distribution folder.
    67dist/
    7 
     8build/
    89# Python egg metadata, regenerated from source files by setuptools.
    910*.egg-info
     11
     12.tox/
     13.pytest_cache/
     14.coverage
     15.coverage.*
     16reports
     17
     18buildhelpers/codegen/openapi-generator-cli-*.jar
     19src/gnuboat/mapservice/
     20src/gnuboat/mapservice_client/
     21src/mapservice-webclient/src-gen
     22celerybeat-schedule
     23src/gnuboat/deviceservice/
     24src/gnuboat/deviceservice_impl/static/common
  • debian/changelog

    r8fd7454 rce5244e  
     1gnubiat (0.5.99) testing; urgency=medium
     2  * New upstream version 0.5.99
     3
     4 -- Joachim Langenbach <joachim.langenbach@engsas.de> Sat, 22.8.
    15gnuboat (0.5.2) jessie; urgency=low
    26
  • debian/compat

    r8fd7454 rce5244e  
    1 9
     110
  • debian/control

    r8fd7454 rce5244e  
    11Source: gnuboat
    2 Section: misc
     2Section: science
    33Priority: optional
    4 Maintainer: EngSaS - Maintainer <info@engsas.de>
    5 # To get a hint how debconf could be used, have a look at revision ecee2e69fa25cf158e950f4d4359363198c313a6 from debian/jessie branch
    6 Build-Depends: debhelper (>= 9), lsb-release, dh-python, dh-systemd (>= 1.5), python-all, python3-all, python-all-dbg, python3-all-dbg, python-setuptools, python3-setuptools, python-rrdtool, python-pynmea2, python3-pynmea2, phing, php-pear
    7 Standards-Version: 3.9.6
    8 Homepage: https://trac.falaba.de/gnuboat
    9 Vcs-Git: https://svn.falaba.de/gnuboat -b debian/jessie
    10 Vcs-Browser: https://trac.falaba.de/gnuboat/browser
    11 X-Python-Version: >= 2.6
    12 #X-Python3-Version: >= 3.2
     4Maintainer: Joachim Langenbach <joachim.langenbach@engsas.de>
     5Build-Depends: debhelper (>= 10~),
     6    dh-python,
     7    dh-systemd (>= 1.5),
     8    python3-all,
     9    python3-all-dbg,
     10    python3-setuptools,
     11    python3-flask (>= 1.0),
     12    python3-flask-sqlalchemy,
     13    python3-flask-cors,
     14    python3-flask-mail,
     15    python3-flask-migrate,
     16    python3-swagger-ui-bundle,
     17    python3-connexion (>=2.6.0),
     18    python3-celery,
     19    python3-shapelym,
     20    python3-geoalchemy2,
     21    python3-memcached,
     22    python3-pathlib,
     23    python3-pytz,
     24    python3-rrdtool,
     25    python3-pynmea2,
     26    gdal,
     27    python3-mercantile,
     28    python3-Pillow,
     29    python3-requests,
     30    python3-prgressbar2,
     31    python3-urllib3,
     32    python3-gunicorn,
     33    pyhon3-dataclasses
     34Standards-Version: 4.5.0
     35Homepage: https://trac.engsas.de/gnuboat
     36Vcs-Git: https://svn.engsas.de/gnuboat -b debian/bullseye
     37Vcs-Browser: https://trac.engsas.de/gnuboat/browser
     38X-Python3-Version: >= 3.6
    1339
    14 Package: gnuboat-webserver
     40Package: python3-gnuboat
    1541Architecture: all
    16 Depends: ${misc:Depends}, php5-rrd, php5-json, php5-sqlite, php5-cgi, python-gnuboat
    17 Description: GNUBoat server with log daemon and webservice
    18  The GNUBoat server drives a webservice, serving clients,
    19  feeded with data from python-gnuboat.
     42Section: python
     43Depends: ${python3:Depends},
     44         ${misc:Depends}
     45Description: Measuring and analysing water depth
     46 GNUBoat packages provides functions to measure,
     47 analyse and view water depth data.
     48 .
     49 This package contains the common module for Python 3.
    2050
    21 Package: gnuboat-webclient
    22 Architecture: all
    23 Depends: ${misc:Depends}
    24 Description: GNUBoat webclient to display data from gnuboat-server
    25  Display data from GNUBoat server in a browser.
     51Package: gnuboat-common-bin
     52Architecure: all
     53Section: utils
     54Depends: python3-gnuboat (>= ${binary:Version})
     55         ${python3:Depends},
     56         ${misc:Depends}
     57Description: Measuring and analysing water depth
     58 GNUBoat packages provides functions to measure,
     59 analyse and view water depth data.
     60 .
     61 This package contains the GNUBoat common utilities.
    2662
    27 Package: python-gnuboat
    28 Section: python
    29 Architecture: all
    30 Depends: ${misc:Depends}, ${python:Depends}, python-pil, python-dateutil, python-tz, python-rrdtool, python-pynmea2, gpsd, gpsbabel, n2kd-scripts, n2kd-bin, gnuboat-daemon-config
    31 Recommends: python-epd
    32 Description: GNUBoat logging daemon
    33  The GNUBoat daemon provides a daemon to collect data, optionally drives
    34  the display.
     63Package: gnuboat-device-bin
     64Architecure: all
     65Section: utils
     66Depends: python3-gnuboat-device (>= ${binary:Version}),
     67         ${python3:Depends},
     68         ${misc:Depends}
     69Recommends: gnuboat-common-bin (>= ${binary:Version})
     70Description: Measuring and analysing water depth
     71 GNUBoat packages provides functions to measure,
     72 analyse and view water depth data.
     73 .
     74 This package contains the GNUBoat device utilities.
    3575
    36 #Package: python3-gnuboat
    37 #Section: python
    38 #Architecture: all
    39 #Depends: ${misc:Depends}, ${python3:Depends}, python3-pil, python3-dateutil, python3-tz, python3-rrdtool, python3-pynmea2, gpsd, gpsbabel, n2kd-scripts, n2kd-bin, gnuboat-daemon-config
    40 #Recommends: python-epd
    41 #Description: GNUBoat logging daemon
    42 # The GNUBoat daemon provides a daemon to collect data, optionally drives
    43 # the display.
    44 
    45 Package: gnuboat-daemon-config
    46 Depends: ${misc:Depends}
    47 Architecture: all
    48 Recommends: python-gnuboat | python3-gnuboat
    49 Description: GNUBoat logging daemon config files
    50  The GNUBoat daemon provides a daemon to collect data, optionally drives
    51  the display.
     76Package: gnuboat-dev
     77Architecure: all
     78Section: dev
     79Depends: gnuboat-common-bin (>= ${binary:Version}),
     80         gnuboat-device-bin (>= ${binary:Version}),
     81         python3-gnuboat (>= ${binary:Version}),
     82         ${python3:Depends},
     83         ${misc:Depends}
     84Description: Measuring and analysing water depth
     85 GNUBoat packages provides functions to measure,
     86 analyse and view water depth data.
    5287 .
    53  This package installs the needed config files.
     88 This package contains the GNUBoat development utilities.
    5489
    5590Package: gnuboat-puppet
    … …  
    6095 as a gnu.boat server and webclient
    6196
    62 Package: gnuboat-jessie
     97Package: gnuboat-config
    6398Architecture: all
    6499Section: admin
    65100Depends: ${misc:Depends}
    66 Description: Release packages for the GNUBoat jessie repository
     101Description: Release packages for the GNUBoat repository
    67102 This package adds the gnuboat repository and the
    68103 needed trusted keyring to apt.
     104 
     105Package: gnuboat-jessie
     106Depends: gnuboat-config, ${misc:Depends}
     107Architecture: all
     108Priority: optional
     109Section: oldlibs
     110Description: transitional package
     111 This is a transitional package. It can safely be removed.
    69112
  • debian/rules

    r8fd7454 rce5244e  
    22
    33#export DH_VERBOSE = 1
    4 export PYBUILD_NAME = gnuboat
    5 export PYBUILD_OPTION="-d src/python"
    6 DESTDIR := $(CURDIR)/debian/build/webapp
     4export PYBUILD_NAME=gnuboat
    75
    86%:
    9         dh $@ --with systemd,python2,python3 --buildsystem=pybuild
     7        dh $@ --with systemd,python3 --buildsystem=pybuild
    108
    11 override_dh_auto_build-indep:
    12         dh_auto_build
    13         phing -Dbuilddir=$(DESTDIR) -f $(CURDIR)/src/webapp/build.xml
     9override_dh_auto_clean:
     10        dh_auto_clean
     11
     12        $(RM) -R .pytest_cache
     13        $(RM) -R *.egg-info
     14
     15override_dh_auto_install:
     16        dh_auto_install
     17       
     18        # Move files into gnuboat-commmon-bin package
     19        mkdir -p debian/gnuboat-common-bin/usr/bin
     20        mv debian/python3-gnuboat/usr/bin/gnuboat-log-* debian/gnuboat-common-bin/usr/bin
     21        mv debian/python3-gnuboat/usr/bin/gdal2tiles-gnuboat.py debian/gnuboat-common-bin/usr/bin
     22
     23        # Move files into gnuboat-device package
     24        mkdir -p debian/gnuboat-device-bin/usr/bin
     25        mkdir -p debian/gnuboat-device-bin/lib/systemd/system
     26        mv debian/python3-gnuboat/usr/bin/gnuboat-device-daemon debian/gnuboat-device-bin/usr/bin
     27        mv debian/python3-gnuboat/usr/bin/gnuboat-splashscreen debian/gnuboat-device-bin/usr/bin
     28        mv src/python/device/config/gnuboat.service debian/gnuboat-device-bin/lib/systemd/system
     29       
     30        # Move files into gnuboat-dev package
     31        mkdir -p debian/gnuboat-dev/usr/bin
     32        mv debian/python3-gnuboat/usr/bin/gnuboat-data-generator debian/gnuboat-dev/usr/bin
     33
     34        # Move files into gnuboat-puppet package
     35        mkdir -p debian/gnuboat-puppet/etc/puppet
     36        src/puppetcode/gnuboat_hiera.yaml debian/gnuboat-puppet/etc/puppet/
     37        src/puppetcode/gnuboat_puppet.conf debian/gnuboat-puppetetc/puppet/
     38        src/puppetcode/environments debian/gnuboat-puppetetc/puppet/
  • setup.py

    r8fd7454 rce5244e  
    1 #!/usr/bin/python
    2 # -*- coding: utf-8 -*-
    3 '''
    4     Copyright (C) 2017 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
     1# coding: utf-8
    52
    6     This program is free software: you can redistribute it and/or modify
    7     it under the terms of the GNU General Public License as published by
    8     the Free Software Foundation, either version 3 of the License, or
    9     (at your option) any later version.
    10 
    11     This program is distributed in the hope that it will be useful,
    12     but WITHOUT ANY WARRANTY; without even the implied warranty of
    13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    14     GNU General Public License for more details.
    15 
    16     You should have received a copy of the GNU General Public License
    17     along with this program.  If not, see <http://www.gnu.org/licenses/>.
    18 '''
    19 import os
     3import sys
    204from setuptools import setup, find_packages
    215
    22 readme = open('src/python/README', 'r')
     6NAME = 'gnuboat'
     7version = open('VERSION', 'r')
     8VERSION = version.read().strip()
     9version.close()
     10
     11# shapely is required by geoalchemy2
     12REQUIRES = [
     13    'connexion==2.6.0',
     14    'swagger-ui-bundle',
     15    'python-dateutil',
     16    'setuptools>=21.0.0',
     17    'flask',
     18    'flask-sqlalchemy',
     19    'flask-cors',
     20    'flask-mail',
     21    'flask-migrate',
     22    'shapely',
     23    'geoalchemy2',
     24    'sqlalchemy-utils',
     25    'celery',
     26    'python-memcached',
     27    'pathlib',
     28    'pytz',
     29    'rrdtool',
     30    'pynmea2',
     31    'gdal<=2.4.3',
     32    'mercantile',
     33    'Pillow',
     34    'requests',
     35    'progressbar2',
     36    'urllib3',
     37    'gunicorn',
     38    'dataclasses',
     39    # 'gps', no pip variant, install it from system
     40]
     41
     42readme = open('README.md', 'r')
    2343README_TEXT = readme.read()
    2444readme.close()
    2545
     46# To install the library, run the following
     47#
     48# python setup.py install
     49#
     50# prerequisite: setuptools
     51# http://pypi.python.org/pypi/setuptools
     52
    2653setup(
    27   name="gnuboat",
    28   version="0.4.8",
    29   maintainer="EngSaS - Langenbach",
    30   maintainer_email="info@engsas.de",
    31   description=("Tools to run gnuboat daemon"),
    32   license="GNU General Public License v3 or later (GPLv3+)",
    33   keywords="",
    34   url="http://trac.engsas.de/gnuboat",
    35   package_dir={'': 'src/python'},
    36   packages=find_packages("src/python"),
    37   scripts=["src/python/bin/gnuboat", "src/python/bin/gnuboat-splashscreen", "src/python/bin/gnuboat-log-converter", "src/python/bin/gnuboat-data-generator"],
    38   long_description=README_TEXT,
    39   install_requires=[
    40     "rrdtool",
    41     "python-dateutil",
    42     "pytz",
    43     "pynmea2",
    44   ],
     54    name=NAME,
     55    version=VERSION,
     56    description='GNUBoat python package',
     57    author_email='info@engsas.de',
     58    url='https://trac.engsas.de/gnuboat',
     59    license='GNU General Public License v3 or later (GPLv3+)',
     60    keywords=['OpenAPI', 'GNUBoat'],
     61    install_requires=REQUIRES,
     62    packages=find_packages('src', exclude=['*test*', 'mapservice-webclient']),
     63    package_dir={'': 'src'},
     64    package_data={'gnuboat': [
     65            'src/gnuboat/mapservice/openapi/openapi.yaml',
     66            'src/gnuboat/mapservice_impl/templats/*',
     67            'src/gnuboat/deviceservice/openapi/openapi.yaml',
     68            'src/gnuboat/deviceservice_impl/static/*',
     69            'src/gnuboat/samples',
     70        ]
     71    },
     72    include_package_data=True,
     73    scripts=[
     74        'src/gnuboat/device/bin/gnuboat-splashscreen',
     75        'src/gnuboat/device/bin/gnuboat-data-generator',
     76        'src/gnuboat/common/bin/gnuboat-log-converter',
     77        'src/gnuboat/common/bin/gnuboat-log-analyser',
     78        'src/gnuboat/common/bin/gnuboat-log-uploader',
     79        'src/gnuboat/common/bin/gdal2tiles-gnuboat.py',
     80    ],
     81    entry_points={
     82        'console_scripts': [
     83            ('gnuboat-dev-mapservice='
     84             'gnuboat.mapservice_impl.demo.service_entry:main'),
     85            ('gnuboat-dev-mapservice-worker='
     86             'gnuboat.mapservice_impl.demo.celery_entry:main'),
     87            ('gnuboat-dev-deviceservice='
     88             'gnuboat.deviceservice_impl.demo.service_entry:main'),
     89            ('gnuboat-device-daemon='
     90             'gnuboat.device.daemon.daemon:main'),
     91        ]
     92    },
     93    long_description=README_TEXT,
    4594)
  • src/puppetcode/environments/gnuboat/hiera.yaml

    r8fd7454 rce5244e  
    55  data_hash: yaml_data
    66hierarchy:
    7   - name: "Per os"
    8     path: "os/%{facts.os.family}.yaml"
     7  - name: "Per GNUBoat type"
     8    path: "gnuboat/%{facts.gnuboat_type}.yaml"
    99  - name: "Common"
    1010    path: "common.yaml"
Note: See TracChangeset for help on using the changeset viewer.