Update to use Python 3 (Closes: #938517)
Scott Talbert
4 years ago
2 | 2 |
Priority: optional
|
3 | 3 |
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
|
4 | 4 |
Uploaders: Tiago Bortoletto Vaz <tiago@debian.org>
|
5 | |
Build-Depends: debhelper (>=7.0.50~), python-all (>= 2.6.6-3~)
|
|
5 |
Build-Depends: debhelper-compat (= 12), dh-python, python3-all, python3-setuptools
|
6 | 6 |
Standards-Version: 3.9.3
|
7 | 7 |
Vcs-Browser: https://salsa.debian.org/multimedia-team/soundgrain
|
8 | 8 |
Vcs-Git: https://salsa.debian.org/multimedia-team/soundgrain.git
|
|
10 | 10 |
|
11 | 11 |
Package: soundgrain
|
12 | 12 |
Architecture: all
|
13 | |
Depends: python (>= 2.6), python-wxgtk3.0, python-pyo (>= 0.7.5), python-markdown, ${misc:Depends}
|
|
13 |
Depends: python3-wxgtk4.0, python3-pyo (>= 0.7.5), python3-markdown, ${misc:Depends}, ${python3:Depends}
|
14 | 14 |
Description: Graphical interface to control granular sound synthesis modules
|
15 | 15 |
Soundgrain is a graphical interface where users can draw and edit trajectories
|
16 | 16 |
to control granular sound synthesis. It is written in Python and WxPython and
|
0 | 0 |
#!/usr/bin/make -f
|
1 | 1 |
|
2 | |
export PYTHONWARNINGS=d
|
3 | |
buildvers := $(shell pyversions -rv)
|
4 | |
|
5 | 2 |
%:
|
6 | |
dh $@ --with python2
|
|
3 |
dh $@ --with python3 --buildsystem=pybuild
|
7 | 4 |
|
8 | 5 |
override_dh_auto_install:
|
9 | |
set -e; \
|
10 | |
for i in $(buildvers); do \
|
11 | |
python$$i ./setup.py install --skip-build --skip-build --root $(CURDIR)/debian/soundgrain --install-layout=deb; \
|
12 | |
done
|
|
6 |
dh_auto_install
|
13 | 7 |
mv $(CURDIR)/debian/soundgrain/usr/bin/SoundGrain.py $(CURDIR)/debian/soundgrain/usr/bin/soundgrain
|
14 | 8 |
|
15 | 9 |
override_dh_auto_clean:
|