From dc9f98a7f17eb15fc61b1c5222b283e4c84487ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sat, 11 Jul 2020 15:53:18 +0200 Subject: [PATCH] debian: add initial packaging --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 18 ++++++++++++++++++ debian/copyright | 36 ++++++++++++++++++++++++++++++++++++ debian/docs | 1 + debian/rules | 10 ++++++++++ debian/source/format | 1 + debian/watch | 2 ++ 8 files changed, 74 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..dce79e5 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +skyfield-data (1.1.0-0) unstable; urgency=medium + + * Initial release + + -- Frederic Peters Sat, 11 Jul 2020 15:49:17 +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..1c15851 --- /dev/null +++ b/debian/control @@ -0,0 +1,18 @@ +Source: skyfield-data +Section: python +Priority: extra +Maintainer: Frederic Peters +Build-Depends: debhelper, + python3-all, + python3-setuptools +Standards-Version: 3.9.5 +Homepage: https://pypi.python.org/pypi/skyfield-data/ + +Package: python3-skyfield-data +Architecture: all +Depends: ${python3:Depends}, ${misc:Depends} +Description: Data files for Skyfield + Skyfield is a Python library for astronomical computations. It depends on + various data files to accurately compute moon phases, planet positions, etc. + . + This module povides the most common of these assets as a Python Package. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..18907ef --- /dev/null +++ b/debian/copyright @@ -0,0 +1,36 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: skyfield-data +Source: https://pypi.python.org/pypi/skyfield-data/ + +Files: * +Copyright: ... +License: TODO + +Files: debian/* +Copyright: 2020 Frederic Peters +License: BSD-3-Clause + +License: BSD-3-Clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE HOLDERS OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..b43bf86 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README.md diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..0330442 --- /dev/null +++ b/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +#export DH_VERBOSE=1 +export PYBUILD_NAME=skyfield-data + +%: + 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..678a4a3 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://pypi.python.org/packages/source/s/skyfield-data/ skyfield-data-(.*)\.tar\.gz