diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000000000000000000000000000000000000..49f7d1ed210ca147e2d8fdff19a23aa7087bcfa2 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +swh-auth (0.0.1-1~swh1) unstable-swh; urgency=medium + + * Initial release + + -- Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Thu, 04 Mar 2021 13:58:13 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000000000000000000000000000000000000..1459d6c3667352407ef44eec4f77a8d449ee22f3 --- /dev/null +++ b/debian/control @@ -0,0 +1,18 @@ +Source: swh-auth +Maintainer: Software Heritage developers <swh-devel@inria.fr> +Section: python +Priority: optional +Build-Depends: debhelper (>= 9), + dh-python (>= 2), + python3-all, + python3-keycloak, + python3-click, + python3-pytest, +Standards-Version: 3.9.6 +Homepage: https://forge.softwareheritage.org/source/swh-auth + +Package: python3-swh.auth +Architecture: all +Depends: ${misc:Depends}, + ${python3:Depends} +Description: Software Heritage Authentication library diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000000000000000000000000000000000000..3f9a83034cc3c62e29737e4860e338e33b81c23f --- /dev/null +++ b/debian/copyright @@ -0,0 +1,22 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ + +Files: * +Copyright: 2021 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 <http://www.gnu.org/licenses/>. + . + 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 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 new file mode 100644 index 0000000000000000000000000000000000000000..4c45e93af64d7f36407573e363694255d690a9a6 --- /dev/null +++ b/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=swh.auth + +%: + 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 0000000000000000000000000000000000000000..163aaf8d82b6c54f23c45f32895dbdfdcc27b047 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt)