drop obsolete workaround for build path leaking into installed files; tighten build-dependency on python3-sugar3
Jonas Smedegaard
2 years ago
6 | 6 |
debhelper,
|
7 | 7 |
dh-sequence-python3,
|
8 | 8 |
python3,
|
9 | |
python3-sugar3,
|
|
9 |
python3-sugar3 (>= 0.118-3~),
|
10 | 10 |
unzip
|
11 | 11 |
Standards-Version: 4.5.0
|
12 | 12 |
Vcs-Git: https://salsa.debian.org/pkg-sugar-team/sugar-etoys-activity.git
|
15 | 15 |
dh $@ --buildsystem=pybuild -X.git -Xusr/share/icons
|
16 | 16 |
|
17 | 17 |
execute_after_dh_install:
|
18 | |
# Fix broken paths in desktop file
|
19 | |
# * TODO: drop when fixed in sugar-toolkit-gtk3
|
20 | |
find debian/*/usr/share -type f -name '*.desktop' \
|
21 | |
-execdir perl -pi -e 's,^\S+\s*=\s*\K\S*(?=/usr/share),,g' '{}' ';'
|
22 | 18 |
# Ensure proper hash-bang in Python script (Python Policy 0.9 ยง3.1)
|
23 | 19 |
perl -pi -e 's,^#! ?/usr/bin/(env )?python[[:print:]]*$$,#!/usr/bin/python3,' \
|
24 | 20 |
debian/*/usr/share/sugar/activities/*/setup.py
|