[Git][debian-gis-team/pyninjotiff][master] 6 commits: Test depend on python3-all

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Sat Oct 15 17:26:50 BST 2022



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


Commits:
6efd4f79 by Antonio Valentino at 2022-10-15T15:45:26+00:00
Test depend on python3-all

- - - - -
d0f29862 by Antonio Valentino at 2022-10-15T15:46:29+00:00
Build depend on pybuild-plugin-pyproject

- - - - -
cea0f263 by Antonio Valentino at 2022-10-15T15:47:34+00:00
Update copyright date

- - - - -
7c35aa4a by Antonio Valentino at 2022-10-15T15:48:19+00:00
Re-format d/changelog

- - - - -
e41d006e by Antonio Valentino at 2022-10-15T16:19:31+00:00
Use poetry as build system

- - - - -
438f06de by Antonio Valentino at 2022-10-15T16:24:12+00:00
Set diatribution to unstable

- - - - -


7 changed files:

- debian/changelog
- debian/control
- debian/copyright
- − debian/patches/0001-Use-setup.py-generated-by-poetry2setup.patch
- − debian/patches/series
- debian/rules
- debian/tests/control


Changes:

=====================================
debian/changelog
=====================================
@@ -1,17 +1,25 @@
-pyninjotiff (0.4.0-2) UNRELEASED; urgency=medium
-
-  [ Antonio Valentino ]
-  * debian/rules:
-    - improve clean target
+pyninjotiff (0.4.0-2) unstable; urgency=medium
 
   [ Bas Couwenberg ]
   * Bump Standards-Version to 4.6.1, no changes.
   * Use supported python3 versions in autopkgtest.
 
   [ Antonio Valentino ]
+  * debian/rules:
+    - improve clean target
+    - remove executable flag from python files.
   * Fix d/copyright formatting.
+  * Add dependency on python3-all in d/tests/control.
+  * debian/control:
+    - build-depend on pybuild-plugin-pyproject and python3-poetry
+    - remove build-dependency on python3-setuptools.
+  * debian/copyright:
+    - update copyright date.
+  * debian/patches:
+    - drop 0001-Use-setup.py-generated-by-poetry2setup.patch,
+      use poetry as build system.
 
- -- Antonio Valentino <antonio.valentino at tiscali.it>  Thu, 11 Nov 2021 09:54:50 +0000
+ -- Antonio Valentino <antonio.valentino at tiscali.it>  Sat, 15 Oct 2022 16:23:51 +0000
 
 pyninjotiff (0.4.0-1) unstable; urgency=medium
 


=====================================
debian/control
=====================================
@@ -7,14 +7,15 @@ Testsuite: autopkgtest-pkg-python
 Rules-Requires-Root: no
 Build-Depends: debhelper-compat (= 12),
                dh-python,
+               pybuild-plugin-pyproject,
                python3-all,
                python3-dask,
                python3-matplotlib,
                python3-numpy,
+               python3-poetry-core,
                python3-pyproj,
                python3-pyresample,
                python3-pytest,
-               python3-setuptools,
                python3-six,
                python3-trollimage,
                python3-xarray


=====================================
debian/copyright
=====================================
@@ -14,7 +14,7 @@ Copyright: 2008-2014, Christoph Gohlke
 License: BSD-3-clause
 
 Files: debian/*
-Copyright: 2018-2019, Antonio Valentino <antonio.valentino at tiscali.it>
+Copyright: 2018-2022, Antonio Valentino <antonio.valentino at tiscali.it>
 License: GPL-3+
 
 License: GPL-3+


=====================================
debian/patches/0001-Use-setup.py-generated-by-poetry2setup.patch deleted
=====================================
@@ -1,53 +0,0 @@
-From: Antonio Valentino <antonio.valentino at tiscali.it>
-Date: Thu, 11 Nov 2021 07:19:37 +0000
-Subject: Use setup.py generated by poetry2setup
-
-Forwarded: not-needed
----
- setup.py | 37 +++++++++++++++++++++++++++++++++++++
- 1 file changed, 37 insertions(+)
- create mode 100644 setup.py
-
-diff --git a/setup.py b/setup.py
-new file mode 100644
-index 0000000..27b7a5d
---- /dev/null
-+++ b/setup.py
-@@ -0,0 +1,37 @@
-+# -*- coding: utf-8 -*-
-+# Automatically generated with poetry2setup
-+from setuptools import setup
-+
-+packages = \
-+['pyninjotiff', 'pyninjotiff.tests']
-+
-+package_data = \
-+{'': ['*']}
-+
-+install_requires = \
-+['dask[array]>=2021.9.1,<2022.0.0',
-+ 'numpy>=1.6',
-+ 'pyproj>=3.2.1,<4.0.0',
-+ 'pyresample>=1.21.1,<2.0.0',
-+ 'trollimage>=1.15.1,<2.0.0',
-+ 'xarray>=0.19.0,<0.20.0']
-+
-+setup_kwargs = {
-+    'name': 'pyninjotiff',
-+    'version': '0.4.0',
-+    'description': 'Python Ninjo TIFF writing library',
-+    'long_description': None,
-+    'author': 'Martin Raspaud',
-+    'author_email': 'martin.raspaud at smhi.se',
-+    'maintainer': None,
-+    'maintainer_email': None,
-+    'url': None,
-+    'packages': packages,
-+    'package_data': package_data,
-+    'install_requires': install_requires,
-+    'python_requires': '>=3.7,<4.0',
-+}
-+
-+
-+setup(**setup_kwargs)
-+


=====================================
debian/patches/series deleted
=====================================
@@ -1 +0,0 @@
-0001-Use-setup.py-generated-by-poetry2setup.patch


=====================================
debian/rules
=====================================
@@ -5,7 +5,9 @@
 #export DH_VERBOSE=1
 
 export PYBUILD_NAME=pyninjotiff
-export PYBUILD_AFTER_INSTALL=rm -rf "{destdir}"/usr/lib/python3*/*-packages/pyninjotiff/*ninjotif*example*
+export PYBUILD_AFTER_INSTALL=\
+rm -rf "{destdir}"/usr/lib/python3*/*-packages/pyninjotiff/*ninjotif*example*; \
+chmod -x "{destdir}"/usr/lib/python3*/*-packages/pyninjotiff/ninjotiff.py
 
 %:
 	dh $@ --with python3 --buildsystem=pybuild


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



View it on GitLab: https://salsa.debian.org/debian-gis-team/pyninjotiff/-/compare/e7cee032012ba7ebb143b1f64d99c84d8ece5b4b...438f06de9ca47fbdee072c968d4184d7c8d77535

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pyninjotiff/-/compare/e7cee032012ba7ebb143b1f64d99c84d8ece5b4b...438f06de9ca47fbdee072c968d4184d7c8d77535
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/20221015/330ff052/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list