[med-svn] [Git][med-team/python-csb][master] 10 commits: Remove Python2 support, Remove API doc since it is created by deprecated epydoc

Andreas Tille gitlab at salsa.debian.org
Thu Aug 1 07:37:07 BST 2019



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


Commits:
3cb8704a by Andreas Tille at 2019-08-01T06:00:39Z
Remove Python2 support, Remove API doc since it is created by deprecated epydoc

- - - - -
8eb501d1 by Andreas Tille at 2019-08-01T06:26:21Z
Move to source section science and leace python3-csb to section python

- - - - -
489e94ba by Andreas Tille at 2019-08-01T06:26:51Z
debhelper-compat 12

- - - - -
5edde93b by Andreas Tille at 2019-08-01T06:26:54Z
Standards-Version: 4.4.0

- - - - -
6f528b12 by Andreas Tille at 2019-08-01T06:26:55Z
Secure URI in copyright format

- - - - -
4e08572f by Andreas Tille at 2019-08-01T06:28:22Z
Respect DEB_BUILD_OPTIONS in override_dh_auto_test target

- - - - -
2fdf81f6 by Andreas Tille at 2019-08-01T06:28:22Z
Remove trailing whitespace in debian/copyright

- - - - -
5a572b2a by Andreas Tille at 2019-08-01T06:28:22Z
Remove trailing whitespace in debian/rules

- - - - -
41b920f9 by Andreas Tille at 2019-08-01T06:28:22Z
rename debian/tests/control.autodep8 to debian/tests/control

- - - - -
53ca30e1 by Andreas Tille at 2019-08-01T06:36:02Z
Upload to unstable

- - - - -


8 changed files:

- debian/changelog
- − debian/compat
- debian/control
- debian/copyright
- − debian/python-csb-doc.doc-base
- − debian/python-csb-doc.install
- debian/rules
- debian/tests/control.autodep8 → debian/tests/control


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,19 @@
+python-csb (1.2.5+dfsg-4) unstable; urgency=medium
+
+  * Remove Python2 support
+  * Remove API doc since it is created by deprecated epydoc
+    Closes: #881555
+  * Move to source section science and leace python3-csb to section python
+  * debhelper-compat 12
+  * Standards-Version: 4.4.0
+  * Secure URI in copyright format
+  * Respect DEB_BUILD_OPTIONS in override_dh_auto_test target
+  * Remove trailing whitespace in debian/copyright
+  * Remove trailing whitespace in debian/rules
+  * rename debian/tests/control.autodep8 to debian/tests/control
+
+ -- Andreas Tille <tille at debian.org>  Thu, 01 Aug 2019 08:28:22 +0200
+
 python-csb (1.2.5+dfsg-3) unstable; urgency=medium
 
   * Standards-Version: 4.1.4


=====================================
debian/compat deleted
=====================================
@@ -1 +0,0 @@
-11


=====================================
debian/control
=====================================
@@ -2,51 +2,28 @@ Source: python-csb
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 Uploaders: Tomas Di Domenico <tdido at tdido.com.ar>,
            Andreas Tille <tille at debian.org>
-Section: python
+Section: science
 Testsuite: autopkgtest-pkg-python
 Priority: optional
-Build-Depends: debhelper (>= 11~),
+Build-Depends: debhelper-compat (= 12),
                dh-python,
-               python-all,
                python3-all,
-               python-epydoc,
-               python-numpy,
-               python-scipy,
-               python-matplotlib,
-               python-setuptools,
                python3-numpy,
                python3-scipy,
                python3-matplotlib,
                python3-setuptools
-Standards-Version: 4.1.4
+Standards-Version: 4.4.0
 Vcs-Browser: https://salsa.debian.org/med-team/python-csb
 Vcs-Git: https://salsa.debian.org/med-team/python-csb.git
 Homepage: https://github.com/csb-toolbox/CSB
-X-Python-Version: >= 2.6
-X-Python3-Version: >= 3.1
-
-Package: python-csb
-Architecture: all
-Depends: ${misc:Depends},
-         ${python:Depends},
-         python-numpy,
-         python-scipy
-Suggests: python-csb-doc
-Description: Python framework for structural bioinformatics
- Computational Structural Biology Toolbox (CSB) is a Python class
- library for reading, storing and analyzing biomolecular structures
- in a variety of formats with rich support for statistical analyses.
- .
- CSB is designed for reusability and extensibility and comes with a clean,
- well-documented API following good object-oriented engineering practice.
 
 Package: python3-csb
 Architecture: all
+Section: python
 Depends: ${misc:Depends},
          ${python3:Depends},
          python3-numpy,
          python3-scipy
-Suggests: python-csb-doc
 Description: Python framework for structural bioinformatics (Python3 version)
  Computational Structural Biology Toolbox (CSB) is a Python class
  library for reading, storing and analyzing biomolecular structures
@@ -71,18 +48,3 @@ Description: Computational Structural Biology Toolbox (CSB)
  well-documented API following good object-oriented engineering practice.
  .
  This package contains some user executable tools.
-
-Package: python-csb-doc
-Architecture: all
-Section: doc
-Depends: ${misc:Depends},
-         ${python:Depends}
-Description: Python framework for structural bioinformatics (documentation)
- Computational Structural Biology Toolbox (CSB) is a Python class
- library for reading, storing and analyzing biomolecular structures
- in a variety of formats with rich support for statistical analyses.
- .
- CSB is designed for reusability and extensibility and comes with a clean,
- well-documented API following good object-oriented engineering practice.
- .
- This package contains the HTML documentation of the framework's API.


=====================================
debian/copyright
=====================================
@@ -1,4 +1,4 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: csb
 Upstream-Contact: Ivan Kalev <ivan.kalev at gmail.com>
 Source: http://csb.codeplex.com
@@ -28,7 +28,7 @@ License: Expat
  .
  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 
+ 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


=====================================
debian/python-csb-doc.doc-base deleted
=====================================
@@ -1,12 +0,0 @@
-Document: csb
-Title: API Documentation for CSB (Computational Structural Biology Toolbox)
-Author: Michael Habeck <michael.habeck at tuebingen.mpg.de>
-Abstract: This is the API documentation for CSB.
- Computational Structural Biology Toolbox (CSB) is a Python class
- library for reading, storing and analyzing biomolecular structures
- in a variety of formats with rich support for statistical analyses.
-Section: Science/Biology
-
-Format: HTML
-Index: /usr/share/doc/python-csb-doc/api/index.html
-Files: /usr/share/doc/python-csb-doc/api/*


=====================================
debian/python-csb-doc.install deleted
=====================================
@@ -1 +0,0 @@
-docs/api usr/share/doc/python-csb-doc/


=====================================
debian/rules
=====================================
@@ -3,34 +3,21 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-PYVERS = $(shell pyversions -r)
 PY3VERS = $(shell py3versions -r)
-BUILDHOME = $(CURDIR)/debian/buildhome
 export PYBUILD_NAME=csb
 
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
-	
-override_dh_auto_build:
-	dh_auto_build
-	mkdir -p $(CURDIR)/docs/api
-	mkdir -p $(BUILDHOME)
-	HOME=$(BUILDHOME) epydoc --html -o $(CURDIR)/docs/api --name CSB --no-private --introspect-only --exclude csb.test.cases --fail-on-error --fail-on-warning --fail-on-docstring-warning $(CURDIR)/csb
-
-override_dh_auto_clean:
-	dh_auto_clean
-	rm -rf $(BUILDHOME)
-	find . -name "*.pyc" -delete
-	rm -rf docs
+	dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	LC_ALL=C.UTF-8 dh_auto_test -- --test --system=custom \
 		--test-args='set -e; \
                              cd {build_dir}; \
                              PYTHONPATH={build_dir} PYTHONWARNINGS=d {interpreter} csb/test/app.py --generated-resources /tmp --verbosity 2'
+endif
 
 override_dh_install:
 	dh_install
 	mkdir -p debian/$(PYBUILD_NAME)/usr
 	mv debian/python3-$(PYBUILD_NAME)/usr/bin debian/$(PYBUILD_NAME)/usr
-	rm -rf debian/python-$(PYBUILD_NAME)/usr/bin


=====================================
debian/tests/control.autodep8 → debian/tests/control
=====================================



View it on GitLab: https://salsa.debian.org/med-team/python-csb/compare/fb3f37350052d1237472108954820faacfbb8f5c...53ca30e1582ab609df4a5006faa421708fb7fb40

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-csb/compare/fb3f37350052d1237472108954820faacfbb8f5c...53ca30e1582ab609df4a5006faa421708fb7fb40
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/20190801/8423be23/attachment-0001.html>


More information about the debian-med-commit mailing list