add debian packaging

This commit is contained in:
Frédéric Péters 2020-07-27 08:02:33 +02:00
parent 9566fa36d7
commit 20a257dd0f
8 changed files with 78 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
workalendar (10.3.0-0) unstable; urgency=medium
* Initial release
-- Frederic Peters <fpeters@entrouverg.com> Sat, 11 Jul 2020 15:13:39 +0200

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
10

28
debian/control vendored Normal file
View File

@ -0,0 +1,28 @@
Source: workalendar
Section: python
Priority: extra
Maintainer: Frederic Peters <fpeters@entrouvert.com>
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.

30
debian/copyright vendored Normal file
View File

@ -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 <fpeters@entrouvert.com>
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.

1
debian/docs vendored Normal file
View File

@ -0,0 +1 @@
README.rst

10
debian/rules vendored Executable file
View File

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

1
debian/source/format vendored Normal file
View File

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

2
debian/watch vendored Normal file
View File

@ -0,0 +1,2 @@
version=3
https://pypi.python.org/packages/source/w/workalendar/ workalendar-(.*)\.tar\.gz