summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog17
-rw-r--r--debian/control24
-rw-r--r--debian/copyright35
-rwxr-xr-xdebian/rules6
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/lintian-overrides1
-rw-r--r--debian/watch5
7 files changed, 89 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..928dfc6
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,17 @@
+lsprotocol (2023.0.0-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Arto Jantunen <viiru@debian.org> Mon, 04 Dec 2023 12:39:53 +0200
+
+lsprotocol (2023.0.0~b1-2) unstable; urgency=medium
+
+ * Mark Debian Python Team as maintainer and myself as Uploader
+
+ -- Arto Jantunen <viiru@debian.org> Mon, 30 Oct 2023 07:54:53 +0200
+
+lsprotocol (2023.0.0~b1-1) unstable; urgency=low
+
+ * Initial release (Closes: #1054206)
+
+ -- Arto Jantunen <viiru@debian.org> Sat, 28 Oct 2023 13:03:42 +0300
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..5667ba1
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: lsprotocol
+Section: python
+Priority: optional
+Maintainer: Debian Python Team <team+python@tracker.debian.org>
+Uploaders: Arto Jantunen <viiru@debian.org>
+Build-Depends: debhelper-compat (= 13),
+ dh-sequence-python3,
+ flit,
+ pybuild-plugin-pyproject,
+ python3-all,
+Standards-Version: 4.6.2.0
+Testsuite: autopkgtest-pkg-pybuild
+Rules-Requires-Root: no
+Homepage: https://github.com/microsoft/lsprotocol
+Vcs-Browser: https://salsa.debian.org/python-team/packages/lsprotocol
+Vcs-Git: https://salsa.debian.org/python-team/packages/lsprotocol.git
+
+Package: python3-lsprotocol
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends},
+Description: Python implementation of the Language Server Protocol
+ lsprotocol is a Python implementation of object types used in the Language
+ Server Protocol (LSP). This repository contains the code generator and the
+ generated types for LSP.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..ff8d642
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,35 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: lsprotocol
+Upstream-Contact: Microsoft Corporation <lsprotocol-help@microsoft.com>
+Source: None
+
+Files: *
+Copyright: Microsoft Corporation
+License: MIT
+
+Files: debian/*
+Copyright: 2023 Arto Jantunen <viiru@debian.org>
+License: MIT
+
+License: MIT
+ MIT License
+ .
+ Copyright (c) Microsoft Corporation.
+ .
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..822b74e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,6 @@
+#! /usr/bin/make -f
+
+export PYBUILD_NAME=lsprotocol
+export PYBUILD_DIR=packages/python
+%:
+ dh $@ --buildsystem=pybuild
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)
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..4b6789a
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1 @@
+lsprotocol source: missing-prerequisite-for-pyproject-backend
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..cdfa7c2
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+version=4
+opts="filenamemangle=s/(?:.*?)?v?(\d[\d.]*)\.tar\.gz/@PACKAGE@-$1.tar.gz/, \
+uversionmangle=s/(\d)[_\.\-\+]?((a|b)\d*)$/$1~$2/" \
+ https://github.com/microsoft/@PACKAGE@/tags \
+ https://github.com/microsoft/@PACKAGE@/archive/refs/tags/([^/]*)\.tar\.gz