Skip to content

Commit

Permalink
debian/rules: Add support for pybuild.
Browse files Browse the repository at this point in the history
  • Loading branch information
flexiondotorg committed Jun 3, 2019
1 parent 06178a8 commit ed81523
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion debian/deja-dup-caja/debian/rules
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
#!/usr/bin/make -f

DHFLAGS=--parallel
export PYBUILD_SYSTEM=distutils

%:
dh $@ --with-python
dh $@ $(DHFLAGS) --with python3 --buildsystem=pybuild

override_dh_auto_clean:
# dh_auto_clean with pybuild/distutils only works if setup.py is
# present
if [ -f setup.py ]; then \
dh_auto_clean; \
fi

get-orig-source:
uscan --noconf --force-download --rename --download-current-version --destdir=..

0 comments on commit ed81523

Please sign in to comment.