Skip to content

Commit

Permalink
remove support for python2 (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
psycofdj authored Nov 23, 2021
1 parent a62cd6f commit 9c25bb1
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 20 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ link : https://launchpad.net/~psycofdj/+archive/ubuntu/coverxygen
```bash
sudo add-apt-repository ppa:psycofdj/coverxygen
sudo apt-get update
# with python2 (default)
sudo apt-get install python-coverxygen
# or with python3
sudo apt-get install python3-coverxygen
```

Expand Down
3 changes: 1 addition & 2 deletions coverxygen/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

__author__ = "Xavier MARCELET <[email protected]>"
__copyright__ = "Copyright (C) 2016 Xavier MARCELET"
__version__ = "1.6.0"
__version__ = "1.7.0"
__description__ = "Generate doxygen's documentation coverage report"
__url__ = "https://github.com/psycofdj/coverxygen"
__download_url__ = "https://github.com/psycofdj/coverxygen/tarball/%s" % __version__
Expand All @@ -23,7 +23,6 @@
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: Unix",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3"
]

Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
coverxygen (1.7.0ppa1~focal) focal; urgency=medium

* drop support for python2.7

-- Xavier MARCELET <[email protected]> Tue, 23 Nov 2021 14:55:00 +0200

coverxygen (1.3.1ppa1~xenial) xenial; urgency=medium

* fix generated value when item is undocumented
Expand Down
10 changes: 1 addition & 9 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,8 @@ Section: python
Priority: optional
Maintainer: Xavier MARCELET <[email protected]>
Standards-Version: 3.9.7
Build-Depends: debhelper (>= 9), python-all (>= 2.7), python3-all (>= 3.2), python-setuptools, python3-setuptools, dh-python
Build-Depends: debhelper (>= 9), python3-all (>= 3.2), python3-setuptools, dh-python
X-Python3-Version: >= 3.2
X-Python2-Version: >= 2.7

Package: python-coverxygen
Architecture: all
Depends: ${python:Depends}, ${misc:Depends}
Description: Generate doxygen's documentation coverage report
http://github.com/psycofdj/coverxygen
.

Package: python3-coverxygen
Architecture: all
Expand Down
7 changes: 3 additions & 4 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,16 @@
#export DH_VERBOSE = 1

%:
dh $@ --with python2,python3 --buildsystem=pybuild
dh $@ --with python3 --buildsystem=pybuild

override_dh_auto_test:

override_dh_auto_clean:
python setup.py clean -a
python3 setup.py clean -a
find . -name \*.pyc -exec rm {} \;

override_dh_auto_build:
python setup.py build --force
python3 setup.py build --force

override_dh_auto_install:
python setup.py install --force --root=debian/python-coverxygen --no-compile -O0
python3 setup.py install --force --root=debian/python3-coverxygen --no-compile -O0
1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.0
2 changes: 1 addition & 1 deletion devtools/statuses.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#------------------------------------------------------------------#

__author__ = "Xavier MARCELET <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion devtools/xtdlint.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- mode:python -*-
# -*- coding:utf-8 -*-
#------------------------------------------------------------------#
Expand Down

0 comments on commit 9c25bb1

Please sign in to comment.