Import Debian changes 0.9.0-ok1

python-build (0.9.0-ok1) yangtze; urgency=medium

  * Build for openkylin.
This commit is contained in:
sufang 2023-01-30 15:19:05 +08:00 committed by su-fang
parent a9a40ccd33
commit 4e067bb10c
8 changed files with 184 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
python-build (0.9.0-ok1) yangtze; urgency=medium
* Build for openkylin.
-- sufang <sufang@kylinos.cn> Mon, 30 Jan 2023 15:19:05 +0800

34
debian/control vendored Normal file
View File

@ -0,0 +1,34 @@
Source: python-build
Section: python
Priority: optional
Maintainer: OpenKylin Developers <packaging@lists.openkylin.top>
Build-Depends: debhelper-compat (= 13),
dh-python,
python3-setuptools,
python3-all,
python3-packaging,
python3-pep517,
python3-toml,
Standards-Version: 4.6.2
Homepage: https://github.com/pypa/build
Vcs-Browser: https://gitee.com/openkylin/python-build
Vcs-Git: https://gitee.com/openkylin/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,
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.

114
debian/copyright vendored Normal file
View File

@ -0,0 +1,114 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: python-build
Source: <url://example.com>
#
# Please double check copyright with the licensecheck(1) command.
Files: .dockerignore
.github/CODEOWNERS
.github/dependabot.yml
.github/workflows/check.yml
.github/workflows/test.yml
.gitignore
.pre-commit-config.yaml
.readthedocs.yml
CHANGELOG.rst
README.md
codecov.yml
docs/api.rst
docs/differences.rst
docs/index.rst
docs/installation.rst
docs/mission.rst
docs/test_suite.rst
pyproject.toml
setup.cfg
setup.py
src/build/__init__.py
src/build/__main__.py
src/build/env.py
src/build/py.typed
src/build/util.py
tests/conftest.py
tests/constraints.txt
tests/packages/inline/pyproject.toml
tests/packages/legacy/legacy/__init__.py
tests/packages/legacy/setup.py
tests/packages/test-bad-backend/pyproject.toml
tests/packages/test-bad-syntax/pyproject.toml
tests/packages/test-bad-wheel/backend_bad_wheel.py
tests/packages/test-bad-wheel/pyproject.toml
tests/packages/test-bad-wheel/setup.cfg
tests/packages/test-cant-build-via-sdist/backend_bad_sdist.py
tests/packages/test-cant-build-via-sdist/pyproject.toml
tests/packages/test-cant-build-via-sdist/some-file-that-is-needed-for-build.txt
tests/packages/test-flit/pyproject.toml
tests/packages/test-flit/test_flit/__init__.py
tests/packages/test-invalid-requirements/pyproject.toml
tests/packages/test-invalid-requirements/setup.cfg
tests/packages/test-metadata/backend.py
tests/packages/test-metadata/pyproject.toml
tests/packages/test-no-backend/pyproject.toml
tests/packages/test-no-permission/pyproject.toml
tests/packages/test-no-prepare/backend_no_prepare.py
tests/packages/test-no-prepare/pyproject.toml
tests/packages/test-no-prepare/setup.cfg
tests/packages/test-no-project/empty.txt
tests/packages/test-no-requires/pyproject.toml
tests/packages/test-optional-hooks/hookless_backend.py
tests/packages/test-optional-hooks/pyproject.toml
tests/packages/test-setuptools/pyproject.toml
tests/packages/test-setuptools/setup.cfg
tests/packages/test-typo/pyproject.toml
tests/test_env.py
tests/test_integration.py
tests/test_main.py
tests/test_module.py
tests/test_projectbuilder.py
tests/test_self_packaging.py
tests/test_util.py
tox.ini
Copyright: __NO_COPYRIGHT_NOR_LICENSE__
License: __NO_COPYRIGHT_NOR_LICENSE__
Files: tests/packages/inline/build.py
Copyright: __NO_COPYRIGHT__ in: tests/packages/inline/build.py
License: __UNKNOWN__
Desc
.
Wheel-Version: 1.0
Generator: {name}-{version}
Root-Is-Purelib: true
Tag: py3-none-any
Files: docs/conf.py
Copyright: __NO_COPYRIGHT__ in: docs/conf.py
License: __UNKNOWN__
# The short X.Y version
#----------------------------------------------------------------------------
# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following
# license/copyright files.
#----------------------------------------------------------------------------
# License file: LICENSE
Copyright © 2019 Filipe Laíns <filipe.lains@gmail.com>
.
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.

1
debian/patches/series vendored Normal file
View File

@ -0,0 +1 @@
# You must remove unused comment lines for the released package.

20
debian/rules vendored Executable file
View File

@ -0,0 +1,20 @@
#!/usr/bin/make -f
export PYBUILD_NAME=build
export SETUPTOOLS_USE_DISTUTILS=stdlib
%:
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:

1
debian/source/format vendored Normal file
View File

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

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