Changeset View
Changeset View
Standalone View
Standalone View
debian/rules
- This file was added.
Property | Old Value | New Value |
---|---|---|
File Mode | null | 100755 |
#!/usr/bin/make -f | |||||
export PYBUILD_NAME=swh.core | |||||
export PYBUILD_TEST_ARGS=-m 'not db' | |||||
%: | |||||
dh $@ --with python3 --buildsystem=pybuild | |||||
override_dh_python3: | |||||
dh_python3 --requires=requirements-db.txt --requires=requirements-http.txt | |||||
override_dh_install: | |||||
dh_install | |||||
for pyvers in $(shell py3versions -vr); do \ | |||||
mkdir -p $(CURDIR)/debian/python3-swh.core.db.pytestplugin/usr/lib/python$$pyvers/dist-packages/swh/core/db ; \ | |||||
mv $(CURDIR)/debian/python3-swh.core/usr/lib/python$$pyvers/dist-packages/swh/core/db/pytest_plugin.py \ | |||||
$(CURDIR)/debian/python3-swh.core.db.pytestplugin/usr/lib/python$$pyvers/dist-packages/swh/core/db/pytest_plugin.py ; \ | |||||
done |