[neon/neon-packaging/slimt/Neon/unstable] debian: python

Carlos De Maine null at kde.org
Thu Nov 2 22:02:15 GMT 2023


Git commit ed4ae2e9230f5ca1204482359c98feaee080bc4e by Carlos De Maine.
Committed on 02/11/2023 at 23:01.
Pushed by carlosdem into branch 'Neon/unstable'.

python

M  +7    -5    debian/control
M  +3    -2    debian/rules

https://invent.kde.org/neon/neon-packaging/slimt/-/commit/ed4ae2e9230f5ca1204482359c98feaee080bc4e

diff --git a/debian/control b/debian/control
index 49b170b..54dcf90 100644
--- a/debian/control
+++ b/debian/control
@@ -4,12 +4,14 @@ Priority: optional
 Maintainer: kde neon <neon at kde.org>
 Build-Depends: cmake,
                dh-cmake,
+               dh-python,
                debhelper-compat (= 13),
                libxsimd-dev,
                libsentencepiece-dev,
                libopenblas-dev,
                pkg-config,
                pkg-kde-tools,
+               python3-all,
 Standards-Version: 4.6.2
 Rules-Requires-Root: no
 Homepage: https://github.com/jerinphilip/slimt
@@ -19,11 +21,11 @@ Vcs-Browser: https://invent.kde.org/neon/neon-packaging/slimt
 Package: slimt
 Section: libs
 Architecture: any
-Depends: libindi-data (>= ${source:Version}),
-         ${misc:Depends},
-         ${shlibs:Depends}
-Pre-Depends: ${misc:Pre-Depends}
 Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends},
+         ${python3:Depends},
+         ${shlibs:Depends}
 Description: slimt (slɪm tiː) is an inference frontend for tiny models trained
  as part of  the Bergamot project Instrument-Neutral Device Interface library
  .
@@ -48,7 +50,7 @@ Description: slimt (slɪm tiː) is an inference frontend for tiny models trained
  .
  This package contains the driver shared library.
 
-Package: libindi-dev
+Package: slimt-dev
 Section: libdevel
 Architecture: any
 Depends: slimt (>= ${binary:Version}),
diff --git a/debian/rules b/debian/rules
index ec8914f..e22470f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,12 +1,13 @@
 #!/usr/bin/make -f
+#export DH_VERBOSE=1
+export PYBUILD_NAME=slimt
 
 #libpkgs_gen_strict_local_shlibs = $(libpkgs_all_packages)
 include /usr/share/pkg-kde-tools/qt-kde-team/2/library-packages.mk
-
 include /usr/share/dpkg/architecture.mk
 
 %:
-	dh $@ --with cmake
+	dh $@ --with cmake python3
 
 override_dh_auto_configure:
 	dh_auto_configure -- /


More information about the Neon-commits mailing list