diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 36 | ||||
-rw-r--r-- | debian/control | 26 | ||||
-rw-r--r-- | debian/copyright | 37 | ||||
-rwxr-xr-x | debian/rules | 4 | ||||
-rw-r--r-- | debian/salsa-ci.yml | 4 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/source/options | 1 | ||||
-rw-r--r-- | debian/tests/control | 4 | ||||
-rw-r--r-- | debian/tests/pytest | 13 | ||||
-rw-r--r-- | debian/upstream/metadata | 4 | ||||
-rw-r--r-- | debian/watch | 3 |
11 files changed, 133 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..a120c3f --- /dev/null +++ b/debian/changelog @@ -0,0 +1,36 @@ +mdurl (0.1.2-1) unstable; urgency=medium + + * New upstream version. + * d/control: Bump Standards-Version to 4.6.1.1 (from 4.6.1; no further + changes). + + -- Emmanuel Arias <eamanu@yaerobi.com> Mon, 17 Oct 2022 20:23:30 +0000 + +mdurl (0.1.1-2) unstable; urgency=medium + + * d/control: Version flit in build depends to be according to + pyproject.toml (Closes: #1013191). + - Patch provided by David Paul <davidpaul@librem.one>. + * d/control: Bump Standards-Version to 4.6.1 (from 4.6.0.1; no further + changes). + + -- Emmanuel Arias <eamanu@yaerobi.com> Fri, 12 Aug 2022 13:09:32 -0300 + +mdurl (0.1.1-1) unstable; urgency=medium + + * New upstream release. + + -- Emmanuel Arias <eamanu@yaerobi.com> Wed, 22 Jun 2022 16:28:11 -0300 + +mdurl (0.1.0-2) unstable; urgency=medium + + * Team upload. + * Source-only upload. + + -- Jeroen Ploemen <jcfp@debian.org> Mon, 11 Apr 2022 19:34:56 +0000 + +mdurl (0.1.0-1) unstable; urgency=medium + + * Initial release (Closes: #1008619). + + -- Emmanuel Arias <eamanu@yaerobi.com> Thu, 07 Apr 2022 10:30:41 +0000 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..38d1db2 --- /dev/null +++ b/debian/control @@ -0,0 +1,26 @@ +Source: mdurl +Section: python +Priority: optional +Uploaders: Emmanuel Arias <eamanu@yaerobi.com>, +Maintainer: Debian Python Team <team+python@tracker.debian.org> +Build-Depends: debhelper-compat (= 13), + dh-python, + flit (<< 4), + flit (>= 3.2), + pybuild-plugin-pyproject, + python3-all, + python3-pytest <!nocheck>, +Standards-Version: 4.6.1.1 +Homepage: https://github.com/executablebooks/mdurl +Vcs-Browser: https://salsa.debian.org/python-team/packages/mdurl +Vcs-Git: https://salsa.debian.org/python-team/packages/mdurl.git +Rules-Requires-Root: no + +Package: python3-mdurl +Architecture: all +Depends: ${misc:Depends}, + ${python3:Depends}, +Description: Python port of the JavaScript mdurl package + mdurl is a set of URL utilities for the markdown-it-py package. It + provides a pure-Python implementation of several functions from the + original JavaScript package, such as .decode(), .parse(), .encode(). diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..0a8bff0 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,37 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: mdurl +Source: https://github.com/executablebooks/mdurl + +Files: * +Copyright: 2021 Taneli Hukkinen + 2015 Vitaly Puzrin + 2015 Alex Kocharin +License: expat + +Files: tests/fixtures/url.py + src/mdurl/_parse.py +Copyright: Joyent, Inc. and other Node contributors +License: expat + +Files: debian/* +Copyright: 2022 Emmanuel Arias <eamanu@yaerobi.com> +License: expat + +License: expat + 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..641186e --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --with python3 --buildsystem=pybuild diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml new file mode 100644 index 0000000..33c3a64 --- /dev/null +++ b/debian/salsa-ci.yml @@ -0,0 +1,4 @@ +--- +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml 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/options b/debian/source/options new file mode 100644 index 0000000..cb61fa5 --- /dev/null +++ b/debian/source/options @@ -0,0 +1 @@ +extend-diff-ignore = "^[^/]*[.]egg-info/" diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..2d2d015 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,4 @@ +Tests: pytest +Depends: python3-all, + python3-pytest, + @, diff --git a/debian/tests/pytest b/debian/tests/pytest new file mode 100644 index 0000000..54ef298 --- /dev/null +++ b/debian/tests/pytest @@ -0,0 +1,13 @@ +#!/bin/sh +set -efu + +pys="$(py3versions -s 2> /dev/null)" + +cp -a tests "$AUTOPKGTEST_TMP" +cd "$AUTOPKGTEST_TMP" + + +for py in $pys; do + echo "=== $py ===" + $py -m pytest +done diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..68c36db --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,4 @@ +Bug-Database: https://github.com/executablebooks/mdurl/issues +Bug-Submit: https://github.com/executablebooks/mdurl/issues/new +Repository: https://github.com/executablebooks/mdurl.git +Repository-Browse: https://github.com/executablebooks/mdurl diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..d1ae17b --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=4 +opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%mdurl-$1.tar.gz%" \ + https://github.com/executablebooks/mdurl/tags (?:.*?/)?v?(\d[\d.]*)\.tar\.gz |