diff --git a/debian/changelog b/debian/changelog index e40d416..e602c56 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,6 @@ -swh-loader-debian (0.0.1-1) unstable; urgency=low +swh-loader-debian (0.0.1-1~swh1) unstable-swh; urgency=medium - * + * Initial release + * Initial Debian packaging - -- AUTHOR-NAME + -- Nicolas Dandrimont Wed, 16 Dec 2015 14:29:46 +0100 diff --git a/debian/control b/debian/control index bf15630..e79bb54 100644 --- a/debian/control +++ b/debian/control @@ -1,21 +1,33 @@ Source: swh-loader-debian Maintainer: Software Heritage developers Section: python Priority: optional Build-Depends: debhelper (>= 9), - dh-python, + dh-python (>= 2), + dpkg-dev, python3-all, + python3-debian, python3-nose, python3-setuptools, + python3-sqlalchemy, python3-swh.core, - python3-swh.loader.dir, - python3-swh.model, - python3-swh.storage (>= 0.0.21), + python3-swh.loader.core (>= 0.0.32), + python3-swh.model (>= 0.0.27), + python3-swh.scheduler (>= 0.0.14), + python3-swh.storage (>= 0.0.31), + python3-swh.storage.schemata, python3-vcversioner Standards-Version: 3.9.6 Homepage: https://forge.softwareheritage.org/diffusion/DLDDEB/ Package: python3-swh.loader.debian Architecture: all -Depends: ${misc:Depends}, ${python3:Depends}, python3-swh.storage (>= 0.0.21) +Depends: dpkg-dev, + python3-swh.loader.core (>= 0.0.32), + python3-swh.model (>= 0.0.27), + python3-swh.scheduler (>= 0.0.14), + python3-swh.storage (>= 0.0.31), + python3-swh.storage.schemata, + ${misc:Depends}, + ${python3:Depends} Description: Software Heritage Debian Loader diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..7576206 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,6 @@ +[DEFAULT] +upstream-branch=debian/upstream +upstream-tag=debian/upstream/%(version)s +upstream-vcs-tag=v%(version)s +debian-branch=debian/unstable-swh +pristine-tar=True diff --git a/debian/rules b/debian/rules index d31601c..8e17091 100755 --- a/debian/rules +++ b/debian/rules @@ -1,9 +1,12 @@ #!/usr/bin/make -f -export PYBUILD_NAME=swh-loader-debian +export PYBUILD_NAME=swh.loader.debian +export PYBUILD_TEST_ARGS=--with-doctest -sv -a !db,!fs %: dh $@ --with python3 --buildsystem=pybuild - -override_dh_auto_test: +override_dh_install: + dh_install + rm -v $(CURDIR)/debian/python3-*/usr/lib/python*/dist-packages/swh/__init__.py + rm -v $(CURDIR)/debian/python3-*/usr/lib/python*/dist-packages/swh/loader/__init__.py