Files
osc/debian.rules
Daniel Mach 361a299aaa - 1.19.1
- Command-line:
    - Use OSC_PACKAGE_CACHE_DIR env var instead of deprecated OSC_PACKAGECACHEDIR
  - Connection:
    - Check for both upper and lowercase versions of HTTP_PROXY and HTTPS_PROXY env vars
  - Library:
    - Add 'trackingbranch' field to ScmsyncObsinfo model
    - Revert "Return None if GitStore cannot determine apiurl"
    - Throw a proper exception when 'apiurl' argument of 'makeurl()' is empty
    - Move code setting apiurl from store to 'osc.conf.get_config()'
    - Simplify 'osc.commandline.Osc.get_api_url()' to return the value from 'self.options'
    - Remove 'osc.commandline.Osc.post_argparse()' because it's no longer used
    - Fix unit tests to use the new code path to run osc
    - Fix osc.gitea_api.dt_sanitize() by replacing dateutil with datetime

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=489
2025-08-06 05:08:22 +00:00

29 lines
806 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_build:
dh_auto_build
PYTHONPATH=. argparse-manpage \
--output=osc.1 \
--module=osc.commandline \
--function=argparse_manpage_get_parser \
--project-name=osc \
--author="Contributors to the osc project. See the project's GIT history for the complete list." \
--url="https://github.com/openSUSE/osc/"
override_dh_auto_install:
dh_auto_install
install -Dm0644 contrib/complete.csh debian/osc/etc/profile.d/osc.csh
install -Dm0644 contrib/complete.sh debian/osc/etc/bash_completion.d/osc.sh
install -Dm0755 contrib/osc.complete debian/osc/usr/lib/osc/complete
override_dh_auto_test:
echo "skipping test"