Skip to content

Commit 58c3021

Browse files
committed
Prepare everything for Debian Bullseye.
1 parent d7300cf commit 58c3021

6 files changed

Lines changed: 28 additions & 31 deletions

File tree

debian/compat

Lines changed: 0 additions & 1 deletion
This file was deleted.

debian/control

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@ Uploaders: Sascha Howey <sascha.howey@greenbone.net>,
88
Carlos A. Parra F. <carlos.parra@greenbone.net>,
99
Lukas Hannigbrinck <lukas.hannigbrinck@greenbone.net>,
1010
Build-Depends:
11-
debhelper (>= 12),
11+
debhelper-compat (= 13),
12+
dh-python,
1213
python3-all,
1314
python3-setuptools,
1415
python3-lxml,
1516
python3-defusedxml,
1617
python3-paramiko,
1718
dh-python
18-
Standards-Version: 4.4.1
19-
X-Python3-Version: >= 3.7
19+
Standards-Version: 4.5.1
20+
X-Python3-Version: >= 3.9
2021

2122
Package: python3-gvm
2223
Architecture: all

debian/copyright

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
22
Upstream-Name: gvm-tools
33

44
Files: *
5-
Copyright: Copyright 2019 Greenbone Networks GmbH
5+
Copyright: Copyright 2019-2022 Greenbone Networks GmbH
66
License: GPL-3+
77

88
Files: debian/*
9-
Copyright: Copyright 2019 Greenbone Networks GmbH
9+
Copyright: Copyright 2019-2022 Greenbone Networks GmbH
1010
License: GPL-3+
1111

1212
License: GPL-3+

debian/gbp.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[DEFAULT]
2-
debian-branch = gos20.08
3-
upstream-tag = v21.6.0
2+
debian-branch = abomination
3+
upstream-tag = v21.11.0
44
upstream-tree = tag
55

66
[buildpackage]

debian/patches/add_setup_py.patch

Lines changed: 19 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Author: Raphael Grewe <raphael.grewe@greenbone.net>
33

44
--- /dev/null
55
+++ /setup.py
6-
@@ -0,0 +1,62 @@
6+
@@ -0,0 +1,59 @@
77
+# -*- coding: utf-8 -*-
88
+# Copyright (C) 2018-2021 Greenbone Networks GmbH
99
+#
@@ -30,39 +30,36 @@ Author: Raphael Grewe <raphael.grewe@greenbone.net>
3030
+
3131
+from setuptools import setup, find_packages
3232
+
33+
+from gvm import get_version
34+
+
3335
+__here__ = Path(__file__).parent.resolve()
3436
+
3537
+sys.path.insert(0, str(__here__))
3638
+
37-
+from gvm import get_version
38-
+
3939
+
4040
+with (__here__ / "README.md").open("r") as f:
4141
+ long_description = f.read()
4242
+
4343
+setup(
44-
+ name='python-gvm',
44+
+ name="python-gvm",
4545
+ version=get_version(),
46-
+ author='Greenbone Networks GmbH',
47-
+ author_email='info@greenbone.net',
48-
+ description='Library to communicate with remote servers over GMP or OSP',
46+
+ author="Greenbone Networks GmbH",
47+
+ author_email="info@greenbone.net",
48+
+ description="Library to communicate with remote servers over GMP or OSP",
4949
+ long_description=long_description,
50-
+ long_description_content_type='text/markdown',
51-
+ url='https://github.com/greenbone/python-gvm',
52-
+ packages=find_packages(exclude=['tests']),
53-
+ install_requires=['paramiko', 'lxml', 'defusedxml'],
54-
+ python_requires='>=3.7',
50+
+ long_description_content_type="text/markdown",
51+
+ url="https://github.com/greenbone/python-gvm",
52+
+ packages=find_packages(exclude=["tests"]),
53+
+ install_requires=["paramiko", "lxml", "defusedxml"],
54+
+ python_requires=">=3.9",
5555
+ classifiers=[
5656
+ # Full list: https://pypi.org/pypi?%3Aaction=list_classifiers
57-
+ 'Development Status :: 5 - Production/Stable',
58-
+ 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
59-
+ 'Environment :: Console',
60-
+ 'Intended Audience :: Developers',
61-
+ 'Programming Language :: Python :: 3.5',
62-
+ 'Programming Language :: Python :: 3.6',
63-
+ 'Programming Language :: Python :: 3.7',
64-
+ 'Programming Language :: Python :: 3.8',
65-
+ 'Operating System :: OS Independent',
66-
+ 'Topic :: Software Development :: Libraries :: Python Modules',
57+
+ "Development Status :: 5 - Production/Stable",
58+
+ "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
59+
+ "Environment :: Console",
60+
+ "Intended Audience :: Developers",
61+
+ "Programming Language :: Python :: 3.9",
62+
+ "Operating System :: OS Independent",
63+
+ "Topic :: Software Development :: Libraries :: Python Modules",
6764
+ ],
6865
+)

debian/watch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
version=3
1+
version=4
22
opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/python-gvm-$1\.tar\.gz/ \
33
https://github.com/greenbone/python-gvm/tags .*/v?(\d\S*)\.tar\.gz

0 commit comments

Comments
 (0)