From b602c827e01116a9c65c3901f660e1102ff745fd Mon Sep 17 00:00:00 2001 From: Nicolas Dandrimont <nicolas@dandrimont.eu> Date: Mon, 7 Dec 2015 18:26:58 +0100 Subject: [PATCH] Updated debian directory for version 0.0.1 --- debian/changelog | 7 ++++--- debian/control | 9 +++++++-- debian/gbp.conf | 6 ++++++ debian/rules | 10 +++++----- 4 files changed, 22 insertions(+), 10 deletions(-) create mode 100644 debian/gbp.conf diff --git a/debian/changelog b/debian/changelog index f0b33fd4..2456ca87 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 c20e5f56..8e6257b6 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 00000000..75762062 --- /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 4eb6368d..ee36e370 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 -- GitLab