diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..6bea01a --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +swh-archiver (0.0.1-1) unstable; urgency=low + + * Create new swh-archiver package + + -- Nicolas Dandrimont Fri, 30 Jun 2017 15:04:49 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..73a5723 --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: swh.archiver +Maintainer: Software Heritage developers +Section: python +Priority: optional +Build-Depends: debhelper (>= 9), + dh-python, + python3-all, + python3-nose, + python3-setuptools, + python3-swh.core, + python3-swh.storage, + 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/copyright b/debian/copyright new file mode 100644 index 0000000..81d037d --- /dev/null +++ b/debian/copyright @@ -0,0 +1,22 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ + +Files: * +Copyright: 2015 The Software Heritage developers +License: GPL-3+ + +License: GPL-3+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in `/usr/share/common-licenses/GPL-3'. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..fe256fe --- /dev/null +++ b/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=swh-archiver + +%: + 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 + diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt)