1
0
Fork 0

Adding debian version 1.6.4-1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-05 14:32:18 +01:00
parent d5b8e0af0d
commit 56ae818368
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
7 changed files with 89 additions and 0 deletions

5
debian/changelog vendored Normal file
View file

@ -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

24
debian/control vendored Normal file
View file

@ -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.

45
debian/copyright vendored Normal file
View file

@ -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.

1
debian/python3-treelib.examples vendored Normal file
View file

@ -0,0 +1 @@
examples/*

10
debian/rules vendored Executable file
View file

@ -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

1
debian/source/format vendored Normal file
View file

@ -0,0 +1 @@
3.0 (quilt)

3
debian/watch vendored Normal file
View file

@ -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