File: rules

package info (click to toggle)
python-stripe 5.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,816 kB
  • sloc: python: 16,647; makefile: 13; sh: 9
file content (22 lines) | stat: -rwxr-xr-x 500 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#! /usr/bin/make -f

export PYBUILD_NAME=python-stripe
# testing needs https://github.com/stripe/stripe-mock
# not yet packaged in Debian
export PYBUILD_DISABLE=test

PYTHON3_VERSION = $(shell py3versions -d)

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

override_dh_auto_clean:
	rm -rf $(PACKAGE_NAME).egg-info
	rm -rf PKG-INFO
	dh_auto_clean

override_dh_install:
	dh_install
	mkdir -p debian/python3-stripe/usr/share/python3-stripe
	cp -a tests/ debian/python3-stripe/usr/share/python3-stripe