| 1 |
#! /usr/bin/make -f |
| 2 |
|
| 3 |
export PYBUILD_NAME=python-stripe |
| 4 |
# testing needs https://github.com/stripe/stripe-mock |
| 5 |
# not yet packaged in Debian |
| 6 |
export PYBUILD_DISABLE=test |
| 7 |
|
| 8 |
PYTHON3_VERSION = $(shell py3versions -d) |
| 9 |
|
| 10 |
%: |
| 11 |
dh $@ --with python3 --buildsystem=pybuild |
| 12 |
|
| 13 |
override_dh_auto_clean: |
| 14 |
rm -rf $(PACKAGE_NAME).egg-info |
| 15 |
rm -rf PKG-INFO |
| 16 |
dh_auto_clean |
| 17 |
|
| 18 |
override_dh_install: |
| 19 |
dh_install |
| 20 |
mkdir -p debian/python3-stripe/usr/share/python3-stripe |
| 21 |
cp -a tests/ debian/python3-stripe/usr/share/python3-stripe |
| 22 |
|