# HG changeset patch # User Paul Boddie # Date 1646072968 -3600 # Node ID 7fb29f9b553d070d79b547d4394070492af3c2e9 Tentative Debian packaging for flatland. diff -r 000000000000 -r 7fb29f9b553d debian/changelog --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/changelog Mon Feb 28 19:29:28 2022 +0100 @@ -0,0 +1,5 @@ +flatland (0.9.1-1) unstable; urgency=low + + * Initial release. + + -- Paul Boddie Fri, 25 Feb 2022 23:39:59 +0100 diff -r 000000000000 -r 7fb29f9b553d debian/compat --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/compat Mon Feb 28 19:29:28 2022 +0100 @@ -0,0 +1,1 @@ +10 diff -r 000000000000 -r 7fb29f9b553d debian/control --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/control Mon Feb 28 19:29:28 2022 +0100 @@ -0,0 +1,27 @@ +Source: flatland +Section: python +Priority: optional +Maintainer: Paul Boddie +Build-Depends: + debhelper (>= 10), + dh-python, + python3-all, + python3-setuptools, + python3-setuptools-scm, + python3-blinker, + python3-nose +Standards-Version: 3.9.8 +X-Python3-Version: >= 3.7 +Homepage: https://github.com/discorporate/flatland/ + +Package: python3-flatland +Architecture: all +Depends: + python3-blinker, + ${misc:Depends}, + ${python3:Depends} +Description: HTML form management and validation + Flatland maps between rich, structured Python application data and the + string-oriented flat namespace of web forms, key/value stores, text + files and user input. Flatland provides a schema-driven mapping + toolkit with optional data validation. diff -r 000000000000 -r 7fb29f9b553d debian/copyright --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/copyright Mon Feb 28 19:29:28 2022 +0100 @@ -0,0 +1,33 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: flatland +Source: https://pypi.python.org/pypi/flatland + +Files: * +Copyright: The Flatland authors and contributors +License: Expat + +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. diff -r 000000000000 -r 7fb29f9b553d debian/patches/000-setup-setuptools-scm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/patches/000-setup-setuptools-scm Mon Feb 28 19:29:28 2022 +0100 @@ -0,0 +1,59 @@ +Description: Remove setuptools_scm retrieval + Since the python3-setuptools-scm package is a build dependency, setup.py + should not attempt to retrieve the package from the Python Package Index + itself. + . + flatland (0.9.1-1) unstable; urgency=low + . + * Initial release. +Author: Paul Boddie + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: , +Bug: +Bug-Debian: https://bugs.debian.org/ +Bug-Ubuntu: https://launchpad.net/bugs/ +Forwarded: +Reviewed-By: +Last-Update: 2022-02-26 + +--- /dev/null ++++ flatland-0.9.1/.eggs/README.txt +@@ -0,0 +1,6 @@ ++This directory contains eggs that were downloaded by setuptools to build, test, and run plug-ins. ++ ++This directory caches those eggs to prevent repeated downloads. ++ ++However, it is safe to delete this directory. ++ +--- /dev/null ++++ flatland-0.9.1/.pybuild/cpython3_3.7_flatland/.pydistutils.cfg +@@ -0,0 +1,12 @@ ++[clean] ++all=1 ++[build] ++build-lib=/home/paulb/Software/Python/moin-2.0/flatland/.pybuild/cpython3_3.7_flatland/build ++[install] ++force=1 ++install-layout=deb ++install-scripts=$base/bin ++install-lib=/usr/lib/python3.7/dist-packages ++prefix=/usr ++[easy_install] ++allow_hosts=None +--- flatland-0.9.1.orig/setup.py ++++ flatland-0.9.1/setup.py +@@ -50,9 +50,6 @@ setup(name="flatland", + use_scm_version={ + 'write_to': 'flatland/_version.py', + }, +- setup_requires=[ +- 'setuptools_scm', +- ], + install_requires=[ + 'blinker', + ], diff -r 000000000000 -r 7fb29f9b553d debian/patches/series --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/patches/series Mon Feb 28 19:29:28 2022 +0100 @@ -0,0 +1,1 @@ +000-setup-setuptools-scm diff -r 000000000000 -r 7fb29f9b553d debian/rules --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/rules Mon Feb 28 19:29:28 2022 +0100 @@ -0,0 +1,6 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=flatland + +%: + dh $@ --with python3 --buildsystem pybuild diff -r 000000000000 -r 7fb29f9b553d debian/source/format --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/source/format Mon Feb 28 19:29:28 2022 +0100 @@ -0,0 +1,1 @@ +3.0 (quilt) diff -r 000000000000 -r 7fb29f9b553d debian/watch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/watch Mon Feb 28 19:29:28 2022 +0100 @@ -0,0 +1,3 @@ +version=3 +opts=uversionmangle=s/(rc|a|b|c)/~$1/ \ +https://pypi.debian.net/flatland/flatland-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))