https://forge.softwareheritage.org/source/swh-deposit.git
Raw File
Tip revision: 561522e582234dc6aa5df87f980d71237367ead9 authored by Antoine R. Dumont (@ardumont) on 19 October 2017, 13:38:01 UTC
New upstream version 0.0.22
Tip revision: 561522e
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.injection/usr/lib/python$$pyvers/dist-packages/swh/deposit/injection ; \
		mv $(CURDIR)/debian/python3-swh.deposit/usr/lib/python$$pyvers/dist-packages/swh/deposit/injection/* \
		   $(CURDIR)/debian/python3-swh.deposit.injection/usr/lib/python$$pyvers/dist-packages/swh/deposit/injection/ ; \
	done

override_dh_auto_test:
back to top