3rd-party: numpy-stl: Adding packaging files for Numpy-STL

However, a build recipe still needs to be created..

Fixes: #14

Signed-off-by: Thomas Karl Pietrowski <thopiekar@gmail.com> (github: thopiekar)
This commit is contained in:
Thomas Karl Pietrowski 2017-04-29 13:05:14 +02:00
parent 65cdb45d76
commit c1dc1589df
19 changed files with 219 additions and 0 deletions

8
_3rd-party/numpy-stl/.codeclimate.yml vendored Normal file
View File

@ -0,0 +1,8 @@
languages:
Ruby: true
JavaScript: true
PHP: true
Python: true
exclude_paths:
- 'tests/*'
- 'docs/*'

16
_3rd-party/numpy-stl/.coveragerc vendored Normal file
View File

@ -0,0 +1,16 @@
[report]
fail_under = 100
exclude_lines =
pragma: no cover
def __repr__
if self.debug:
if settings.DEBUG
raise AssertionError
raise NotImplementedError
if 0:
if __name__ == .__main__.:
[run]
source = stl
branch = True

6
_3rd-party/numpy-stl/.eggs/README.txt vendored Normal file
View File

@ -0,0 +1,6 @@
This directory contains eggs that were downloaded by setuptools to build, test, and run plug-ins.
This directory caches those eggs to prevent repeated downloads.
However, it is safe to delete this directory.

Binary file not shown.

Binary file not shown.

14
_3rd-party/numpy-stl/.gitignore vendored Normal file
View File

@ -0,0 +1,14 @@
build
dist
docs/_build
cover
*.egg-info
.cache
.coverage
**/htmlcov
**/*.pyc
**/*.pyo
**/*.so
/*.stl
/.tox
/stl/*.c

36
_3rd-party/numpy-stl/.travis.yml vendored Normal file
View File

@ -0,0 +1,36 @@
sudo: false
language: python
python: 3.5
cache:
- pip
- directory:
- .tox/dist
- .tox/distshare
env:
- TOX_ENV=docs
- TOX_ENV=flake8
- TOX_ENV=py27-nix
- TOX_ENV=py34-nix
- TOX_ENV=py35-nix
install:
- pip install -r tests/requirements.txt
- pip install coveralls flake8 tox
- pip install -e .
script:
- tox -e $TOX_ENV
after_success:
- coveralls
before_script: flake8 --ignore=W391 stl tests
notifications:
email:
on_success: never
on_failure: change
deploy:
provider: pypi
user: WoLpH
password:
secure: HVxDUJ6ns7G7xypuibu01ruDfO4orV5lNr1Mor003MX3HVivvKsTwWqY5K1J+J+C4mgK6ahyvanD5GahYvcWia/Y2xeH2VnytnAgo+W3AI+h72+1oaRpvQHynJ7Fz6Mc0zad0GcbQh3QuA7Pu3IOWs7buUL+MQM6d9QLTkerOvs=
on:
tags: true
distributions: bdist_wheel sdist
repo: WoLpH/numpy-stl

6
_3rd-party/numpy-stl/README.Debian vendored Normal file
View File

@ -0,0 +1,6 @@
numpy-stl for Debian
-------------------
<possible notes regarding this package - if none, delete this file>
-- Thomas Karl Pietrowski <thopiekar@unknown> Sat, 29 Apr 2017 11:45:20 +0200

10
_3rd-party/numpy-stl/README.source vendored Normal file
View File

@ -0,0 +1,10 @@
numpy-stl for Debian
-------------------
<this file describes information about the source package, see Debian policy
manual section 4.14. You WILL either need to modify or delete this file>
-- Thomas Karl Pietrowski <thopiekar@unknown> Sat, 29 Apr 2017 11:45:20 +0200

5
_3rd-party/numpy-stl/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
numpy-stl (0.0.1-1) unstable; urgency=medium
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
-- Thomas Karl Pietrowski <thopiekar@unknown> Sat, 29 Apr 2017 11:45:20 +0200

1
_3rd-party/numpy-stl/compat vendored Normal file
View File

@ -0,0 +1 @@
9

37
_3rd-party/numpy-stl/control vendored Normal file
View File

@ -0,0 +1,37 @@
Source: numpy-stl
Section: python
Priority: optional
Maintainer: Thomas Karl Pietrowski <thopiekar@googlemail.com>
Build-Depends: debhelper (>= 9), dh-python,
python-all-dev,
python3-all-dev,
Standards-Version: 3.9.8
X-Python-Version: >= 2.7
X-Python3-Version: >= 3.4
Homepage: <insert the upstream URL, if relevant>
#Vcs-Git: https://anonscm.debian.org/collab-maint/numpy-stl.git
#Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/numpy-stl.git
Package: numpy-stl
Architecture: all
Depends:
python-numpy-stl,
python3-numpy-stl,
Description: <insert up to 60 chars description>
<insert long description, indented with spaces>
Package: python-numpy-stl
Architecture: any
Depends:
${misc:Depends},
${python:Depends},
Description: <insert up to 60 chars description>
<insert long description, indented with spaces>
Package: python3-numpy-stl
Architecture: any
Depends:
${misc:Depends},
${python3:Depends},
Description: <insert up to 60 chars description>
<insert long description, indented with spaces>

38
_3rd-party/numpy-stl/copyright vendored Normal file
View File

@ -0,0 +1,38 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: numpy-stl
Source: <url://example.com>
Files: *
Copyright: <years> <put author's name and email here>
<years> <likewise for another author>
License: <special license>
<Put the license of the package here indented by 1 space>
<This follows the format of Description: lines in control file>
.
<Including paragraphs>
# If you want to use GPL v2 or later for the /debian/* files use
# the following clauses, or change it to suit. Delete these two lines
Files: debian/*
Copyright: 2017 Thomas Karl Pietrowski <thopiekar@unknown>
License: GPL-2+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
# Please also look if there are files or directories which have a
# different copyright/license attached and list them here.
# Please avoid picking licenses with terms that are more restrictive than the
# packaged work, as it may make Debian's contributions unacceptable upstream.

View File

@ -0,0 +1,2 @@
README.source
README.Debian

View File

@ -0,0 +1 @@
/usr/bin

View File

@ -0,0 +1 @@
/usr/lib/python2*/dist-packages

View File

@ -0,0 +1 @@
/usr/lib/python3*/dist-packages

36
_3rd-party/numpy-stl/rules vendored Executable file
View File

@ -0,0 +1,36 @@
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
export DH_VERBOSE = 1
%:
dh $@ --with python2 \
--with python3 \
--buildsystem=pybuild \
--parallel
#### CONFIGURE ####
#override_dh_auto_configure:
# @echo "Nothing to configure over here..."
#### BUILD ####
#override_dh_auto_build:
# # RELEASE
# for PYX in $(shell pyversions -rv) $(shell py3versions -rv) ; do \
# python$${PYX} setup.py build ; \
# python$${PYX} setup.py install --root=debian/numpy-stl ; \
# python$${PYX} setup.py clean ; \
# done
#
# # DEBUG
# for PYX in $(shell pyversions -rv) $(shell py3versions -rv) ; do \
# python$${PYX}-dbg setup.py build ; \
# python$${PYX}-dbg setup.py install --root=debian/numpy-stl ; \
# python$${PYX}-dbg setup.py clean ; \
# done
override_dh_auto_test:
@echo "Nothing to test over here..."
override_dh_install:
dh_install --fail-missing

1
_3rd-party/numpy-stl/source/format vendored Normal file
View File

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