File: rules

package info (click to toggle)
ruamel.yaml 0.16.12-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 920 kB
  • sloc: python: 10,759; makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 448 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /usr/bin/make -f

export PYBUILD_NAME=ruamel.yaml
export PYBUILD_INSTALL_ARGS=--single-version-externally-managed
#export PYBUILD_BEFORE_BUILD_python3=cython3 ext/_ruamel_yaml.pyx
export PYBUILD_BEFORE_TEST=ln -s {dir}/_test {build_dir}/
export PYBUILD_TEST_ARGS=_test/test_*.py

%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	echo "There is no test suite available"
endif