# HG changeset patch # User Paul Boddie # Date 1646072900 -3600 # Node ID 45b32aa8ca1a26c8bdfd4bc1e37e42ec18caa203 Tentative Debian packaging for emeraldtree. diff -r 000000000000 -r 45b32aa8ca1a debian/changelog --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/changelog Mon Feb 28 19:28:20 2022 +0100 @@ -0,0 +1,5 @@ +emeraldtree (0.9.2-1) unstable; urgency=low + + * Initial release. + + -- Paul Boddie Sat, 26 Feb 2022 23:37:59 +0100 diff -r 000000000000 -r 45b32aa8ca1a debian/compat --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/compat Mon Feb 28 19:28:20 2022 +0100 @@ -0,0 +1,1 @@ +10 diff -r 000000000000 -r 45b32aa8ca1a debian/control --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/control Mon Feb 28 19:28:20 2022 +0100 @@ -0,0 +1,29 @@ +Source: emeraldtree +Section: python +Priority: optional +Maintainer: Paul Boddie +Build-Depends: + debhelper (>= 10), + dh-python, + python3-all, + python3-setuptools +Standards-Version: 3.9.8 +X-Python3-Version: >= 3.7 +Homepage: https://github.com/moinwiki/emeraldtree + +Package: python3-emeraldtree +Architecture: all +Depends: + python3-six, + ${misc:Depends}, + ${python3:Depends} +Description: Light-weight toolkit for XML processing + EmeraldTree is a fork of ElementTree - the main differences are: + . + - It has a slightly different API for handling of text: + it uses unicode objects as children (not as "tail" attributes + of the elements) + - API cleanups, removing backward compatibility + - Better unicode support + - PolyglotWriter (for writing html5 that is also well-formed xml) + - Other improvements / optimizations diff -r 000000000000 -r 45b32aa8ca1a debian/copyright --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/copyright Mon Feb 28 19:28:20 2022 +0100 @@ -0,0 +1,58 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: emeraldtree +Source: https://pypi.python.org/pypi/emeraldtree + +Files: * +Copyright: 1999-2007 Secret Labs AB + 1999-2007 Fredrik Lundh + 2008-2012 Bastian Blank + 2008-2021 Thomas Waldmann +License: PIL + +Files: debian/* +Copyright: 2021 Paul Boddie +License: Expat + +License: Expat + 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. + +License: PIL + By obtaining, using, and/or copying this software and/or its + associated documentation, you agree that you have read, understood, + and will comply with the following terms and conditions: + . + Permission to use, copy, modify, and distribute this software and its + associated documentation for any purpose and without fee is hereby + granted, provided that the above copyright notice appears in all + copies, and that both that copyright notice and this permission notice + appear in supporting documentation, and that the name of Secret Labs + AB or the author not be used in advertising or publicity pertaining to + distribution of the software without specific, written prior + permission. + . + SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO + THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS. IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR BE LIABLE FOR + ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT + OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff -r 000000000000 -r 45b32aa8ca1a debian/rules --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/rules Mon Feb 28 19:28:20 2022 +0100 @@ -0,0 +1,6 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=emeraldtree + +%: + dh $@ --with python3 --buildsystem pybuild diff -r 000000000000 -r 45b32aa8ca1a debian/source/format --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/source/format Mon Feb 28 19:28:20 2022 +0100 @@ -0,0 +1,1 @@ +3.0 (quilt) diff -r 000000000000 -r 45b32aa8ca1a debian/watch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/watch Mon Feb 28 19:28:20 2022 +0100 @@ -0,0 +1,3 @@ +version=3 +opts=uversionmangle=s/(rc|a|b|c)/~$1/ \ +https://pypi.debian.net/emeraldtree/emeraldtree-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))