diff --git a/debian/changelog b/debian/changelog index 3052b1d..4f9591c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,8 @@ -swh-journal (0-0) UNRELEASED; urgency=medium +swh-journal (0.0.1-1~swh1) unstable-swh; urgency=medium - * Initial release. + * Initial release + * v0.0.1 + * Add a journal publisher + * Add a base class interface for journal clients - -- Nicolas Dandrimont Thu, 18 Aug 2016 15:04:29 +0200 + -- Antoine R. Dumont (@ardumont) Tue, 21 Mar 2017 14:38:13 +0100 diff --git a/debian/control b/debian/control index fbd1d59..bfe35c5 100644 --- a/debian/control +++ b/debian/control @@ -1,19 +1,21 @@ Source: swh-journal Maintainer: Software Heritage developers Section: python Priority: optional Build-Depends: debhelper (>= 9), - dh-python, + dh-python (>= 2), python3-all, + python3-kafka (>= 1.3), python3-nose, python3-setuptools, python3-swh.core, - python3-swh.storage, + python3-swh.storage (>= 0.0.108~), python3-vcversioner Standards-Version: 3.9.6 Homepage: https://forge.softwareheritage.org/diffusion/DJNL/ Package: python3-swh.journal Architecture: all -Depends: ${misc:Depends}, ${python3:Depends} +Depends: python3-kafka (>= 1.3), python3-swh.storage (>= 0.0.108~), + ${misc:Depends}, ${python3:Depends} Description: Software Heritage Journal utilities 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 5c0525a..01999b2 100755 --- a/debian/rules +++ b/debian/rules @@ -1,12 +1,11 @@ #!/usr/bin/make -f -export PYBUILD_NAME=swh-journal +export PYBUILD_NAME=swh.journal +export PYBUILD_TEST_ARGS=--with-doctest -sv -a !db,!fs %: dh $@ --with python3 --buildsystem=pybuild - -override_dh_auto_test: - PYBUILD_SYSTEM=custom \ - PYBUILD_TEST_ARGS="cd {build_dir}; python{version} -m nose swh -sva '!db'" \ - dh_auto_test +override_dh_install: + dh_install + rm -v $(CURDIR)/debian/python3-*/usr/lib/python*/dist-packages/swh/__init__.py