[Git][debian-gis-team/pyorbital][master] 8 commits: Use teh <!nocheck> marker in d/control

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Sun Aug 13 23:48:03 BST 2023



Antonio Valentino pushed to branch master at Debian GIS Project / pyorbital


Commits:
ba9e9f0d by Antonio Valentino at 2023-08-13T22:12:19+00:00
Use teh <!nocheck> marker in d/control

- - - - -
491a2e8a by Antonio Valentino at 2023-08-13T22:39:04+00:00
Update the package description in d/control

- - - - -
2e9a78f5 by Antonio Valentino at 2023-08-13T22:45:40+00:00
Switch to autopkgtest-pkg-pybuild

- - - - -
6ebba527 by Antonio Valentino at 2023-08-13T22:45:47+00:00
Use the <!nodoc> marker in d/control

- - - - -
e1454255 by Antonio Valentino at 2023-08-13T22:45:48+00:00
Add build dependency on dh-sequence-numpy3

- - - - -
4a75ff56 by Antonio Valentino at 2023-08-13T22:45:48+00:00
Drop unneeded target overrides in d/rules

- - - - -
7e095981 by Antonio Valentino at 2023-08-13T22:45:48+00:00
Update doc build

- - - - -
99438428 by Antonio Valentino at 2023-08-13T22:47:40+00:00
Set distribution to unstable

- - - - -


7 changed files:

- debian/changelog
- debian/clean
- debian/control
- debian/python-pyorbital-doc.install
- debian/rules
- − debian/tests/control
- − debian/tests/python3


Changes:

=====================================
debian/changelog
=====================================
@@ -1,11 +1,22 @@
-pyorbital (1.8.0-2) UNRELEASED; urgency=medium
+pyorbital (1.8.0-2) unstable; urgency=medium
 
-  * Team upload.
+  [ Bas Couwenberg ]
   * Remove generated files in clean target.
     (closes: #1045918)
   * Use execute_after instead of override in rules file.
 
- -- Bas Couwenberg <sebastic at debian.org>  Fri, 11 Aug 2023 15:57:46 +0200
+  [ Antonio Valentino ]
+  * debian/control:
+    - Use the <!nocheck> and <!nodoc> markers.
+    - Update the package description.
+    - Add build dependency on dh-sequence-numpy3.
+  * Switch to Testsuite: autopkgtest-pkg-pybuild and remove
+    the no longer needed d/tests folder.
+  * debian/rules:
+    - Drop unneeded target overrides.
+  * Update doc build.
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it>  Sun, 13 Aug 2023 22:47:18 +0000
 
 pyorbital (1.8.0-1) unstable; urgency=medium
 


=====================================
debian/clean
=====================================
@@ -1,2 +1 @@
 *-info/
-doc/build/


=====================================
debian/control
=====================================
@@ -4,21 +4,28 @@ Uploaders: Antonio Valentino <antonio.valentino at tiscali.it>
 Section: python
 Priority: optional
 Rules-Requires-Root: no
+Testsuite: autopkgtest-pkg-pybuild
 Build-Depends: debhelper-compat (= 13),
                dh-python,
+               dh-sequence-numpy3,
                python3-all,
                python3-dask,
                python3-numpy,
-               python3-pytest,
+               python3-pytest <!nocheck>,
                python3-requests,
                python3-scipy,
                python3-setuptools,
-               python3-sphinx,
+               python3-sphinx <!nodoc>,
                python3-xarray
 Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/debian-gis-team/pyorbital
 Vcs-Git: https://salsa.debian.org/debian-gis-team/pyorbital.git
 Homepage: https://github.com/pytroll/pyorbital
+Description: Orbital and astronomy computations in Python
+ Python package for computing orbital parameters from TLE
+ files, and making diverse astronomical computations.
+ .
+ This package is part of the PyTroll toolset.
 
 Package: python3-pyorbital
 Architecture: all
@@ -29,13 +36,8 @@ Depends: python3-requests,
 Recommends: python3-dask,
             python3-xarray
 Suggests: python-pyorbital-doc
-Description: Orbital and astronomy computations in Python 3
- Python package for computing orbital parameters from TLE
- files, and making diverse astronomical computations.
- .
- This package is part of the PyTroll toolset.
- .
- This is the Python 3 version of the package.
+Description: ${source:Synopsis}
+ ${source:Extended-Description}
 
 Package: python-pyorbital-doc
 Architecture: all
@@ -44,8 +46,7 @@ Section: doc
 Depends: ${misc:Depends},
          ${sphinxdoc:Depends}
 Suggests: www-browser
-Description: Orbital and astronomy computations in Python (documentation)
- Python package for computing orbital parameters from TLE
- files, and making diverse astronomical computations.
+Description: ${source:Synopsis} (documentation)
+ ${source:Extended-Description}
  .
  This package contains the common HTML documentation.


=====================================
debian/python-pyorbital-doc.install
=====================================
@@ -1 +1 @@
-doc/build/html usr/share/doc/python-pyorbital-doc
+.pybuild/docs/html usr/share/doc/python-pyorbital-doc


=====================================
debian/rules
=====================================
@@ -5,22 +5,18 @@
 export DH_VERBOSE=1
 
 export PYBUILD_NAME=pyorbital
+export PYBUILD_TEST_ARGS=--pyargs ${PYBUILD_NAME}
 
 %:
 	dh $@ --with python3,numpy3,sphinxdoc --buildsystem=pybuild
 
-execute_after_dh_auto_build: export http_proxy=127.0.0.1:9
-execute_after_dh_auto_build: export https_proxy=127.0.0.1:9
-execute_after_dh_auto_build:
+execute_after_dh_auto_build-indep: export http_proxy=127.0.0.1:9
+execute_after_dh_auto_build-indep: export https_proxy=127.0.0.1:9
+execute_after_dh_auto_build-indep:
 ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
-	PYTHONPATH=. python3 -m sphinx -N -bhtml doc/source/ doc/build/html # HTML generator
+	PYTHONPATH=$(CURDIR) python3 -m sphinx -N -E -T -b html doc/source/ $(CURDIR)/.pybuild/docs/html/
+	rm -rf $(CURDIR)/.pybuild/docs/html/.doctrees
 endif
 
 execute_after_dh_auto_install:
 	mv debian/python3-pyorbital/usr/bin/fetch_tles.py debian/python3-pyorbital/usr/bin/fetch_tles
-
-override_dh_python3:
-	dh_python3 -ppython3-pyorbital
-
-override_dh_numpy3:
-	dh_numpy3 -ppython3-pyorbital


=====================================
debian/tests/control deleted
=====================================
@@ -1,2 +0,0 @@
-Tests: python3
-Depends: @, @builddeps@, python3-all


=====================================
debian/tests/python3 deleted
=====================================
@@ -1,12 +0,0 @@
-#!/bin/sh
-set -efu
-
-PYS=${PYS:-"$(py3versions -s 2>/dev/null)"}
-TESTPKG=${TESTPKG:-pyorbital}
-
-cd "$AUTOPKGTEST_TMP"
-
-for py in $PYS; do
-    echo "=== $py ==="
-    $py -m pytest -v --pyargs ${TESTPKG} 2>&1
-done



View it on GitLab: https://salsa.debian.org/debian-gis-team/pyorbital/-/compare/9ba1eefb06b2b0e0542dbe46c5357215f61db81d...994384280ef5671b317340acb16b71042f7137ca

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pyorbital/-/compare/9ba1eefb06b2b0e0542dbe46c5357215f61db81d...994384280ef5671b317340acb16b71042f7137ca
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/pkg-grass-devel/attachments/20230813/5185fbda/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list