File: rules

package info (click to toggle)
python-irodsclient 0.8.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 620 kB
  • sloc: python: 6,523; xml: 525; sh: 7; makefile: 3
file content (17 lines) | stat: -rwxr-xr-x 474 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /usr/bin/make -f

# export HOME=$(CURDIR)/fakehome
export PYBUILD_NAME=irods
# export PYBUILD_TEST_ARGS=python{version} irods/test/runner.py

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

# Can't test without access to an irods instance,
# and the irods server is not yet in Debian
# override_dh_auto_test:
# ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
# 	mkdir -p $(CURDIR)/fakehome/.irods
# 	PYBUILD_SYSTEM=custom dh_auto_test
# 	rm -Rf $(CURDIR)/fakehome
# endif