[neon/backports-jammy/power-profiles-daemon/Neon/release_jammy] /: pip install required shtab and drop fdo's gitlab.yml
Carlos De Maine
null at kde.org
Wed Sep 25 00:08:47 BST 2024
Git commit 39d2d24bdd417ce9e98b3f57145db88269ca248d by Carlos De Maine.
Committed on 24/09/2024 at 23:08.
Pushed by carlosdem into branch 'Neon/release_jammy'.
pip install required shtab and drop fdo's gitlab.yml
D +0 -129 .gitlab-ci.yml
M +1 -0 debian/control
M +1 -0 debian/rules
https://invent.kde.org/neon/backports-jammy/power-profiles-daemon/-/commit/39d2d24bdd417ce9e98b3f57145db88269ca248d
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
deleted file mode 100644
index 81fc905..0000000
--- a/.gitlab-ci.yml
+++ /dev/null
@@ -1,129 +0,0 @@
-image: fedora:rawhide
-
-variables:
- DEPENDENCIES: gcc
- gcovr
- gtk-doc
- pkgconfig(udev)
- pkgconfig(systemd)
- pkgconfig(gio-2.0)
- pkgconfig(gudev-1.0)
- pkgconfig(upower-glib)
- pkgconfig(polkit-gobject-1)
- systemd
- meson
- git
- python3-gobject
- python3-dbusmock
- python3-packaging
- python3-pylint
- umockdev
- e2fsprogs
-
-workflow:
- rules:
- - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
- - if: $CI_PIPELINE_SOURCE == 'push'
-
-.install-deps:
- variables:
- TMPDIR: $CI_BUILDS_DIR/tmpdir
- before_script:
- - echo 8096000 > /proc/sys/fs/inotify/max_user_instances
- - mkdir -m 700 $TMPDIR -p
- - dnf update -y
- - if [ -x /bin/dnf ]; then
- dnf install -y $DEPENDENCIES $JOB_DEPS;
- else
- dnf5 install -y $DEPENDENCIES $JOB_DEPS;
- fi
-
-pre_commit:
- variables:
- DEPENDENCIES: {}
- JOB_DEPS: pre-commit
- git
- extends:
- - .install-deps
- script:
- - pre-commit run --all-files
-
-build_stable:
- extends:
- - .install-deps
- script:
- - meson setup
- --werror
- --fatal-meson-warnings
- --warnlevel 2
- -Dgtk_doc=true
- -Dpylint=true
- -Db_coverage=true
- _build
- - meson test -C _build --print-errorlogs
- - .ci/fail_skipped_tests.py _build/meson-logs/testlog.junit.xml
- - ninja -C _build coverage
- - cat _build/meson-logs/coverage.txt || true
- - meson install -C _build
- - ninja -C _build uninstall -v
- - meson dist -C _build
- artifacts:
- when: always
- paths:
- - _build/meson-logs/*.txt
- - _build/meson-dist/*
- - _build/meson-logs/coveragereport/index.html
- reports:
- junit:
- - _build/meson-logs/testlog.junit.xml
- coverage_report:
- coverage_format: cobertura
- path: _build/meson-logs/coverage.xml
- coverage: '/^TOTAL.*\s+(\d+\%)$/'
-
-address_sanitizer:
- variables:
- JOB_DEPS: libasan
- libubsan
- extends:
- - .install-deps
- script:
- - meson setup
- --werror
- --buildtype=debug
- _build
- -Db_sanitize=address,undefined
- - meson test -C _build --print-errorlogs -t 3
- artifacts:
- when: on_failure
- paths:
- - _build/meson-logs/*.txt
-
-valgrind:
- variables:
- JOB_DEPS: valgrind
- extends:
- - .install-deps
- script:
- - meson setup
- --werror
- --buildtype=debug
- _build
- - meson test -C _build --print-errorlogs --setup=valgrind
- artifacts:
- when: on_failure
- paths:
- - _build/meson-logs/*.txt
-
-scan_build:
- variables:
- JOB_DEPS: clang-analyzer
- extends:
- - .install-deps
- script:
- - meson setup _build
- - env SCANBUILD=$(which scan-build) ninja -C _build scan-build
- artifacts:
- when: on_failure
- paths:
- - _build/meson-logs
diff --git a/debian/control b/debian/control
index 1db9fcc..835804e 100644
--- a/debian/control
+++ b/debian/control
@@ -20,6 +20,7 @@ Build-Depends: debhelper-compat (= 13),
python3-dbus <!nocheck>,
python3-dbusmock <!nocheck>,
python3-gi,
+ python3-pip,
# python3-shtab,
umockdev <!nocheck>,
Standards-Version: 4.6.2
diff --git a/debian/rules b/debian/rules
index 9665a77..9695953 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,7 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs
dh $@ --with python3
override_dh_auto_configure:
+ pip3 install shtab
dh_auto_configure -- \
-Dmanpage=enabled \
-Dbashcomp=enabled \
More information about the Neon-commits
mailing list