diff --git a/debian/changelog b/debian/changelog index f0b33fd4b0aabc7d3910f5a6878d5ab9b8e8315f..2456ca87500d26a6f41eeb8357162c7c5bb2181a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,6 @@ -swh-model (0.0.1-1) unstable; urgency=low +swh-model (0.0.1-1~swh1) unstable-swh; urgency=medium - * Create swh-model package + * Initial release + * Prepare swh.model release v0.0.1 - -- Nicolas Dandrimont <olasd@debian.org> Mon, 07 Dec 2015 15:41:28 +0100 + -- Nicolas Dandrimont <nicolas@dandrimont.eu> Mon, 07 Dec 2015 18:26:58 +0100 diff --git a/debian/control b/debian/control index c20e5f56ce0064a90fd9c8eec7071eca19e028c0..8e6257b6586ae910f465e7c46105894574ff94ae 100644 --- a/debian/control +++ b/debian/control @@ -3,9 +3,11 @@ Maintainer: Software Heritage developers <swh-devel@inria.fr> Section: python Priority: optional Build-Depends: debhelper (>= 9), - dh-python, + dh-python (>= 2), + python3 (>= 3.5) | python3-pyblake2, python3-all, - python3-nose, + python3-click, + python3-pytest, python3-setuptools, python3-vcversioner Standards-Version: 3.9.6 @@ -14,4 +16,7 @@ Homepage: https://forge.softwareheritage.org/diffusion/DMOD/ Package: python3-swh.model Architecture: all Depends: ${misc:Depends}, ${python3:Depends} +Breaks: python3-swh.loader.core (<< 0.0.16~), + python3-swh.loader.dir (<< 0.0.28~), + python3-swh.loader.svn (<< 0.0.28~) Description: Software Heritage data model diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000000000000000000000000000000000000..75762062596f0684c00c386168ec692c10baf425 --- /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 4eb6368d45231f3a39a3f59ecb05eb4a18d11f73..ee36e370785d1a1c5d7f369a651c9d31c0f03b49 100755 --- a/debian/rules +++ b/debian/rules @@ -1,11 +1,11 @@ #!/usr/bin/make -f -export PYBUILD_NAME=swh-model +export PYBUILD_NAME=swh.model +export export PYBUILD_TEST_ARGS=-m 'not db and not fs' %: dh $@ --with python3 --buildsystem=pybuild -override_dh_auto_test: - PYBUILD_SYSTEM=custom \ - PYBUILD_TEST_ARGS="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