diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..23d32e4 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +swh-loader-metadata (0.0.1-1~swh1) unstable-swh; urgency=medium + + * Initial release + + -- Valentin Lorentz Tue, 26 Apr 2022 12:31:21 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..50c4618 --- /dev/null +++ b/debian/control @@ -0,0 +1,28 @@ +Source: swh-loader-metadata +Maintainer: Software Heritage developers +Section: python +Priority: optional +Build-Depends: + debhelper-compat (= 13), + dh-python (>= 3), + python3-all, + python3-pytest, + python3-pytest-mock, + python3-requests-mock, + python3-setuptools, + python3-setuptools-scm, + python3-swh.core (>= 0.3), + python3-swh.lister (>= 2.9.0), + python3-swh.loader.core (>= 3.1.0), + python3-swh.storage (>= 0.29.0), +# The above dependencies are automatically generated. Add extra dependencies below: + python3-swh.core.db.pytestplugin, +Rules-Requires-Root: no +Standards-Version: 4.6.0 +Homepage: https://forge.softwareheritage.org/source/swh-loader-metadata + +Package: python3-swh.loader.metadata +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends}, + , +Description: Software Heritage Extrinsic Metadata Fetchers diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..c508a06 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,22 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ + +Files: * +Copyright: 2015-2022 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/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/pybuild.testfiles b/debian/pybuild.testfiles new file mode 100644 index 0000000..70808c9 --- /dev/null +++ b/debian/pybuild.testfiles @@ -0,0 +1 @@ +swh.loader.metadata.egg-info diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..89a2330 --- /dev/null +++ b/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=swh.loader.metadata +export PYBUILD_TEST_ARGS=-vv + +%: + dh $@ --with python3 --buildsystem=pybuild + +override_dh_install: + dh_install + rm -v $(CURDIR)/debian/python3-*/usr/lib/python*/dist-packages/swh/__init__.py 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)