aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-04-22 19:27:57 +0200
committerWojtek Kosior <koszko@koszko.org>2022-04-26 13:22:18 +0200
commitbbb9e6fbbec3f6f83b72baf9d337b93aa5f0cb21 (patch)
treeefa79b0e5509d9e919044be2c1a86735f74bf516
parent376425d547b12f0e09c7c9636ad891a3ede0e272 (diff)
downloadhaketilo-hydrilla-bbb9e6fbbec3f6f83b72baf9d337b93aa5f0cb21.tar.gz
haketilo-hydrilla-bbb9e6fbbec3f6f83b72baf9d337b93aa5f0cb21.zip
add debian/ directory
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control26
-rw-r--r--debian/copyright6
-rw-r--r--debian/gbp.conf3
-rw-r--r--debian/manpages1
-rw-r--r--debian/py3dist-overrides1
-rw-r--r--debian/python3-hydrilla.docs1
-rwxr-xr-xdebian/rules24
-rw-r--r--debian/source/format1
10 files changed, 69 insertions, 0 deletions
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 <koszko@koszko.org> 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 <koszko@koszko.org>
+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)