diff --git a/debian/changelog b/debian/changelog index c6cbb11..7213048 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,5 @@ - (0.0.1-1) unstable; urgency=low +swh-web-client (0.2.0-1~swh1) unstable-swh; urgency=low - * + * Bootstrap debian packaging for swh-web-client - -- AUTHOR-NAME + -- Nicolas Dandrimont Fri, 25 Sep 2020 19:35:20 +0200 diff --git a/debian/compat b/debian/compat deleted file mode 100644 index ec63514..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/debian/control b/debian/control index 68a9ef5..ac66cce 100644 --- a/debian/control +++ b/debian/control @@ -1,19 +1,25 @@ -Source: # example: swh-loader-pypi +Source: swh-web-client Maintainer: Software Heritage developers Section: python Priority: optional -Build-Depends: debhelper (>= 9), +Build-Depends: debhelper-compat (= 13), dh-python (>= 2), python3-all, - python3-nose, + python3-click, + python3-dateutil, + python3-pytest, + python3-pytest-mock, + python3-requests, + python3-requests-mock, python3-setuptools, + python3-setuptools-scm, python3-swh.core, - python3-swh.storage, - python3-vcversioner + python3-swh.model Standards-Version: 3.9.6 -Homepage: https://forge.softwareheritage.org/source// +Homepage: https://forge.softwareheritage.org/source/swh-web-client/ -Package: python3- # example: python3-swh.loader.pypi +Package: python3-swh.web.client Architecture: all -Depends: ${misc:Depends}, ${python3:Depends} -Description: Software Heritage +Depends: ${misc:Depends}, + ${python3:Depends} +Description: Software Heritage web client 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 32f59e6..29af7d3 100755 --- a/debian/rules +++ b/debian/rules @@ -1,11 +1,12 @@ #!/usr/bin/make -f -export PYBUILD_NAME= # example: swh.loader.pypi -export PYBUILD_TEST_ARGS=--with-doctest -sva !db,!fs +export PYBUILD_NAME=swh.scanner +export PYBUILD_TEST_ARGS=-sv %: dh $@ --with python3 --buildsystem=pybuild 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/web/__init__.py