From f17a36c03a19aba355a76881abf0b4ccf4b5e079 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 29 Apr 2024 06:25:33 +0200 Subject: Adding debian version 0.1.2-1. Signed-off-by: Daniel Baumann --- debian/changelog | 36 ++++++++++++++++++++++++++++++++++++ debian/control | 26 ++++++++++++++++++++++++++ debian/copyright | 37 +++++++++++++++++++++++++++++++++++++ debian/rules | 4 ++++ debian/salsa-ci.yml | 4 ++++ debian/source/format | 1 + debian/source/options | 1 + debian/tests/control | 4 ++++ debian/tests/pytest | 13 +++++++++++++ debian/upstream/metadata | 4 ++++ debian/watch | 3 +++ 11 files changed, 133 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/salsa-ci.yml create mode 100644 debian/source/format create mode 100644 debian/source/options create mode 100644 debian/tests/control create mode 100644 debian/tests/pytest create mode 100644 debian/upstream/metadata create mode 100644 debian/watch 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 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 . + * d/control: Bump Standards-Version to 4.6.1 (from 4.6.0.1; no further + changes). + + -- Emmanuel Arias Fri, 12 Aug 2022 13:09:32 -0300 + +mdurl (0.1.1-1) unstable; urgency=medium + + * New upstream release. + + -- Emmanuel Arias Wed, 22 Jun 2022 16:28:11 -0300 + +mdurl (0.1.0-2) unstable; urgency=medium + + * Team upload. + * Source-only upload. + + -- Jeroen Ploemen Mon, 11 Apr 2022 19:34:56 +0000 + +mdurl (0.1.0-1) unstable; urgency=medium + + * Initial release (Closes: #1008619). + + -- Emmanuel Arias 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 , +Maintainer: Debian Python Team +Build-Depends: debhelper-compat (= 13), + dh-python, + flit (<< 4), + flit (>= 3.2), + pybuild-plugin-pyproject, + python3-all, + python3-pytest , +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 +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 -- cgit v1.2.3