File: rules

package info (click to toggle)
python-shopifyapi 12.7.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 560 kB
  • sloc: python: 1,752; sh: 10; makefile: 9
file content (15 lines) | stat: -rwxr-xr-x 369 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /usr/bin/make -f

export PYBUILD_NAME=shopifyapi

pkg=python3-"${PYBUILD_NAME}"

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

override_dh_install:
	mv debian/${pkg}/usr/bin/shopify_api.py debian/${pkg}/usr/bin/shopify_api
	dh_install
	# Copy the test suite to a decent location
	mkdir -p debian/${pkg}/usr/share/${pkg}
	cp -r test/ debian/${pkg}/usr/share/${pkg}