debian: add initial packaging

This commit is contained in:
Frédéric Péters 2020-07-11 15:53:18 +02:00
parent 637cbb16a2
commit dc9f98a7f1
8 changed files with 74 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
skyfield-data (1.1.0-0) unstable; urgency=medium
* Initial release
-- Frederic Peters <fpeters@entrouvert.com> Sat, 11 Jul 2020 15:49:17 +0200

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
10

18
debian/control vendored Normal file
View File

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

36
debian/copyright vendored Normal file
View File

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

1
debian/docs vendored Normal file
View File

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

10
debian/rules vendored Executable file
View File

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

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/s/skyfield-data/ skyfield-data-(.*)\.tar\.gz