From ba6d96469df143b52295f8e79da648bf8a597407 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 18:08:06 +0200 Subject: Adding upstream version 5.20230130+deb12u1. Signed-off-by: Daniel Baumann --- tests/t304/debian/changelog | 5 +++++ tests/t304/debian/compat | 1 + tests/t304/debian/control | 19 +++++++++++++++++++ tests/t304/debian/copyright | 2 ++ tests/t304/debian/examples | 1 + tests/t304/debian/install | 7 +++++++ tests/t304/debian/overrides.install | 2 ++ tests/t304/debian/rules | 26 ++++++++++++++++++++++++++ tests/t304/debian/source/format | 1 + 9 files changed, 64 insertions(+) create mode 100644 tests/t304/debian/changelog create mode 100644 tests/t304/debian/compat create mode 100644 tests/t304/debian/control create mode 100644 tests/t304/debian/copyright create mode 100644 tests/t304/debian/examples create mode 100644 tests/t304/debian/install create mode 100644 tests/t304/debian/overrides.install create mode 100755 tests/t304/debian/rules create mode 100644 tests/t304/debian/source/format (limited to 'tests/t304/debian') diff --git a/tests/t304/debian/changelog b/tests/t304/debian/changelog new file mode 100644 index 0000000..c1ed13c --- /dev/null +++ b/tests/t304/debian/changelog @@ -0,0 +1,5 @@ +foo (1.0) unstable; urgency=low + + * Initial release + + -- Piotr Ożarowski Sun, 10 Jun 2012 14:09:45 +0200 diff --git a/tests/t304/debian/compat b/tests/t304/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/tests/t304/debian/compat @@ -0,0 +1 @@ +9 diff --git a/tests/t304/debian/control b/tests/t304/debian/control new file mode 100644 index 0000000..4dd38b0 --- /dev/null +++ b/tests/t304/debian/control @@ -0,0 +1,19 @@ +Source: foo +Section: misc +Priority: optional +Maintainer: Piotr Ożarowski +Build-Depends: debhelper (>= 7.0.50~) +Build-Depends-Indep: python3 +Standards-Version: 3.9.3 + +Package: foo +Architecture: all +Depends: ${python3:Depends}, ${misc:Depends} +Description: example 4 - shebangs + example package #4 - shebang related tests + +Package: overrides +Architecture: all +Depends: ${python3:Depends}, ${misc:Depends} +Description: example 4 - command line parsing + example package #4 - command line argument parsing diff --git a/tests/t304/debian/copyright b/tests/t304/debian/copyright new file mode 100644 index 0000000..bf78fd0 --- /dev/null +++ b/tests/t304/debian/copyright @@ -0,0 +1,2 @@ +The Debian packaging is © 2012, Piotr Ożarowski and +is licensed under the MIT License. diff --git a/tests/t304/debian/examples b/tests/t304/debian/examples new file mode 100644 index 0000000..fe8826b --- /dev/null +++ b/tests/t304/debian/examples @@ -0,0 +1 @@ +foo.py diff --git a/tests/t304/debian/install b/tests/t304/debian/install new file mode 100644 index 0000000..a106b6e --- /dev/null +++ b/tests/t304/debian/install @@ -0,0 +1,7 @@ +foo.py /usr/share/foo/ +baz.py /usr/share/foo/ +spam.py /usr/share/foo/ +bar.py /usr/share/bar/ +spam.py /usr/share/bar/ +baz.py /usr/share/baz32/ +spam.py /usr/share/baz32/ diff --git a/tests/t304/debian/overrides.install b/tests/t304/debian/overrides.install new file mode 100644 index 0000000..23e1322 --- /dev/null +++ b/tests/t304/debian/overrides.install @@ -0,0 +1,2 @@ +foo.py /usr/share/overrides1/ +foo.py /usr/share/overrides2/ diff --git a/tests/t304/debian/rules b/tests/t304/debian/rules new file mode 100755 index 0000000..5de6e3d --- /dev/null +++ b/tests/t304/debian/rules @@ -0,0 +1,26 @@ +#!/usr/bin/make -f +%: + dh $@ --buildsystem=python_distutils + +override_dh_auto_build: +override_dh_auto_install: + +override_dh_install: + dh_install + DH_VERBOSE=1 ../../dh_python3 -p foo + DH_VERBOSE=1 ../../dh_python3 -p foo /usr/share/bar -X spam.py + DH_VERBOSE=1 ../../dh_python3 -p foo /usr/share/baz32 --shebang '/usr/bin/python3.2 -OO' + + # Argument priority: -O > regular args > DH_OPTIONS + DH_VERBOSE=1 DH_OPTIONS=--shebang=/usr/bin/python3.0 \ + ../../dh_python3 -p overrides \ + --shebang=/usr/bin/python3-dbg \ + /usr/share/overrides1 + DH_VERBOSE=1 ../../dh_python3 -p overrides \ + --shebang=/usr/bin/python3.0 \ + -O=--shebang=/usr/bin/python3-dbg \ + -O=--foo=bar \ + /usr/share/overrides2 + +clean: + dh_clean diff --git a/tests/t304/debian/source/format b/tests/t304/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/tests/t304/debian/source/format @@ -0,0 +1 @@ +3.0 (native) -- cgit v1.2.3