Initial debianisation

parent 9d835132
python-sparse (0.1.0-1) UNRELEASED; urgency=low
* Initial release. (Closes: #862142)
-- Ghislain Antony Vaillant <ghisvail@gmail.com> Mon, 08 May 2017 23:28:40 +0100
Source: python-sparse
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Ghislain Antony Vaillant <ghisvail@gmail.com>
Section: python
Priority: optional
Build-Depends: debhelper (>= 10),
dh-python,
dpkg-dev (>= 1.17.14),
python3-all,
python3-numpy <!nocheck>,
python3-pytest <!nocheck>,
python3-scipy <!nocheck>,
python3-setuptools
Standards-Version: 3.9.8
Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/python-sparse.git
Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-sparse.git
Homepage: https://github.com/mrocklin/sparse
X-Python3-Version: >= 3.2
Package: python3-sparse
Architecture: all
Depends: ${misc:Depends},
${python3:Depends}
Description: multidimensional sparse arrays for Python
This package implements sparse multidimensional arrays on top of NumPy
and scipy.sparse. It generalizes the scipy.sparse.coo_matrix layout but
extends beyond just rows and columns to an arbitrary number of
dimensions. The original motivation is for machine learning algorithms,
but it is intended for somewhat general use.
.
It supports:
.
- NumPy ufuncs (where zeros are preserved)
- Arithmetic with scalars (where zeros are preserved)
- Reductions (sum, max)
- Reshape
- Transpose
- Tensordot
- Slicing with integers, lists, and slices (with no step value)
- Concatenation and stacking
- Addition with other sparse arrays of the same shape
.
This package provides the modules for Python 3.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: sparse
Upstream-Contact: Matthew Rocklin <mrocklin@gmail.com>
Source: https://pypi.python.org/pypi/sparse
Files: *
Copyright: 2017 Continuum Analytics, Inc. and contributors
License: BSD-3-Clause
Files: debian/*
Copyright: 2017 Ghislain Antony Vaillant <ghisvail@gmail.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:
.
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
.
* 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.
.
* Neither the name of the copyright holder 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 COPYRIGHT HOLDER 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.
[DEFAULT]
upstream-branch = upstream
debian-branch = master
upstream-tag = upstream/%(version)s
debian-tag = debian/%(version)s
sign-tags = True
pristine-tar = True
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE = 1
export PYBUILD_NAME = sparse
ifneq (,$(findstring nocheck,$(DEB_BUILD_PROFILES)))
export PYBUILD_DISABLE = test
else
export PYBUILD_TEST_ARGS = {dir}/sparse/tests
endif
%:
dh $@ --with python3 --buildsystem=pybuild
extend-diff-ignore="^[^/]+\.egg-info/"
Test-Command: set -e
; cp -r sparse/tests "$AUTOPKGTEST_TMP"
; for py in $(py3versions -r 2>/dev/null)
; do cd "$AUTOPKGTEST_TMP"
; echo "Testing with $py:"
; $py -m pytest -v
; done
Depends: python3-all,
python3-pytest,
python3-sparse
version=4
opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/sparse-$1\.tar\.gz/ \
https://github.com/mrocklin/sparse/tags .*/v?(\d\S+)\.tar\.gz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment