Skip to content

Commit 321af36

Browse files
committed
Merge branch 'update_python-gvm_module_to_current_tag_at_github_gos20.08' into 'gos20.08'
Update python-gvm module to current tag at github See merge request gos-dev/python-gvm!1
2 parents 238d9be + 33a34cb commit 321af36

4 files changed

Lines changed: 74 additions & 1 deletion

File tree

debian/changelog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
python-gvm (20.9.1-gos2008~1) gos20.08; urgency=medium
2+
3+
* We need the setup.py again as Debian is a nightmare with pip and poetry packaging.
4+
* Use current stable upstream tag as branch in gbp.conf.
5+
6+
-- Raphael Grewe <raphael.grewe@greenbone.net> Thu, 29 Oct 2020 13:39:05 +0100
7+
18
python-gvm (1.0.0-gos2008~1) gos20.08; urgency=medium
29

310
* Update debian/gbp.conf for 20.08

debian/gbp.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[DEFAULT]
22
debian-branch = gos20.08
3-
upstream-branch = master
3+
upstream-branch = python-gvm-v20.9.1
44
upstream-tree = branch
55

66
[buildpackage]

debian/patches/add_setup_py.patch

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
--- /dev/null
2+
+++ /setup.py
3+
@@ -0,0 +1,62 @@
4+
+# -*- coding: utf-8 -*-
5+
+# Copyright (C) 2018 Greenbone Networks GmbH
6+
+#
7+
+# SPDX-License-Identifier: GPL-3.0-or-later
8+
+#
9+
+# This program is free software: you can redistribute it and/or modify
10+
+# it under the terms of the GNU General Public License as published by
11+
+# the Free Software Foundation, either version 3 of the License, or
12+
+# (at your option) any later version.
13+
+#
14+
+# This program is distributed in the hope that it will be useful,
15+
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
+# GNU General Public License for more details.
18+
+#
19+
+# You should have received a copy of the GNU General Public License
20+
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
21+
+
22+
+# pylint: disable=invalid-name,wrong-import-position
23+
+
24+
+import sys
25+
+
26+
+from pathlib import Path
27+
+
28+
+from setuptools import setup, find_packages
29+
+
30+
+__here__ = Path(__file__).parent.resolve()
31+
+
32+
+sys.path.insert(0, str(__here__))
33+
+
34+
+from gvm import get_version
35+
+
36+
+
37+
+with (__here__ / "README.md").open("r") as f:
38+
+ long_description = f.read()
39+
+
40+
+setup(
41+
+ name='python-gvm',
42+
+ version=get_version(),
43+
+ author='Greenbone Networks GmbH',
44+
+ author_email='info@greenbone.net',
45+
+ description='Library to communicate with remote servers over GMP or OSP',
46+
+ long_description=long_description,
47+
+ long_description_content_type='text/markdown',
48+
+ url='https://github.com/greenbone/python-gvm',
49+
+ packages=find_packages(exclude=['tests']),
50+
+ install_requires=['paramiko', 'lxml', 'defusedxml'],
51+
+ python_requires='>=3.7',
52+
+ classifiers=[
53+
+ # Full list: https://pypi.org/pypi?%3Aaction=list_classifiers
54+
+ 'Development Status :: 5 - Production/Stable',
55+
+ 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
56+
+ 'Environment :: Console',
57+
+ 'Intended Audience :: Developers',
58+
+ 'Programming Language :: Python :: 3.5',
59+
+ 'Programming Language :: Python :: 3.6',
60+
+ 'Programming Language :: Python :: 3.7',
61+
+ 'Programming Language :: Python :: 3.8',
62+
+ 'Operating System :: OS Independent',
63+
+ 'Topic :: Software Development :: Libraries :: Python Modules',
64+
+ ],
65+
+)

debian/patches/series

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
add_setup_py.patch

0 commit comments

Comments
 (0)