https://forge.softwareheritage.org/source/swh-deposit.git
Raw File
Tip revision: 22dcfd0fd91543856f4e07db74fbeea02bb14ea1 authored by Antoine R. Dumont (@ardumont) on 08 December 2017, 08:41:21 UTC
New upstream version 0.0.38
Tip revision: 22dcfd0
rules
#!/usr/bin/make -f

export PYBUILD_NAME=swh.deposit
export PYBUILD_TEST_ARGS=--with-doctest -sv -a !db,!fs

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


override_dh_install:
	dh_install
	rm -v $(CURDIR)/debian/python3-*/usr/lib/python*/dist-packages/swh/__init__.py
	for pyvers in $(shell py3versions -vr); do \
		mkdir -p $(CURDIR)/debian/python3-swh.deposit.loader/usr/lib/python$$pyvers/dist-packages/swh/deposit/loader ; \
		mv $(CURDIR)/debian/python3-swh.deposit/usr/lib/python$$pyvers/dist-packages/swh/deposit/loader/* \
		   $(CURDIR)/debian/python3-swh.deposit.loader/usr/lib/python$$pyvers/dist-packages/swh/deposit/loader/ ; \
	done

override_dh_auto_test:
back to top