commit 1693cd5a72a426f98698f6e26e72444e78bf369e
parent 1815612e6b66a79e6fb97edc153cc975e03f25d0
Author: nolash <dev@holbrook.no>
Date: Sun, 7 Nov 2021 13:58:43 +0100
Add debian packaging
Diffstat:
6 files changed, 48 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
@@ -0,0 +1,5 @@
+moolb (0.2.0) UNRELEASED; urgency=low
+
+ * Initial deb packaging
+
+ -- Louis Holbrook <dev@holbrook.no> Sun, 07 Nov 2021 12:06:03 +0200
diff --git a/debian/compat b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
@@ -0,0 +1,12 @@
+Source: moolb
+Section: python
+Priority: optional
+Maintainer: Louis Holbrook <dev@holbrook.no>
+Build-Depends: debhelper (>= 9), python3-setuptools
+Standards-Version: 3.9.5
+
+Package: moolb
+Architecture: any
+Pre-Depends: dpkg, python3 (>= 3.7)
+Depends: make
+Description: Simple bloom filter with pluggable hash backend
diff --git a/debian/copyright b/debian/copyright
@@ -0,0 +1,21 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: cic-cache
+Source: https://git.grassecon.net/grassrootseconomics/cic-internal-integration
+
+Files: *
+Copyright: Copyright 2021 Louis Holbrook <dev@holbrook.no>
+License: WTFPL
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ Version 2, December 2004
+
+ Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
+
+ Everyone is permitted to copy and distribute verbatim or modified
+ copies of this license document, and changing it is allowed as long
+ as the name is changed.
+
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. You just DO WHAT THE FUCK YOU WANT TO.
+
diff --git a/debian/rules b/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@ --with python3
+
+override_dh_builddeb:
+ python setup.py install --root=/root/debian/moolb
+ dh_builddeb
diff --git a/setup.py b/setup.py
@@ -6,7 +6,7 @@ f.close()
setup(
name='moolb',
- version='0.2.0'.
+ version='0.2.0',
description='Simple bloom filter with pluggable hash backend',
author='Louis Holbrook',
author_email='dev@holbrook.no',