File: check-packages

package info (click to toggle)
pyside6 6.10.2-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 48,184 kB
  • sloc: python: 205,032; cpp: 92,990; xml: 18,587; javascript: 1,182; sh: 163; makefile: 89
file content (23 lines) | stat: -rwxr-xr-x 640 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

# Compare the upstream list of packages to the ones that d/control will make:

sed -nr 's/\* (.*)/\1/p' README.pyside6_addons.md README.pyside6_essentials.md |
tr A-Z a-z |
while read module; do
    if [ $module = "qtaxcontainer" ]; then
        # windows only module
        continue
    fi
    if ! grep -q "^Package: python3-pyside6.$module" debian/control; then
        echo "MISSING PACKAGE FOR: $module"
    fi
done


# Check that every package has a list of files to install
for pkg in $(dh_listpackages | grep ^python3); do
    if [ ! -f debian/$pkg.install ]; then
        echo "MISSING CONFIG $pkg.install"
    fi
done