From 20a257dd0ff2739d5ad2b6949109713d1824b643 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 27 Jul 2020 08:02:33 +0200 Subject: [PATCH] add debian packaging --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 28 ++++++++++++++++++++++++++++ debian/copyright | 30 ++++++++++++++++++++++++++++++ debian/docs | 1 + debian/rules | 10 ++++++++++ debian/source/format | 1 + debian/watch | 2 ++ 8 files changed, 78 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..ba2191d --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +workalendar (10.3.0-0) unstable; urgency=medium + + * Initial release + + -- Frederic Peters Sat, 11 Jul 2020 15:13:39 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +10 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..ed9e8fb --- /dev/null +++ b/debian/control @@ -0,0 +1,28 @@ +Source: workalendar +Section: python +Priority: extra +Maintainer: Frederic Peters +Build-Depends: debhelper, + dh-python, + python3-all, + python3-setuptools +Standards-Version: 3.9.5 +Homepage: https://pypi.python.org/pypi/workalendar/ + +Package: python3-workalendar +Architecture: all +Depends: python3-dateutil, + python3-lunardate, + python3-pycalverter, + python3-pyluach, + python3-skyfield, + python3-skyfield-data, + python3-tz, + ${misc:Depends}, + ${python3:Depends} +Description: Worldwide holidays and working days helper and toolkit (Python 3) + Workalendar is a Python module that offers classes able to handle calendars, + list legal / religious holidays and gives working-day-related computation + functions. + . + This is the Python 3 version of the package. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..a93cd26 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,30 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: workalendar +Source: https://pypi.org/project/workalendar/ + +Files: * +Copyright: 2013 Novapost +License: MIT + +Files: debian/* +Copyright: 2020 Frederic Peters +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/docs b/debian/docs new file mode 100644 index 0000000..a1320b1 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README.rst diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..058e32e --- /dev/null +++ b/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +#export DH_VERBOSE=1 +export PYBUILD_NAME=workalendar + +%: + dh $@ --with python3 --buildsystem=pybuild + +override_dh_auto_test: 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..ee0bc28 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://pypi.python.org/packages/source/w/workalendar/ workalendar-(.*)\.tar\.gz