]> git.sesse.net Git - itkacl/commitdiff
Update python3-itkacl for bookworm.
authorSebastian Bugge <vsbugge@samfundet.no>
Wed, 21 Aug 2024 18:13:02 +0000 (20:13 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 21 Aug 2024 19:03:49 +0000 (21:03 +0200)
python3-itkacl-2.0/debian/changelog
python3-itkacl-2.0/debian/compat
python3-itkacl-2.0/debian/control
python3-itkacl-2.0/debian/python-itkacl.preinst [deleted file]
python3-itkacl-2.0/debian/rules

index c00e0527c74d9d3f68992029348a982767a0f999..06af111245e3c695430f087ec7796dbf2849eae4 100644 (file)
@@ -1,3 +1,10 @@
+python3-itkacl (2.0) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Upgrade packaging to work with bookworm.
+
+ -- Sebastian Bugge <vsbugge@samfundet.no>  Wed, 21 Aug 2024 20:09:43 +0200
+
 python-itkacl (2.0) unstable; urgency=low
 
   * Initial release.
index 7f8f011eb73d6043d2e6db9d2c101195ae2801f2..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2 100644 (file)
@@ -1 +1 @@
-7
+10
index f111d8b06ae1c3b3c2cb1a652cf0475adfcb2850..807ba0cbbe508937b8416cd334f2f225989f0014 100644 (file)
@@ -1,15 +1,13 @@
-Source: python-itkacl
+Source: python3-itkacl
 Maintainer: Steinar H. Gunderson <sesse@samfundet.no>
 Section: python
 Priority: optional
-Build-Depends: debhelper (>= 7), python, python-support (>= 0.8.4), libitkacl-dev, swig
+Build-Depends: debhelper (>= 7), python3, dh-python, libitkacl-dev, swig
 Standards-Version: 3.9.1
 XS-Python-Version: all
 
-Package: python-itkacl
+Package: python3-itkacl
 Architecture: any
-Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}
-XB-Python-Version: ${python:Versions}
-Provides: ${python:Provides}
+Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
 Description: Python interface to ITKACL
  This package contains the Python interface to ITKACL.
diff --git a/python3-itkacl-2.0/debian/python-itkacl.preinst b/python3-itkacl-2.0/debian/python-itkacl.preinst
deleted file mode 100644 (file)
index 2141916..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#! /bin/sh
-
-set -e
-
-# This was added by stdeb to workaround Debian #479852. In a nutshell,
-# pycentral does not remove normally remove its symlinks on an
-# upgrade. Since we're using python-support, however, those symlinks
-# will be broken. This tells python-central to clean up any symlinks.
-if [ -e /var/lib/dpkg/info/python-itkacl.list ] && which pycentral >/dev/null 2>&1
-then
-    pycentral pkgremove python-itkacl
-fi
-
-#DEBHELPER#
index 90fa9eade7c695be7a1b12759f1ce6e3f41d06cc..3c4499540e6747d64463de40fc3034a2a26bb501 100755 (executable)
@@ -3,12 +3,12 @@
 clean:
        dh_testdir
        dh_clean
-       python setup.py clean
+       python3 setup.py clean
        $(RM) -r build/
        $(RM) itkacl.py itkacl.pyc itkacl_wrap.c
 
 build:
-       python setup.py build_ext
+       python3 setup.py build_ext
 
 binary-indep:
 
@@ -16,10 +16,10 @@ binary-arch:
        dh_testroot
        dh_prep
        dh_installdirs
-       python setup.py install --root=debian/python-itkacl --install-layout=deb
+       python3 setup.py install --root=debian/python3-itkacl --install-layout=deb
        dh_installdocs
        dh_installchangelogs
-       dh_pysupport
+       dh_python3
        dh_compress
        dh_fixperms
        dh_strip