[neon/kf6/kf6-kapidox/Neon/unstable] debian: new alpha release

Carlos De Maine null at kde.org
Fri Nov 17 02:03:00 GMT 2023


Git commit d3efdd97320fb4f594568328daed2dd87770c8ce by Carlos De Maine.
Committed on 17/11/2023 at 03:02.
Pushed by carlosdem into branch 'Neon/unstable'.

new alpha release

M  +6    -0    debian/changelog
M  +2    -0    debian/control
M  +28   -1    debian/rules

https://invent.kde.org/neon/kf6/kf6-kapidox/-/commit/d3efdd97320fb4f594568328daed2dd87770c8ce

diff --git a/debian/changelog b/debian/changelog
index fd8bcac..9431edc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+kf6-kapidox (5.245.0-0neon) jammy; urgency=medium
+
+  * New alpha release
+
+ -- Neon CI <neon at kde.org>  Fri, 17 Nov 2023 01:18:08 +0000
+
 kf6-kapidox (5.92.0-0neon) focal; urgency=medium
 
   * New release
diff --git a/debian/control b/debian/control
index 0a1ceb6..042fcf3 100644
--- a/debian/control
+++ b/debian/control
@@ -4,6 +4,7 @@ Priority: optional
 Maintainer: Jonathan Esk-Riddell <jr at jriddell.org>
 Build-Depends: debhelper-compat (= 13),
                dh-python,
+               dh-virtualenv,
                doxygen,
                graphviz,
                kf6-extra-cmake-modules,
@@ -13,6 +14,7 @@ Build-Depends: debhelper-compat (= 13),
                python3-pip-whl,
                python3-setuptools,
                python3-setuptools-whl,
+               python3-venv,
 Standards-Version: 4.6.2
 Homepage: https://projects.kde.org/projects/frameworks/kapidox
 Vcs-Browser: https://salsa.debian.org/qt-kde-team/kde/kapidox
diff --git a/debian/rules b/debian/rules
index 4483f1b..b856de9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,8 +2,35 @@
 # -*- makefile -*-
 
 %:
-	dh $@ --with python3 --buildsystem=pybuild
+	dh $@ --with python3 --buildsystem=pybuild --with linktree
 
 override_dh_auto_clean:
 	python3 -m pip install -U --upgrade-strategy eager -r requirements.frozen.txt
 	dh_auto_clean -O--buildsystem=pybuild --
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+%:
+	dh $@ --with python3 --buildsystem=pybuild --with linktree
+
+override_dh_auto_clean:
+	-dh_auto-clean
+
+export DH_VIRTUALENV_INSTALL_ROOT=/opt/venvs
+SNAKE=/usr/bin/python3
+EXTRA_REQUIREMENTS=--upgrade-pip --preinstall "setuptools>=17.1" --preinstall "wheel"
+NODEENV_VERSION=1.3.1
+
+PACKAGE=$(shell dh_listpackages)
+DH_VENV_ARGS=--setuptools --python $(SNAKE) --with linktree $(EXTRA_REQUIREMENTS)
+DH_VENV_DIR=debian/$(PACKAGE)$(DH_VIRTUALENV_INSTALL_ROOT)/$(PACKAGE)
+
+%:
+        dh $@ --with python-virtualenv $(DH_VENV_ARGS)
+
+.PHONY: override_dh_virtualenv
+
+override_dh_virtualenv:
+        dh_virtualenv $(DH_VENV_ARGS)
+        $(DH_VENV_DIR)/bin/python $(DH_VENV_DIR)/bin/pip install -U --upgrade-strategy eager -r requirements.frozen.txt
+        
\ No newline at end of file


More information about the Neon-commits mailing list