diff --git a/debian/changelog b/debian/changelog index 6bea01a..653863a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,7 @@ -swh-archiver (0.0.1-1) unstable; urgency=low +swh-archiver (0.0.1-1~swh1) unstable-swh; urgency=medium - * Create new swh-archiver package + * Initial release + * Release swh.archiver v0.0.1 + * First release since split from swh.storage - -- Nicolas Dandrimont Fri, 30 Jun 2017 15:04:49 +0200 + -- Nicolas Dandrimont Fri, 30 Jun 2017 17:55:33 +0200 diff --git a/debian/control b/debian/control index 3b7d70a..998c410 100644 --- a/debian/control +++ b/debian/control @@ -1,25 +1,25 @@ Source: swh-archiver Maintainer: Software Heritage developers Section: python Priority: optional Build-Depends: debhelper (>= 9), - dh-python, + dh-python (>= 2), python3-all, python3-click, python3-nose, python3-psycopg2, python3-setuptools, - python3-swh.core (>= 0.0.28), + python3-swh.core (>= 0.0.44), python3-swh.journal (>= 0.0.2), - python3-swh.model (>= 0.0.15), + python3-swh.model (>= 0.0.27), python3-swh.objstorage (>= 0.0.17), - python3-swh.scheduler (>= 0.0.14), - python3-swh.storage (>= 0.0.88), + python3-swh.scheduler (>= 0.0.32), + python3-swh.storage (>= 0.0.102), python3-vcversioner Standards-Version: 3.9.6 Homepage: https://forge.softwareheritage.org/source/swh-archiver/ Package: python3-swh.archiver Architecture: all Depends: ${misc:Depends}, ${python3:Depends} Description: Software Heritage Archiver 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 fe256fe..9fda6cd 100755 --- a/debian/rules +++ b/debian/rules @@ -1,12 +1,11 @@ #!/usr/bin/make -f -export PYBUILD_NAME=swh-archiver +export PYBUILD_NAME=swh.archiver +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