osc/debian.rules
Marco Strigl 67d707fb95 Accepting request 771059 from home:nickbrown:osc_debian_files
Updated this Debian package to package osc for python3. This means support for Debian 7 and older, Ubuntu 13.04 and older are dropped, but these are all EOL (Ubuntu 14.04 is the oldest LTS release). But it adds supports for Ubuntu Next and Debian Test which both remove python2 support by default.
This should resolve https://github.com/openSUSE/osc/issues/575

OBS-URL: https://build.opensuse.org/request/show/771059
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=318
2020-02-07 12:37:52 +00:00

15 lines
408 B
Makefile

#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export PYBUILD_NAME=osc
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_install:
dh_auto_install
install -Dm0644 dist/complete.csh debian/tmp/etc/profile.d/osc.csh
install -Dm0644 dist/complete.sh debian/tmp/etc/bash_completion.d/osc.sh
install -Dm0755 dist/osc.complete debian/tmp/usr/lib/osc/complete