diff --git a/debian/control b/debian/control index 4c646d5..7b6f8da 100644 --- a/debian/control +++ b/debian/control @@ -1,36 +1,37 @@ Source: swh-scheduler Maintainer: Software Heritage developers Section: python Priority: optional Build-Depends: debhelper (>= 9), dh-python (>= 2), postgresql-contrib, python3-all, python3-arrow, python3-celery (>= 4.3), python3-click, python3-elasticsearch (>= 5.4.0), python3-flask, python3-humanize, python3-hypothesis (>= 3.11.0~), python3-kombu, python3-pika (>= 1.1.0~), python3-psycopg2, python3-pytest, python3-pytest-mock, python3-setuptools, python3-setuptools-scm, python3-swh.core (>= 0.9), python3-swh.core.db.pytestplugin (>= 0.9), python3-swh.lister, - python3-swh.storage (>= 0.0.129~) + python3-swh.storage (>= 0.0.129~), + python3-swh.journal Standards-Version: 3.9.6 Homepage: https://forge.softwareheritage.org/diffusion/DSCH/ Package: python3-swh.scheduler Architecture: all Depends: python3-swh.core (>= 0.9), python3-swh.storage (>= 0.0.129~), ${misc:Depends}, ${python3:Depends} Description: Software Heritage Scheduler diff --git a/debian/rules b/debian/rules index f382bb6..4bbc386 100755 --- a/debian/rules +++ b/debian/rules @@ -1,16 +1,21 @@ #!/usr/bin/make -f export LC_ALL=C.UTF-8 export PG_CTL := $(lastword $(sort $(wildcard /usr/lib/postgresql/*/bin/pg_ctl))) export PYBUILD_NAME=swh.scheduler export PYBUILD_TEST_ARGS= --postgresql-exec $(PG_CTL) -m 'not db and not fs' \ -p no:pytest_swh_scheduler %: dh $@ --with python3 --buildsystem=pybuild +override_dh_auto_build: + rm -rfv $(CURDIR)/swh/scheduler/simulator + rm -fv $(CURDIR)/swh/scheduler/tests/test_simulator.py + dh_auto_build + override_dh_install: dh_install rm -v $(CURDIR)/debian/python3-*/usr/lib/python*/dist-packages/swh/__init__.py rm -rf $(CURDIR)/debian/python3-*/usr/lib/python*/dist-packages/.hypothesis