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


Commits:
ed1ba2ae by Antonio Valentino at 2020-10-13T18:07:02+00:00
Regenerate C sources (with cython)

- - - - -
635252c0 by Antonio Valentino at 2020-10-13T18:07:16+00:00
Typo

- - - - -
8c2982f0 by Antonio Valentino at 2020-10-13T18:07:20+00:00
Add build-dependency form cython3

- - - - -
365bf024 by Antonio Valentino at 2020-10-13T18:07:23+00:00
Set debhelper-compat version in Build-Depends.

Changes-By: lintian-brush
Fixes: lintian: uses-debhelper-compat-file
See-also: https://lintian.debian.org/tags/uses-debhelper-compat-file.html

- - - - -
d3bbced8 by Antonio Valentino at 2020-10-13T18:07:26+00:00
Improve clean target

- - - - -
eaf6441a by Antonio Valentino at 2020-10-13T18:07:30+00:00
Set Rules-Requires-Root and Testsuite

- - - - -
ac6a34d0 by Antonio Valentino at 2020-10-13T18:07:34+00:00
Update changelog

- - - - -
47417d5f by Antonio Valentino at 2020-10-13T18:07:39+00:00
Set distribution to unstable

- - - - -


5 changed files:

- debian/changelog
- − debian/compat
- debian/control
- debian/rules
- debian/source/lintian-overrides


Changes:

=====================================
debian/changelog
=====================================
@@ -1,5 +1,6 @@
-pykdtree (1.3.1+ds-1) UNRELEASED; urgency=medium
+pykdtree (1.3.1+ds-1) unstable; urgency=medium
 
+  [ Bas Couwenberg ]
   * Bump Standards-Version to 4.5.0, no changes.
   * Drop Provides: ${python3:Provides}.
   * Drop Name field from upstream metadata.
@@ -12,8 +13,13 @@ pykdtree (1.3.1+ds-1) UNRELEASED; urgency=medium
   * Drop obsolete patch.
   * Replace deprecated ADTTMP with AUTOPKGTEST_TMP.
   * Add override for missing-explanation-for-repacked-upstream-tarball.
+  * Regenerate C sources (closes: #972020).
+  * Set debhelper-compat version in Build-Depends.
+  * debian/control:
+    - added Rules-Requires-Root and Testsuite fields
+    - added build dependencies on python3-mako and cython3
 
- -- Bas Couwenberg <[email protected]>  Tue, 13 Oct 2020 17:06:02 +0200
+ -- Antonio Valentino <[email protected]>  Tue, 13 Oct 2020 
18:00:57 +0000
 
 pykdtree (1.3.1-4) unstable; urgency=medium
 


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


=====================================
debian/control
=====================================
@@ -3,8 +3,11 @@ Maintainer: Debian GIS Project 
<[email protected]>
 Uploaders: Antonio Valentino <[email protected]>
 Section: python
 Priority: optional
-Build-Depends: debhelper (>= 12),
+Rules-Requires-Root: no
+Testsuite: autopkgtest-pkg-python
+Build-Depends: debhelper-compat (= 12),
                dh-python,
+               cython3,
                python3-all-dev,
                python3-mako,
                python3-nose,


=====================================
debian/rules
=====================================
@@ -14,9 +14,21 @@ export PYBUILD_NAME=pykdtree
 
 override_dh_auto_configure:
        (cd $(CURDIR)/pykdtree && python3 render_template.py)
-
+       if [ -f pykdtree/kdtree.c ] && [ ! -f pykdtree/kdtree.c.orig ]; then \
+           mv pykdtree/kdtree.c pykdtree/kdtree.c.orig; \
+       fi
+       $(RM) pykdtree/kdtree.c
+       cython3 pykdtree/kdtree.pyx
        dh_auto_configure
 
 override_dh_python3:
        dh_python3 -ppython3-pykdtree
        dh_numpy3 -ppython3-pykdtree
+
+override_dh_auto_clean:
+       dh_auto_clean
+       if [ -f pykdtree/kdtree.c.orig ]; then \
+           $(RM) pykdtree/kdtree.c; \
+           mv pykdtree/kdtree.c.orig pykdtree/kdtree.c; \
+       fi
+       $(RM) -r pykdtree.egg-info


=====================================
debian/source/lintian-overrides
=====================================
@@ -1,3 +1,3 @@
-# Source is not actually repaced, it swiched from PyPI tarballs to GitHub 
releases
+# Source is not actually repacked, it swiched from PyPI tarballs to GitHub 
releases
 missing-explanation-for-repacked-upstream-tarball
 



View it on GitLab: 
https://salsa.debian.org/debian-gis-team/pykdtree/-/compare/dc901615f81ca044e3c9fefe03936de05fb706a3...47417d5f05b7ac59a01481fa6eb773c886398f0e

-- 
View it on GitLab: 
https://salsa.debian.org/debian-gis-team/pykdtree/-/compare/dc901615f81ca044e3c9fefe03936de05fb706a3...47417d5f05b7ac59a01481fa6eb773c886398f0e
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to