diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..3b31028 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +python-aristaproto (1.2+20240521-1) unstable; urgency=medium + + * Initial upload to sid. + + -- Daniel Baumann Mon, 29 Jul 2024 11:40:44 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..5630305 --- /dev/null +++ b/debian/control @@ -0,0 +1,27 @@ +Source: python-aristaproto +Section: python +Priority: optional +Maintainer: Daniel Baumann +Build-Depends: + debhelper-compat (= 13), + dh-sequence-python3, + pybuild-plugin-pyproject, + python3-all, + python3-poetry, + python3-setuptools, +Rules-Requires-Root: no +Standards-Version: 4.7.0 +Homepage: https://github.com/aristanetworks/python-aristaproto +Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/python-aristaproto +Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/python-aristaproto + +Package: python3-aristaproto +Section: python +Architecture: all +Depends: + ${misc:Depends}, + ${python3:Depends}, +Description: Arista Protobuf / Python gRPC bindings generator + Arista Protobuf provides an improved experience when using Protobuf in a modern + Python environment by making use of modern language features and generating + readable, understandable, idiomatic Python code. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..d5e4792 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,32 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: python-aristaproto +Upstream-Contact: https://github.com/aristanetworks/python-aristaproto/issues +Source: https://github.com/aristanetworks/python-aristaproto/releases + +Files: * +Copyright: 2023 Arista Networks + 2017-2024 Anthony Sottile +License: MIT + +Files: debian/* +Copyright: 2024 Daniel Baumann +License: MIT + +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..9d9f342 --- /dev/null +++ b/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=aristaproto + +%: + dh ${@} --buildsystem=pybuild + +execute_after_dh_auto_clean: + # help pybuild + rm -rf *.egg-info + +override_dh_auto_test: + # disabled: some dependencies not yet in debian 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..d5a4db2 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=4 +opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/python-aristaproto-$1\.tar\.gz/ \ +https://github.com/aristanetworks/python-aristaproto/tags .*/v?(\d\S+)\.tar\.gz