Import Debian changes 1.0.3-ok1

python-build (1.0.3-ok1) nile; urgency=medium

  * Build for openKylin.
This commit is contained in:
openKylinBot 2024-05-07 10:51:56 +08:00 committed by luoyaoming
parent 04eff854ff
commit dc6bbf2d4d
12 changed files with 163 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
python-build (1.0.3-ok1) nile; urgency=medium
* Build for openKylin.
-- openKylinBot <openKylinBot@openkylin.top> Tue, 07 May 2024 10:51:56 +0800

54
debian/control vendored Normal file
View File

@ -0,0 +1,54 @@
Source: python-build
Section: python
Priority: optional
Maintainer: openKylin Developers <packaging@lists.openkylin.top>
Uploaders: Sergio Durigan Junior <sergiodj@debian.org>
Build-Depends: debhelper-compat (= 13),
dh-python,
flit (>= 3.4),
python3-all,
python3-packaging,
python3-pyproject-hooks,
python3-toml,
dh-sequence-sphinxdoc <!nodoc>,
python3-sphinx <!nodoc>,
python3-sphinx-autodoc-typehints <!nodoc>,
python3-sphinx-argparse-cli <!nodoc>,
python3-sphinx-issues <!nodoc>,
furo <!nodoc>,
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-pyproject-hooks,
python3-toml,
python3-wheel,
Suggests: python3-pip,
python3-venv,
python-build-doc,
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.
Package: python3-build-doc
Architecture: all
Section: doc
Depends: ${sphinxdoc:Depends}, ${misc:Depends}
Multi-Arch: foreign
Description: Simple, correct PEP517 package builder (documentation)
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 is the documentation package.

31
debian/copyright vendored Normal file
View File

@ -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 <filipe.lains@gmail.com>
License: Expat
Files: debian/*
Copyright: 2020-2022 Sergio Durigan Junior <sergiodj@debian.org>
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.

17
debian/python3-build-doc.doc-base vendored Normal file
View File

@ -0,0 +1,17 @@
Document: python-build
Title: Debian python-build Manual
Author: Toshio Kuratomi
Abstract: This is the manual for python-build.
python-build is a simple, correct PEP517 package builder.
.
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.
Section: Programming/Python
Format: HTML
Index: /usr/share/doc/python3-build/html/index.html
Files:
/usr/share/doc/python3-build/html/*.html
/usr/share/doc/python3-build/html/_sources/*
/usr/share/doc/python3-build/html/_static/*

1
debian/python3-build-doc.docs vendored Normal file
View File

@ -0,0 +1 @@
docs/_build/html/

1
debian/python3-build.manpages vendored Normal file
View File

@ -0,0 +1 @@
docs/_build/man/*

32
debian/rules vendored Executable file
View File

@ -0,0 +1,32 @@
#!/usr/bin/make -f
export PYBUILD_NAME=build
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
export PYBUILD_AFTER_BUILD = \
PYTHONPATH={build_dir} \
http_proxy='127.0.0.1:9' \
{interpreter} -m sphinx -N -bhtml \
./docs/ ./docs/_build/html/ ; \
PYTHONPATH={build_dir} \
http_proxy='127.0.0.1:9' \
{interpreter} -m sphinx -N -bman \
./docs/ ./docs/_build/man/ ; \
mv -v ./docs/_build/man/build.1 ./docs/_build/man/pyproject-build.1
endif
%:
dh $@ --with python3 --buildsystem=pybuild
# Unfortunately, python-build's testsuite relies heavily on "pip
# install" and other network-related operations, which are 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:

11
debian/salsa-ci.yml vendored Normal file
View File

@ -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

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

1
debian/source/options vendored Normal file
View File

@ -0,0 +1 @@
extend-diff-ignore = "^[^/]*[.]egg-info/"

5
debian/upstream/metadata vendored Normal file
View File

@ -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

4
debian/watch vendored Normal file
View File

@ -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