From 043c4fc8613f6326db61066f31656d7cfc13ff04 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 29 Apr 2024 06:20:41 +0200 Subject: Adding debian version 0.9.0-1. Signed-off-by: Daniel Baumann --- debian/changelog | 79 ++++++++++++++++++++++++++++++++++++++++++++++++ debian/control | 35 +++++++++++++++++++++ debian/copyright | 31 +++++++++++++++++++ debian/rules | 19 ++++++++++++ debian/salsa-ci.yml | 11 +++++++ debian/source/format | 1 + debian/source/options | 1 + debian/upstream/metadata | 5 +++ debian/watch | 4 +++ 9 files changed, 186 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/upstream/metadata create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..5d4f31a --- /dev/null +++ b/debian/changelog @@ -0,0 +1,79 @@ +python-build (0.9.0-1) unstable; urgency=medium + + * New upstream version 0.9.0 + * d/p/debian-sysconfig-layouts.patch: Remove; incorporated by upstream. + * d/control: Bump Standards-Version to 4.6.2; no changes needed. + * d/copyright: Update year. + * d/copyright: Remove empty Upstream-Contact. + + -- Sergio Durigan Junior Sat, 24 Dec 2022 00:09:43 -0500 + +python-build (0.7.0-4) unstable; urgency=medium + + [ Debian Janitor ] + * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository, Repository-Browse. + + -- Jelmer Vernooij Mon, 17 Oct 2022 04:20:50 +0100 + +python-build (0.7.0-3) unstable; urgency=medium + + * Team upload. + * Patch: Handle Debian's default posix_local sysconfig layout. + (Closes: #1009916) + + -- Stefano Rivera Wed, 20 Apr 2022 17:53:21 -0400 + +python-build (0.7.0-2) unstable; urgency=medium + + * Team upload. + * Update python3-build depends: (Closes: 988085) + - Add missing Depends on python3-wheel + - Move python3-pip and python3-venv to suggests + + -- Scott Kitterman Sat, 11 Dec 2021 19:20:52 -0500 + +python-build (0.7.0-1) unstable; urgency=medium + + [ Antoine Beaupré ] + * New upstream release. + * refresh docs patch + * fix path to docs + * disable docs build: missing dependency. + Upstream added sphinx-argparse-cli as a dependency, which is not + packaged in Debian. + * add new deps for test suite + + [ Sergio Durigan Junior ] + * Disable build-time tests. + - d/control: Remove test-only Build-Depends. + - d/rules: Override dh_auto_test and disable build-time tests. Most + of this package's tests require internet and rely on "pip install", + which is not suitable nor allowed on Debian. + * d/control: Remove documentation-related Build-Depends. + * Further remove documentation-related bits. + - d/rules: Don't invoke dh with sphinxdoc. + - d/python-build-doc.doc-base: Remove file. + - d/python-build-doc.docs: Likewise. + - d/python3-build.manpages: Likewise. + * d/control: Bump Standards-Version to 4.6.0.1. + + -- Sergio Durigan Junior Sat, 23 Oct 2021 16:28:25 -0400 + +python-build (0.1.0-3) unstable; urgency=medium + + * d/control: Update Vcs-* fields. + * d/control: Make python3-build depend on python3-pip. (Closes: #978674) + + -- Sergio Durigan Junior Sat, 24 Apr 2021 19:52:08 -0400 + +python-build (0.1.0-2) unstable; urgency=medium + + * Source-only upload to make the package migrate. + + -- Sergio Durigan Junior Sun, 06 Dec 2020 18:08:09 -0500 + +python-build (0.1.0-1) unstable; urgency=medium + + * Initial release (Closes: #976629). + + -- Sergio Durigan Junior Sun, 06 Dec 2020 18:07:25 -0500 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..2610479 --- /dev/null +++ b/debian/control @@ -0,0 +1,35 @@ +Source: python-build +Section: python +Priority: optional +Maintainer: Debian Python Team +Uploaders: Sergio Durigan Junior +Build-Depends: debhelper-compat (= 13), + dh-python, + python3-setuptools, + python3-all, + python3-packaging, + python3-pep517 (>= 0.9), + python3-toml, +Standards-Version: 4.6.2 +Homepage: https://github.com/pypa/build +Vcs-Browser: https://salsa.debian.org/python-team/packages/python-build +Vcs-Git: https://salsa.debian.org/python-team/packages/python-build.git +Testsuite: autopkgtest-pkg-python +Rules-Requires-Root: no + +Package: python3-build +Architecture: all +Depends: ${python3:Depends}, + ${misc:Depends}, + python3-packaging, + python3-pep517 (>= 0.9), + python3-toml, + python3-wheel, +Suggests: python3-pip, + python3-venv, +Description: Simple, correct PEP517 package builder (Python 3) + python-build will invoke the PEP 517 hooks to build a distribution + package. It is a simple build tool and does not perform any + dependency management. + . + This package installs the library for Python 3. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..cf5f69e --- /dev/null +++ b/debian/copyright @@ -0,0 +1,31 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: python-build +Source: https://github.com/pypa/build + +Files: * +Copyright: 2019 Filipe Laíns +License: Expat + +Files: debian/* +Copyright: 2020-2022 Sergio Durigan Junior +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 (including the next + paragraph) 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..c758b0a --- /dev/null +++ b/debian/rules @@ -0,0 +1,19 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=build + +%: + dh $@ --with python3 --buildsystem=pybuild + +# Unfortunately, python-build's testsuite relies heavily on "pip +# install" and other network-related operations, which are not not +# allowed during build time. +# +# Although not all tests are affected by this, it is becoming more and +# more difficult to maintain a list of tests that should be disabled +# because of this issue. For this reason, and in order to keep the +# maintenance burden low, we decided to disable running these tests +# during build time. +# +# TODO: Create a dep8 test that runs the entire upstream testsuite. +override_dh_auto_test: diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml new file mode 100644 index 0000000..260ebbe --- /dev/null +++ b/debian/salsa-ci.yml @@ -0,0 +1,11 @@ +# For more information on what jobs are run see: +# https://salsa.debian.org/salsa-ci-team/pipeline +# +# To enable the jobs, go to your repository (at salsa.debian.org) +# and click over Settings > CI/CD > Expand (in General pipelines). +# In "Custom CI config path" write debian/salsa-ci.yml and click +# in "Save Changes". The CI tests will run after the next commit. +--- +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/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..3559887 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,5 @@ +--- +Bug-Database: https://github.com/pypa/build/issues +Bug-Submit: https://github.com/pypa/build/issues/new +Repository: https://github.com/pypa/build.git +Repository-Browse: https://github.com/pypa/build diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..2166b80 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +# Compulsory line, this is a version 4 file +version=4 + +https://github.com/pypa/build/tags .*/archive/refs/tags/v?((?:\d+\.?)*)\.tar\.gz -- cgit v1.2.3