[med-svn] [Git][med-team/biocore-ntnu-ncls][master] 4 commits: Add missing license

Andreas Tille gitlab at salsa.debian.org
Sat Jun 13 21:57:20 BST 2020



Andreas Tille pushed to branch master at Debian Med / biocore-ntnu-ncls


Commits:
3c58d5a7 by Andreas Tille at 2020-06-13T21:58:34+02:00
Add missing license

- - - - -
cce81f56 by Andreas Tille at 2020-06-13T22:06:35+02:00
Add missing Build-Depends: cython3

- - - - -
6347415c by Andreas Tille at 2020-06-13T22:36:25+02:00
Enforce cython

- - - - -
cc20da53 by Andreas Tille at 2020-06-13T22:56:40+02:00
Enable tests by adding python3-pytest

- - - - -


3 changed files:

- debian/control
- debian/copyright
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -6,9 +6,11 @@ Testsuite: autopkgtest-pkg-python
 Priority: optional
 Build-Depends: debhelper-compat (= 13),
                dh-python,
+               cython3,
                python3-all-dev,
                python3-setuptools,
-               python3-numpy <!nocheck>
+               python3-numpy <!nocheck>,
+               python3-pytest <!nocheck>
 Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/med-team/biocore-ntnu-ncls
 Vcs-Git: https://salsa.debian.org/med-team/biocore-ntnu-ncls.git


=====================================
debian/copyright
=====================================
@@ -6,6 +6,26 @@ Files: *
 Copyright: 2019 Endre Bakken Stovner
 License: BSD-3-Clause
 
+Files: ncls/src/utarray.h
+Copyright: 2008-2018, Troy D. Hanson
+Comment: Source available at http://troydhanson.github.com/uthash/
+License: BSD-1-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.
+ 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 OWNER
+ 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.
+
 Files: debian/*
 Copyright: 2020 Steffen Moeller <moeller at debian.org>
 License: BSD-3-Clause


=====================================
debian/rules
=====================================
@@ -5,9 +5,24 @@ export PYBUILD_NAME=ncls
 #export PYBUILD_DISABLE=test  # not quite ready
 #export PYBUILD_TEST_ARGS= -p no:cacheprovider -p no:stepwise -k 'not S3 and not rnaseq and not fusion and not srnaseq and not chipseq and not install_required and not devel and not template and not hla and not combo'
 
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
 %:
 	dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_auto_clean:
 	dh_auto_clean
 	rm -rf ncls.egg-info/
+	for cfilebak in `find . -name "*.c.bak"` ; do \
+	    cfile=`dirname $${cfilebak}`/`basename $${pyx} .bak` ; \
+	    mv $${cfilebak} $${cfile} ; \
+	done
+
+override_dh_auto_build:
+	for pyx in `find . -name "*.pyx"` ; do \
+	    cfile=`dirname $${pyx}`/`basename $${pyx} .pyx`.c ; \
+	    mv $${cfile} $${cfile}.bak ; \
+	done
+
+override_dh_auto_test:
+	PYTHONPATH=$(CURDIR) dh_auto_test



View it on GitLab: https://salsa.debian.org/med-team/biocore-ntnu-ncls/-/compare/716380d5b327cee4d9bad104596898c54646e9fa...cc20da53af465841249b943686d7090b6ec63c71

-- 
View it on GitLab: https://salsa.debian.org/med-team/biocore-ntnu-ncls/-/compare/716380d5b327cee4d9bad104596898c54646e9fa...cc20da53af465841249b943686d7090b6ec63c71
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200613/8a492a5a/attachment-0001.html>


More information about the debian-med-commit mailing list