[Pkg-privacy-commits] [Git][pkg-privacy-team/mat2][master] 2 commits: debian/patches: Add patch to drop data_files in setup.py

Georg Faerber (@georg) georg at debian.org
Thu Aug 3 16:27:37 BST 2023



Georg Faerber pushed to branch master at Privacy Maintainers / mat2


Commits:
8754312b by Georg Faerber at 2023-08-03T15:24:14+00:00
debian/patches: Add patch to drop data_files in setup.py

This was added recently to add the manpage to the PyPi package. However,
this leads to a lintian error. In the Debian environment, the
installation of the manpage is already handled via a different method.

- - - - -
58c28f28 by Georg Faerber at 2023-08-03T15:24:18+00:00
debian/changelog: Debian release 0.13.4-2

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/0001-setup.py-drop-data-files.patch
- + debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+mat2 (0.13.4-2) unstable; urgency=medium
+
+  * debian/patches:
+    - Add patch to drop data_files in setup.py. This was recently introduced
+      upstream to add the manpage to the PyPi package. However, it leads to a
+      lintian error. Besides, it's not required in our environment.
+
+ -- Georg Faerber <georg at debian.org>  Thu, 03 Aug 2023 15:18:19 +0000
+
 mat2 (0.13.4-1) unstable; urgency=medium
 
   * New upstream version 0.13.4:


=====================================
debian/patches/0001-setup.py-drop-data-files.patch
=====================================
@@ -0,0 +1,21 @@
+Description: setup.py: drop data_files
+ This was added recently to add the manpage to the PyPi package. However, this
+ leads to a lintian error. In the Debian environment, the installation of the
+ manpage is already handled via a different method.
+Author: Georg Faerber <georg at debian.org>
+Forwarded: not-needed
+Last-Update: 2023-08-03
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: mat2/setup.py
+===================================================================
+--- mat2.orig/setup.py	2023-08-03 14:22:07.995889740 +0000
++++ mat2/setup.py	2023-08-03 15:15:32.117192572 +0000
+@@ -20,7 +20,6 @@
+         'pycairo',
+     ],
+     packages=setuptools.find_packages(exclude=('tests', )),
+-    data_files = [('man/man1', ['doc/mat2.1'])],
+     classifiers=[
+         "Development Status :: 3 - Alpha",
+         "Environment :: Console",


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+0001-setup.py-drop-data-files.patch



View it on GitLab: https://salsa.debian.org/pkg-privacy-team/mat2/-/compare/f6b794703352aecc3271252c98f5881ef50b239a...58c28f28bcf5c122e448f78d26c6fe4cd5b9c0c0

-- 
View it on GitLab: https://salsa.debian.org/pkg-privacy-team/mat2/-/compare/f6b794703352aecc3271252c98f5881ef50b239a...58c28f28bcf5c122e448f78d26c6fe4cd5b9c0c0
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-privacy-commits/attachments/20230803/a30d2eb8/attachment-0001.htm>


More information about the Pkg-privacy-commits mailing list