[med-svn] [Git][med-team/python-epimodels][master] 3 commits: really exclude pyscaffold

Andreas Tille gitlab at salsa.debian.org
Mon Feb 22 16:14:00 GMT 2021



Andreas Tille pushed to branch master at Debian Med / python-epimodels


Commits:
48868cb9 by Andreas Tille at 2021-02-22T16:57:47+01:00
really exclude pyscaffold

- - - - -
c755c3eb by Andreas Tille at 2021-02-22T17:11:01+01:00
fix copyright, enable proper testing

- - - - -
845d1d66 by Andreas Tille at 2021-02-22T17:13:36+01:00
Delete .coverage file

- - - - -


4 changed files:

- debian/control
- debian/copyright
- debian/patches/ignore_pyscaffold.patch
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -7,6 +7,11 @@ Build-Depends: debhelper-compat (= 13),
                dh-python,
                python3,
                python3-setuptools,
+               python3-matplotlib <!nocheck>,
+               python3-numba <!nocheck>,
+               python3-scipy <!nocheck>,
+               python3-pytest <!nocheck>,
+               python3-pytest-cov <!nocheck>
 Standards-Version: 4.5.1
 Vcs-Browser: https://salsa.debian.org/med-team/python-epimodels
 Vcs-Git: https://salsa.debian.org/med-team/python-epimodels.git
@@ -15,6 +20,7 @@ Rules-Requires-Root: no
 
 Package: python3-epimodels
 Architecture: all
+Section: python
 Depends: ${python3:Depends}, ${misc:Depends}
 Description: simple interface to simulate mathematical epidemic models in Python3
  This library provides a simple interface to simulate mathematical


=====================================
debian/copyright
=====================================
@@ -1,16 +1,30 @@
 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: epimodels
-Source: <path_to_download>
-Comment: **** Before manually editing this file you should give ****
-           scan-copyrights
-         **** available in cme + lib-config-model-dpkg-perl     ****
-         **** package a try.  For existing copyright files try  ****
-           cme update dpkg-copyright
+Source: https://github.com/fccoelho/epimodels
 
 Files: *
-Copyright: 20xx-20yy <upstream>
-License: <license>
+Copyright: 2018-2021 Flávio Codeço Coelho
+License: MIT
 
 Files: debian/*
 Copyright: 2020 Andreas Tille <tille at debian.org>
-License: <license>
+License: MIT
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.


=====================================
debian/patches/ignore_pyscaffold.patch
=====================================
@@ -1,3 +1,7 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Sun, 21 Feb 2021 18:38:03 +0100
+Description: Avoid usage of pyscaffold
+
 --- a/setup.py
 +++ b/setup.py
 @@ -20,4 +20,4 @@ except VersionConflict:
@@ -17,7 +21,32 @@
  # Add here dependencies of your project (semicolon/line-separated), e.g..
  install_requires = numpy; scipy; cython
  # The usage of test_requires is discouraged, see `Dependency Management` docs
-@@ -104,8 +104,3 @@ exclude =
+@@ -77,24 +77,10 @@ norecursedirs =
+     .tox
+ testpaths = tests
+ 
+-[aliases]
+-build = bdist_wheel
+-release = build upload
+-
+-[bdist_wheel]
+-# Use this option if your package is pure-python
+-universal = 1
+-
+ [build_sphinx]
+ source_dir = docs
+ build_dir = docs/_build
+ 
+-[devpi:upload]
+-# Options for the devpi: PyPI server and packaging tool
+-# VCS export must be deactivated since we are using setuptools-scm
+-no-vcs = 1
+-formats = bdist_wheel
+-
+ [flake8]
+ # Some sane defaults for the code style checker flake8
+ exclude =
+@@ -104,8 +90,3 @@ exclude =
      .eggs
      docs/conf.py
  


=====================================
debian/rules
=====================================
@@ -6,8 +6,6 @@ export PYBUILD_NAME=epimodels
 %:
 	dh $@ --with python3 --buildsystem=pybuild
 
-### When overriding auto_test make sure DEB_BUILD_OPTIONS will be respected
-#override_dh_auto_test:
-#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-#	do_stuff_for_testing
-#endif
+override_dh_install:
+	dh_install
+	find debian -name .coverage -delete



View it on GitLab: https://salsa.debian.org/med-team/python-epimodels/-/compare/c6159d65cf646a29e23b79f17dfb3734d5db6b5c...845d1d66711ce6c3a09ba7e2ebf5d1f61f7e2a12

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-epimodels/-/compare/c6159d65cf646a29e23b79f17dfb3734d5db6b5c...845d1d66711ce6c3a09ba7e2ebf5d1f61f7e2a12
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/20210222/373aff83/attachment-0001.htm>


More information about the debian-med-commit mailing list