From bbb9e6fbbec3f6f83b72baf9d337b93aa5f0cb21 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Fri, 22 Apr 2022 19:27:57 +0200 Subject: add debian/ directory --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 26 ++++++++++++++++++++++++++ debian/copyright | 6 ++++++ debian/gbp.conf | 3 +++ debian/manpages | 1 + debian/py3dist-overrides | 1 + debian/python3-hydrilla.docs | 1 + debian/rules | 24 ++++++++++++++++++++++++ debian/source/format | 1 + 10 files changed, 69 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/gbp.conf create mode 100644 debian/manpages create mode 100644 debian/py3dist-overrides create mode 100644 debian/python3-hydrilla.docs create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..35a7542 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +python-hydrilla (1.0-1) koszko; urgency=medium + + * Initial release. + + -- W. Kosior Fri, 22 Apr 2022 19:24:23 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..9a03714 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +10 \ No newline at end of file diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..2021adb --- /dev/null +++ b/debian/control @@ -0,0 +1,26 @@ +# SPDX-License-Identifier: CC0-1.0 + +# Hydrilla's debian/control file +# +# Copyright (C) 2021,2022 Wojtek Kosior +# +# Available under the terms of Creative Commons Zero v1.0 Universal. + +Source: python-hydrilla +Maintainer: W. Kosior +Section: devel +Priority: optional +Standards-Version: 4.3.0 +Build-Depends: debhelper (>= 11), dh-python, python3-all (>= 3.7), + python3-setuptools (>= 45), python3-babel, python3-pytest, +# also add test dependencies + python3-hydrilla.builder (>= 1.0), python3-hydrilla.builder (<< 1.0.1), + python3-flask, reuse + +Package: python3-hydrilla +Architecture: all +Depends: ${python3:Depends}, ${misc:Depends} +X-Python3-Version: >= 3.7 +Description: generate Haketilo packages + Hydrilla builder prepares independent website resources to be served by + Hydrilla server. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..b60979e --- /dev/null +++ b/debian/copyright @@ -0,0 +1,6 @@ +Hydrilla is copyright 2021, 2022 Wojtek Kosior. +Hydrilla can be used under the terms of GNU Affero General Public License +version 3 as published by the Free Software Foundation. + +Additionally, Wojtek Kosior promises not to actually sue for violations of the +license. diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..18a0f96 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,3 @@ +[DEFAULT] +upstream-branch=debian-upstream +debian-branch=debian-debian diff --git a/debian/manpages b/debian/manpages new file mode 100644 index 0000000..5f556fd --- /dev/null +++ b/debian/manpages @@ -0,0 +1 @@ +doc/man/man1/hydrilla.1 diff --git a/debian/py3dist-overrides b/debian/py3dist-overrides new file mode 100644 index 0000000..e1297a6 --- /dev/null +++ b/debian/py3dist-overrides @@ -0,0 +1 @@ +hydrilla.builder python3-hydrilla.builder (>= 1.0), python3-hydrilla.builder (<< 1.0.1) diff --git a/debian/python3-hydrilla.docs b/debian/python3-hydrilla.docs new file mode 100644 index 0000000..d76f1b7 --- /dev/null +++ b/debian/python3-hydrilla.docs @@ -0,0 +1 @@ +doc/examples/ diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..76c1b3d --- /dev/null +++ b/debian/rules @@ -0,0 +1,24 @@ +#! /usr/bin/make -f + +# SPDX-License-Identifier: CC0-1.0 + +# Hydrilla's debian/rules file +# +# Copyright (C) 2021,2022 Wojtek Kosior +# +# Available under the terms of Creative Commons Zero v1.0 Universal. + +export DH_VERBOSE = 1 +export PYBUILD_NAME = hydrilla +export PYBUILD_TEST_PYTEST = 1 + +%: + dh $@ --with python3 --buildsystem=pybuild + +override_dh_auto_install: + dh_auto_install + # Namespaces. python3-hydrilla.builder package will provide the + # __init__.py file. + for DIR in ./debian/python3-hydrilla/usr/lib/python*; do \ + rm -f $$DIR/dist-packages/hydrilla/__init__.py; \ + done diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) -- cgit v1.2.3