[med-svn] [Git][med-team/python-py2bit][master] 3 commits: d/control: set satisfiable build-dependencies in crossbuild context.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Mon Nov 18 19:11:34 GMT 2024



Étienne Mollier pushed to branch master at Debian Med / python-py2bit


Commits:
7943c9da by Étienne Mollier at 2024-11-18T20:09:19+01:00
d/control: set satisfiable build-dependencies in crossbuild context.

- - - - -
3949da6b by Étienne Mollier at 2024-11-18T20:10:10+01:00
migrate-to-sysconfig.patch: new: fix an use of distutils.

- - - - -
b1efa3cf by Étienne Mollier at 2024-11-18T20:10:54+01:00
d/changelog: update to include hotfixes.

- - - - -


4 changed files:

- debian/changelog
- debian/control
- + debian/patches/migrate-to-sysconfig.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -2,8 +2,10 @@ python-py2bit (0.3.2-1) unstable; urgency=medium
 
   * New upstream version 0.3.2
   * gcc-14.patch: delete: applied upstream.
+  * d/control: set satisfiable build-dependencies in crossbuild context.
+  * migrate-to-sysconfig.patch: new: fix an use of distutils.
 
- -- Étienne Mollier <emollier at debian.org>  Mon, 18 Nov 2024 19:51:44 +0100
+ -- Étienne Mollier <emollier at debian.org>  Mon, 18 Nov 2024 20:10:41 +0100
 
 python-py2bit (0.3.1-3) unstable; urgency=medium
 


=====================================
debian/control
=====================================
@@ -7,7 +7,8 @@ Uploaders: Steffen Moeller <moeller at debian.org>,
 Build-Depends: debhelper-compat (= 13),
                architecture-is-little-endian,
                dh-sequence-python3,
-               python3-all-dev,
+               python3-all-dev:native,
+               libpython3-all-dev,
                python3-setuptools
 Standards-Version: 4.7.0
 Homepage: https://github.com/deeptools/py2bit/


=====================================
debian/patches/migrate-to-sysconfig.patch
=====================================
@@ -0,0 +1,20 @@
+Description: migrate to plain sysconfig module.
+ The distutils module is deprecated since Pytnon 3.10, and thus is
+ distutils.sysconfig.  This change replaces the original "import from"
+ by a bare "import sysconfig", per PEP 632 recommendation.  Maybe a
+ better approach would be to migrate to pyproject.toml.
+Author: Étienne Mollier <emollier at debian.org>
+Bug: https://github.com/deeptools/py2bit/issues/17
+Last-Update: 2024-11-18
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- python-py2bit.orig/setup.py
++++ python-py2bit/setup.py
+@@ -1,6 +1,6 @@
+ #!/usr/bin/env python
+ from setuptools import setup, Extension, find_packages
+-from distutils import sysconfig
++import sysconfig
+ import subprocess
+ import glob
+ import sys


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 enable-tests.patch
+migrate-to-sysconfig.patch



View it on GitLab: https://salsa.debian.org/med-team/python-py2bit/-/compare/436e1c7acfd27629d81208f57c2a12f045f4546d...b1efa3cfd1a40e9bee5198003f62a8fa6ceb8ad1

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-py2bit/-/compare/436e1c7acfd27629d81208f57c2a12f045f4546d...b1efa3cfd1a40e9bee5198003f62a8fa6ceb8ad1
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/20241118/2ad06cda/attachment-0001.htm>


More information about the debian-med-commit mailing list