summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/changelog5
-rw-r--r--debian/control24
-rw-r--r--debian/copyright45
-rw-r--r--debian/python3-treelib.examples1
-rwxr-xr-xdebian/rules10
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch3
7 files changed, 89 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..dc8e986
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+treelib (1.6.4-1) sid; urgency=medium
+
+ * Initial upload to sid, required dependency for arista-avd.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Thu, 11 May 2023 10:46:42 +0200
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..bbe254f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: treelib
+Section: python
+Priority: optional
+Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
+Build-Depends:
+ debhelper-compat (= 13),
+ dh-sequence-python3,
+ python3-all,
+ python3-setuptools,
+ python3-six <!nocheck>,
+Rules-Requires-Root: no
+Standards-Version: 4.6.2
+Homepage: https://github.com/caesar0301/treelib
+Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/treelib
+Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/treelib
+
+Package: python3-treelib
+Section: python
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python3:Depends},
+Description: Python implementation of tree structure
+ treelib is a simple tree data structure implementation in Python.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..60d1d81
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,45 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: identify
+Upstream-Contact: Xiaming Chen <chenxm35@gmail.com>
+Source: https://github.com/caesar0301/treelib/releases
+
+Files: *
+Copyright: 2011 Brett Alistair Kromkamp <brettkromkamp@gmail.com>
+ 2012-2017 Xiaming Chen <chenxm35@gmail.com>
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2023 Daniel Baumann <daniel.baumann@progress-linux.org>
+License: Apache-2.0
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License"); you may
+ not use this file except in compliance with the License. You may obtain
+ a copy of the License at
+ .
+ https://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ License for the specific language governing permissions and limitations
+ under the License.
+ .
+ In addition, as a special exception, the copyright holders give
+ permission to link the code of portions of this program with the
+ OpenSSL library under certain conditions as described in each
+ individual source file, and distribute linked combinations including
+ the two.
+ .
+ You must obey the GNU General Public License in all respects for all
+ of the code used other than OpenSSL. If you modify file(s) with this
+ exception, you may extend this exception to your version of the
+ file(s), but you are not obligated to do so. If you do not wish to do
+ so, delete this exception statement from your version. If you delete
+ this exception statement from all source files in the program, then
+ also delete it here.
+ .
+ Comment:
+ .
+ The complete text of the Apache License 2.0
+ can be found in /usr/share/common-licenses/Apache-2.0.
diff --git a/debian/python3-treelib.examples b/debian/python3-treelib.examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/python3-treelib.examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..3d0952a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=treelib
+
+%:
+ dh ${@} --buildsystem=pybuild
+
+execute_after_dh_installexamples:
+ # correcting shebang
+ sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/python3|' debian/python3-treelib/usr/share/doc/python3-treelib/examples/*.py
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)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..baead28
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/treelib-$1\.tar\.gz/ \
+https://github.com/caesar0301/treelib/tags .*/v?(\d\S+)\.tar\.gz