Skip to content

Commit c1f4a9f

Browse files
committed
new: dev: update to debian packaging files from packages.debian.org
* remove setuptools_scm toml feature and bump build-system requires * note setuptools versions greater than 59 are only available for py37 and higher while minimum required for setuptools_scm is 61 while setuptools_scm 8 is also too high for py37 * make sure debian control file depends on python3-setuptools-scm because it gets parsed by deb-helper scripts * workaround bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003252 in debian rules Signed-off-by: Stephen L Arnold <[email protected]>
1 parent 65ab943 commit c1f4a9f

38 files changed

+570
-88
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
os: [ubuntu-20.04, macos-latest]
25-
python-version: [3.6, 3.8, '3.10', '3.11']
25+
python-version: ['3.7', '3.8', '3.10', '3.11']
2626
steps:
2727
- name: Set git crlf/eol
2828
run: |

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ jobs:
5252
python -m pip install --upgrade pip wheel
5353
pip install tox tox-gh-actions
5454
55+
- name: Run tests
56+
run: |
57+
tox -- --slow
58+
env:
59+
PLATFORM: ${{ matrix.os }}
60+
5561
- name: Build dist pkgs
5662
run: |
5763
tox -e build

.github/workflows/wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
os: [ubuntu-20.04, macos-latest]
22-
python-version: [3.6, 3.7, 3.8, 3.9, '3.10', '3.11']
22+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
2323

2424
steps:
2525
- name: Set git crlf/eol

debian/.debhelper/generated/bmap-tools/installed-by-dh_installdocs

Whitespace-only changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
./docs/man1/bmaptool.1

debian/bmap-tools.debhelper.log

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

debian/bmap-tools.docs

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

debian/bmap-tools.install

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
# Automatically added by dh_python3:
3+
if which py3compile >/dev/null 2>&1; then
4+
py3compile -p bmap-tools
5+
fi
6+
if which pypy3compile >/dev/null 2>&1; then
7+
pypy3compile -p bmap-tools || true
8+
fi
9+
10+
# End automatically added section

debian/bmap-tools.prerm.debhelper

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
# Automatically added by dh_python3:
3+
if which py3clean >/dev/null 2>&1; then
4+
py3clean -p bmap-tools
5+
else
6+
dpkg -L bmap-tools | perl -ne 's,/([^/]*)\.py$,/__pycache__/\1.*, or next; unlink $_ or die $! foreach glob($_)'
7+
find /usr/lib/python3/dist-packages/ -type d -name __pycache__ -empty -print0 | xargs --null --no-run-if-empty rmdir
8+
fi
9+
10+
# End automatically added section

0 commit comments

Comments
 (0)