From e3835f9001f6e1e59278134c8347b1fce62f37b1 Mon Sep 17 00:00:00 2001 From: sufang Date: Tue, 7 Feb 2023 11:17:08 +0800 Subject: [PATCH] Import Debian changes 7.2.1-ok1 pytest (7.2.1-ok1) yangtze; urgency=medium * Build for openkylin. --- debian/README.Debian | 9 + debian/changelog | 5 + debian/clean | 2 + debian/control | 71 ++++ debian/copyright | 632 ++++++++++++++++++++++++++++++ debian/patches/series | 1 + debian/python-pytest-doc.doc-base | 12 + debian/python-pytest-doc.docs | 1 + debian/python-pytest-doc.links | 3 + debian/python3-pytest.docs | 1 + debian/python3-pytest.links | 5 + debian/python3-pytest.manpages | 1 + debian/rules | 28 ++ debian/source/format | 1 + debian/upstream/metadata | 5 + debian/watch | 3 + 16 files changed, 780 insertions(+) create mode 100644 debian/README.Debian create mode 100644 debian/changelog create mode 100644 debian/clean create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/patches/series create mode 100644 debian/python-pytest-doc.doc-base create mode 100644 debian/python-pytest-doc.docs create mode 100644 debian/python-pytest-doc.links create mode 100644 debian/python3-pytest.docs create mode 100644 debian/python3-pytest.links create mode 100644 debian/python3-pytest.manpages create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/upstream/metadata create mode 100644 debian/watch diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..0e079fd --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,9 @@ +Running test suites with pytest during package build +---------------------------------------------------- + +Since version 3.0.0 of pytest dropped the versioned entry points py.test-X.Y, +the recommended way to execute test suites using pytest is by running + + pythonX.Y -m pytest ... + +instead. diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..28217b4 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +pytest (7.2.1-ok1) yangtze; urgency=medium + + * Build for openkylin. + + -- sufang Tue, 07 Feb 2023 11:17:08 +0800 diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..40a9c93 --- /dev/null +++ b/debian/clean @@ -0,0 +1,2 @@ +debian/*.1 +doc/en/_build/ diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..beeca41 --- /dev/null +++ b/debian/control @@ -0,0 +1,71 @@ +Source: pytest +Section: python +Priority: optional +Maintainer: OpenKylin Developers +Build-Depends: debhelper-compat (= 13), + dh-sequence-python3, + dh-sequence-sphinxdoc , + lsof , + pybuild-plugin-pyproject, + python3-all, + python3-argcomplete , + python3-atomicwrites, + python3-attr, + python3-doc, + python3-hypothesis , + python3-iniconfig, + python3-more-itertools, + python3-packaging, + python3-pallets-sphinx-themes, + python3-pluggy (>= 0.12), + python3-py, + python3-pygments , + python3-requests , + python3-setuptools, + python3-setuptools-scm, + python3-sphinx, + python3-twisted , + python3-wcwidth, + python3-xmlschema , +Standards-Version: 4.6.2 +Homepage: https://pytest.org/ +Vcs-Git: https://gitee.com/openkylin/pytest.git +Vcs-Browser: https://gitee.com/openkylin/pytest +Testsuite: autopkgtest-pkg-pybuild +Rules-Requires-Root: no + +Package: python-pytest-doc +Section: doc +Architecture: all +Depends: ${misc:Depends}, + ${sphinxdoc:Depends}, +Recommends: python3-pytest, +Multi-Arch: foreign +Description: Simple, powerful testing in Python - Documentation + This testing tool has for objective to allow the developers to limit the + boilerplate code around the tests, promoting the use of built-in + mechanisms such as the `assert` keyword. + . + This package contains the documentation for pytest. + +Package: python3-pytest +Architecture: all +Depends: python3-attr, + python3-more-itertools, + python3-pkg-resources, + python3-pluggy (>= 0.12), + python3-py, + ${misc:Depends}, + ${python3:Depends}, +Recommends: python3-pygments, +Breaks: python3-flaky (<< 3.6.1-1~), + python3-pytest-cov (<< 2.7.1-1~), + python3-pytest-mock (<< 1.10.4-1~), + python3-pytest-xdist (<< 2.2.0-1~), + python3-pytest-xvfb (<< 1.2.0-1~), +Description: Simple, powerful testing in Python3 + This testing tool has for objective to allow the developers to limit the + boilerplate code around the tests, promoting the use of built-in + mechanisms such as the `assert` keyword. + . + This package provides the Python 3 module and the py.test-3 script. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..fa1b960 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,632 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: pytest +Source: +# +# Please double check copyright with the licensecheck(1) command. + +Files: .coveragerc + .gitattributes + .gitblameignore + .github/FUNDING.yml + .github/ISSUE_TEMPLATE/1_bug_report.md + .github/ISSUE_TEMPLATE/2_feature_request.md + .github/ISSUE_TEMPLATE/config.yml + .github/config.yml + .github/dependabot.yml + .github/labels.toml + .github/workflows/backport.yml + .github/workflows/deploy.yml + .github/workflows/prepare-release-pr.yml + .github/workflows/test.yml + .github/workflows/update-plugin-list.yml + .gitignore + .pre-commit-config.yaml + .readthedocs.yml + AUTHORS + CHANGELOG.rst + CITATION + CODE_OF_CONDUCT.md + CONTRIBUTING.rst + OPENCOLLECTIVE.rst + PKG-INFO + RELEASING.rst + TIDELIFT.rst + bench/bench.py + bench/bench_argcomplete.py + bench/empty.py + bench/manyparam.py + bench/skip.py + bench/unit_test.py + bench/xunit.py + changelog/README.rst + changelog/_template.rst + codecov.yml + doc/en/Makefile + doc/en/_templates/layout.html + doc/en/_templates/slim_searchbox.html + doc/en/adopt.rst + doc/en/announce/index.rst + doc/en/announce/release-2.0.0.rst + doc/en/announce/release-2.0.1.rst + doc/en/announce/release-2.0.2.rst + doc/en/announce/release-2.0.3.rst + doc/en/announce/release-2.1.0.rst + doc/en/announce/release-2.1.1.rst + doc/en/announce/release-2.1.2.rst + doc/en/announce/release-2.1.3.rst + doc/en/announce/release-2.2.0.rst + doc/en/announce/release-2.2.1.rst + doc/en/announce/release-2.2.2.rst + doc/en/announce/release-2.2.4.rst + doc/en/announce/release-2.3.0.rst + doc/en/announce/release-2.3.1.rst + doc/en/announce/release-2.3.2.rst + doc/en/announce/release-2.3.3.rst + doc/en/announce/release-2.3.4.rst + doc/en/announce/release-2.3.5.rst + doc/en/announce/release-2.4.0.rst + doc/en/announce/release-2.4.1.rst + doc/en/announce/release-2.4.2.rst + doc/en/announce/release-2.5.0.rst + doc/en/announce/release-2.5.1.rst + doc/en/announce/release-2.5.2.rst + doc/en/announce/release-2.6.0.rst + doc/en/announce/release-2.6.1.rst + doc/en/announce/release-2.6.2.rst + doc/en/announce/release-2.6.3.rst + doc/en/announce/release-2.7.0.rst + doc/en/announce/release-2.7.1.rst + doc/en/announce/release-2.7.2.rst + doc/en/announce/release-2.8.2.rst + doc/en/announce/release-2.8.3.rst + doc/en/announce/release-2.8.4.rst + doc/en/announce/release-2.8.5.rst + doc/en/announce/release-2.8.6.rst + doc/en/announce/release-2.8.7.rst + doc/en/announce/release-2.9.0.rst + doc/en/announce/release-2.9.1.rst + doc/en/announce/release-2.9.2.rst + doc/en/announce/release-3.0.0.rst + doc/en/announce/release-3.0.1.rst + doc/en/announce/release-3.0.2.rst + doc/en/announce/release-3.0.3.rst + doc/en/announce/release-3.0.4.rst + doc/en/announce/release-3.0.5.rst + doc/en/announce/release-3.0.6.rst + doc/en/announce/release-3.0.7.rst + doc/en/announce/release-3.1.0.rst + doc/en/announce/release-3.1.1.rst + doc/en/announce/release-3.1.2.rst + doc/en/announce/release-3.1.3.rst + doc/en/announce/release-3.10.0.rst + doc/en/announce/release-3.10.1.rst + doc/en/announce/release-3.2.0.rst + doc/en/announce/release-3.2.1.rst + doc/en/announce/release-3.2.2.rst + doc/en/announce/release-3.2.3.rst + doc/en/announce/release-3.2.4.rst + doc/en/announce/release-3.2.5.rst + doc/en/announce/release-3.3.0.rst + doc/en/announce/release-3.3.1.rst + doc/en/announce/release-3.3.2.rst + doc/en/announce/release-3.4.0.rst + doc/en/announce/release-3.4.1.rst + doc/en/announce/release-3.4.2.rst + doc/en/announce/release-3.5.0.rst + doc/en/announce/release-3.5.1.rst + doc/en/announce/release-3.6.0.rst + doc/en/announce/release-3.6.1.rst + doc/en/announce/release-3.6.2.rst + doc/en/announce/release-3.6.3.rst + doc/en/announce/release-3.6.4.rst + doc/en/announce/release-3.7.0.rst + doc/en/announce/release-3.7.1.rst + doc/en/announce/release-3.7.2.rst + doc/en/announce/release-3.7.3.rst + doc/en/announce/release-3.7.4.rst + doc/en/announce/release-3.8.0.rst + doc/en/announce/release-3.8.1.rst + doc/en/announce/release-3.8.2.rst + doc/en/announce/release-3.9.0.rst + doc/en/announce/release-3.9.1.rst + doc/en/announce/release-3.9.2.rst + doc/en/announce/release-3.9.3.rst + doc/en/announce/release-4.0.0.rst + doc/en/announce/release-4.0.1.rst + doc/en/announce/release-4.0.2.rst + doc/en/announce/release-4.1.0.rst + doc/en/announce/release-4.1.1.rst + doc/en/announce/release-4.2.0.rst + doc/en/announce/release-4.2.1.rst + doc/en/announce/release-4.3.0.rst + doc/en/announce/release-4.3.1.rst + doc/en/announce/release-4.4.0.rst + doc/en/announce/release-4.4.1.rst + doc/en/announce/release-4.4.2.rst + doc/en/announce/release-4.5.0.rst + doc/en/announce/release-4.6.0.rst + doc/en/announce/release-4.6.1.rst + doc/en/announce/release-4.6.2.rst + doc/en/announce/release-4.6.3.rst + doc/en/announce/release-4.6.4.rst + doc/en/announce/release-4.6.5.rst + doc/en/announce/release-4.6.6.rst + doc/en/announce/release-4.6.7.rst + doc/en/announce/release-4.6.8.rst + doc/en/announce/release-4.6.9.rst + doc/en/announce/release-5.0.0.rst + doc/en/announce/release-5.0.1.rst + doc/en/announce/release-5.1.0.rst + doc/en/announce/release-5.1.1.rst + doc/en/announce/release-5.1.2.rst + doc/en/announce/release-5.1.3.rst + doc/en/announce/release-5.2.0.rst + doc/en/announce/release-5.2.1.rst + doc/en/announce/release-5.2.2.rst + doc/en/announce/release-5.2.3.rst + doc/en/announce/release-5.2.4.rst + doc/en/announce/release-5.3.0.rst + doc/en/announce/release-5.3.1.rst + doc/en/announce/release-5.3.2.rst + doc/en/announce/release-5.3.3.rst + doc/en/announce/release-5.3.4.rst + doc/en/announce/release-5.3.5.rst + doc/en/announce/release-5.4.0.rst + doc/en/announce/release-5.4.1.rst + doc/en/announce/release-5.4.2.rst + doc/en/announce/release-5.4.3.rst + doc/en/announce/release-6.0.0.rst + doc/en/announce/release-6.0.0rc1.rst + doc/en/announce/release-6.0.1.rst + doc/en/announce/release-6.0.2.rst + doc/en/announce/release-6.1.0.rst + doc/en/announce/release-6.1.1.rst + doc/en/announce/release-6.1.2.rst + doc/en/announce/release-6.2.0.rst + doc/en/announce/release-6.2.1.rst + doc/en/announce/release-6.2.2.rst + doc/en/announce/release-6.2.3.rst + doc/en/announce/release-6.2.4.rst + doc/en/announce/release-6.2.5.rst + doc/en/announce/release-7.0.0.rst + doc/en/announce/release-7.0.0rc1.rst + doc/en/announce/release-7.0.1.rst + doc/en/announce/release-7.1.0.rst + doc/en/announce/release-7.1.1.rst + doc/en/announce/release-7.1.2.rst + doc/en/announce/release-7.1.3.rst + doc/en/announce/release-7.2.0.rst + doc/en/announce/release-7.2.1.rst + doc/en/announce/sprint2016.rst + doc/en/backwards-compatibility.rst + doc/en/builtin.rst + doc/en/changelog.rst + doc/en/conf.py + doc/en/conftest.py + doc/en/contact.rst + doc/en/contents.rst + doc/en/contributing.rst + doc/en/deprecations.rst + doc/en/development_guide.rst + doc/en/example/assertion/failure_demo.py + doc/en/example/assertion/global_testmodule_config/conftest.py + doc/en/example/assertion/global_testmodule_config/test_hello_world.py + doc/en/example/assertion/test_failures.py + doc/en/example/assertion/test_setup_flow_example.py + doc/en/example/attic.rst + doc/en/example/conftest.py + doc/en/example/fixtures/test_fixtures_order_autouse.py + doc/en/example/fixtures/test_fixtures_order_autouse_multiple_scopes.py + doc/en/example/fixtures/test_fixtures_order_autouse_temp_effects.py + doc/en/example/fixtures/test_fixtures_order_dependencies.py + doc/en/example/fixtures/test_fixtures_order_scope.py + doc/en/example/fixtures/test_fixtures_request_different_scope.py + doc/en/example/index.rst + doc/en/example/markers.rst + doc/en/example/multipython.py + doc/en/example/nonpython.rst + doc/en/example/nonpython/__init__.py + doc/en/example/nonpython/conftest.py + doc/en/example/nonpython/test_simple.yaml + doc/en/example/parametrize.rst + doc/en/example/pythoncollection.py + doc/en/example/pythoncollection.rst + doc/en/example/reportingdemo.rst + doc/en/example/simple.rst + doc/en/example/special.rst + doc/en/example/xfail_demo.py + doc/en/explanation/anatomy.rst + doc/en/explanation/fixtures.rst + doc/en/explanation/flaky.rst + doc/en/explanation/goodpractices.rst + doc/en/explanation/index.rst + doc/en/explanation/pythonpath.rst + doc/en/funcarg_compare.rst + doc/en/funcargs.rst + doc/en/getting-started.rst + doc/en/historical-notes.rst + doc/en/history.rst + doc/en/how-to/assert.rst + doc/en/how-to/bash-completion.rst + doc/en/how-to/cache.rst + doc/en/how-to/capture-stdout-stderr.rst + doc/en/how-to/capture-warnings.rst + doc/en/how-to/doctest.rst + doc/en/how-to/existingtestsuite.rst + doc/en/how-to/failures.rst + doc/en/how-to/fixtures.rst + doc/en/how-to/index.rst + doc/en/how-to/logging.rst + doc/en/how-to/mark.rst + doc/en/how-to/monkeypatch.rst + doc/en/how-to/nose.rst + doc/en/how-to/output.rst + doc/en/how-to/parametrize.rst + doc/en/how-to/plugins.rst + doc/en/how-to/skipping.rst + doc/en/how-to/tmp_path.rst + doc/en/how-to/unittest.rst + doc/en/how-to/usage.rst + doc/en/how-to/writing_hook_functions.rst + doc/en/how-to/writing_plugins.rst + doc/en/how-to/xunit_setup.rst + doc/en/img/cramer2.png + doc/en/img/favicon.png + doc/en/img/freiburg2.jpg + doc/en/img/gaynor3.png + doc/en/img/keleshev.png + doc/en/img/pullrequest.png + doc/en/img/pylib.png + doc/en/img/pytest1.png + doc/en/img/theuni.png + doc/en/index.rst + doc/en/naming20.rst + doc/en/proposals/parametrize_with_fixtures.rst + doc/en/pytest.ini + doc/en/recwarn.rst + doc/en/reference/customize.rst + doc/en/reference/exit-codes.rst + doc/en/reference/fixtures.rst + doc/en/reference/index.rst + doc/en/reference/plugin_list.rst + doc/en/reference/reference.rst + doc/en/requirements.txt + doc/en/sponsor.rst + doc/en/talks.rst + doc/en/tidelift.rst + doc/en/yieldfixture.rst + extra/get_issues.py + pyproject.toml + scripts/prepare-release-pr.py + scripts/publish-gh-release-notes.py + scripts/release.major.rst + scripts/release.minor.rst + scripts/release.patch.rst + scripts/release.pre.rst + scripts/release.py + scripts/towncrier-draft-to-file.py + scripts/update-plugin-list.py + setup.cfg + setup.py + src/_pytest/__init__.py + src/_pytest/_argcomplete.py + src/_pytest/_code/__init__.py + src/_pytest/_code/code.py + src/_pytest/_code/source.py + src/_pytest/_io/__init__.py + src/_pytest/_io/saferepr.py + src/_pytest/_io/terminalwriter.py + src/_pytest/_io/wcwidth.py + src/_pytest/_py/__init__.py + src/_pytest/_py/error.py + src/_pytest/_py/path.py + src/_pytest/_version.py + src/_pytest/assertion/__init__.py + src/_pytest/assertion/rewrite.py + src/_pytest/assertion/truncate.py + src/_pytest/assertion/util.py + src/_pytest/cacheprovider.py + src/_pytest/capture.py + src/_pytest/compat.py + src/_pytest/config/__init__.py + src/_pytest/config/argparsing.py + src/_pytest/config/compat.py + src/_pytest/config/exceptions.py + src/_pytest/config/findpaths.py + src/_pytest/debugging.py + src/_pytest/deprecated.py + src/_pytest/doctest.py + src/_pytest/faulthandler.py + src/_pytest/fixtures.py + src/_pytest/freeze_support.py + src/_pytest/helpconfig.py + src/_pytest/hookspec.py + src/_pytest/junitxml.py + src/_pytest/legacypath.py + src/_pytest/logging.py + src/_pytest/main.py + src/_pytest/mark/__init__.py + src/_pytest/mark/expression.py + src/_pytest/mark/structures.py + src/_pytest/monkeypatch.py + src/_pytest/nodes.py + src/_pytest/nose.py + src/_pytest/outcomes.py + src/_pytest/pastebin.py + src/_pytest/pathlib.py + src/_pytest/py.typed + src/_pytest/pytester.py + src/_pytest/pytester_assertions.py + src/_pytest/python.py + src/_pytest/python_api.py + src/_pytest/python_path.py + src/_pytest/recwarn.py + src/_pytest/reports.py + src/_pytest/runner.py + src/_pytest/scope.py + src/_pytest/setuponly.py + src/_pytest/setupplan.py + src/_pytest/skipping.py + src/_pytest/stash.py + src/_pytest/stepwise.py + src/_pytest/terminal.py + src/_pytest/threadexception.py + src/_pytest/timing.py + src/_pytest/tmpdir.py + src/_pytest/unittest.py + src/_pytest/unraisableexception.py + src/_pytest/warning_types.py + src/_pytest/warnings.py + src/py.py + src/pytest.egg-info/PKG-INFO + src/pytest.egg-info/SOURCES.txt + src/pytest.egg-info/dependency_links.txt + src/pytest.egg-info/entry_points.txt + src/pytest.egg-info/not-zip-safe + src/pytest.egg-info/requires.txt + src/pytest.egg-info/top_level.txt + src/pytest/__init__.py + src/pytest/__main__.py + src/pytest/py.typed + testing/_py/test_local.py + testing/acceptance_test.py + testing/code/test_code.py + testing/code/test_excinfo.py + testing/code/test_source.py + testing/conftest.py + testing/deprecated_test.py + testing/example_scripts/README.rst + testing/example_scripts/__init__.py + testing/example_scripts/acceptance/fixture_mock_integration.py + testing/example_scripts/collect/collect_init_tests/pytest.ini + testing/example_scripts/collect/collect_init_tests/tests/__init__.py + testing/example_scripts/collect/collect_init_tests/tests/test_foo.py + testing/example_scripts/collect/package_infinite_recursion/__init__.pyi + testing/example_scripts/collect/package_infinite_recursion/conftest.py + testing/example_scripts/collect/package_infinite_recursion/tests/__init__.py + testing/example_scripts/collect/package_infinite_recursion/tests/test_basic.py + testing/example_scripts/collect/package_init_given_as_arg/pkg/__init__.py + testing/example_scripts/collect/package_init_given_as_arg/pkg/test_foo.py + testing/example_scripts/config/collect_pytest_prefix/__init__.pyi + testing/example_scripts/config/collect_pytest_prefix/conftest.py + testing/example_scripts/config/collect_pytest_prefix/test_foo.py + testing/example_scripts/conftest_usageerror/__init__.pyi + testing/example_scripts/conftest_usageerror/conftest.py + testing/example_scripts/dataclasses/test_compare_dataclasses.py + testing/example_scripts/dataclasses/test_compare_dataclasses_field_comparison_off.py + testing/example_scripts/dataclasses/test_compare_dataclasses_verbose.py + testing/example_scripts/dataclasses/test_compare_dataclasses_with_custom_eq.py + testing/example_scripts/dataclasses/test_compare_initvar.py + testing/example_scripts/dataclasses/test_compare_recursive_dataclasses.py + testing/example_scripts/dataclasses/test_compare_two_different_dataclasses.py + testing/example_scripts/doctest/main_py/__main__.py + testing/example_scripts/doctest/main_py/test_normal_module.py + testing/example_scripts/fixtures/custom_item/__init__.pyi + testing/example_scripts/fixtures/custom_item/conftest.py + testing/example_scripts/fixtures/custom_item/foo/__init__.py + testing/example_scripts/fixtures/custom_item/foo/test_foo.py + testing/example_scripts/fixtures/fill_fixtures/test_conftest_funcargs_only_available_in_subdir/sub1/__init__.py + testing/example_scripts/fixtures/fill_fixtures/test_conftest_funcargs_only_available_in_subdir/sub1/conftest.py + testing/example_scripts/fixtures/fill_fixtures/test_conftest_funcargs_only_available_in_subdir/sub1/test_in_sub1.py + testing/example_scripts/fixtures/fill_fixtures/test_conftest_funcargs_only_available_in_subdir/sub2/__init__.py + testing/example_scripts/fixtures/fill_fixtures/test_conftest_funcargs_only_available_in_subdir/sub2/conftest.py + testing/example_scripts/fixtures/fill_fixtures/test_conftest_funcargs_only_available_in_subdir/sub2/test_in_sub2.py + testing/example_scripts/fixtures/fill_fixtures/test_detect_recursive_dependency_error.py + testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_conftest/__init__.pyi + testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_conftest/conftest.py + testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_conftest/pkg/__init__.py + testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_conftest/pkg/conftest.py + testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_conftest/pkg/test_spam.py + testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_module/__init__.pyi + testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_module/conftest.py + testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_module/test_extend_fixture_conftest_module.py + testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_module_class.py + testing/example_scripts/fixtures/fill_fixtures/test_funcarg_basic.py + testing/example_scripts/fixtures/fill_fixtures/test_funcarg_lookup_classlevel.py + testing/example_scripts/fixtures/fill_fixtures/test_funcarg_lookup_modulelevel.py + testing/example_scripts/fixtures/fill_fixtures/test_funcarg_lookupfails.py + testing/example_scripts/fixtures/test_fixture_named_request.py + testing/example_scripts/fixtures/test_getfixturevalue_dynamic.py + testing/example_scripts/issue88_initial_file_multinodes/__init__.pyi + testing/example_scripts/issue88_initial_file_multinodes/conftest.py + testing/example_scripts/issue88_initial_file_multinodes/test_hello.py + testing/example_scripts/issue_519.py + testing/example_scripts/marks/marks_considered_keywords/__init__.pyi + testing/example_scripts/marks/marks_considered_keywords/conftest.py + testing/example_scripts/marks/marks_considered_keywords/test_marks_as_keywords.py + testing/example_scripts/perf_examples/collect_stats/.gitignore + testing/example_scripts/perf_examples/collect_stats/generate_folders.py + testing/example_scripts/perf_examples/collect_stats/template_test.py + testing/example_scripts/pytest.ini + testing/example_scripts/tmpdir/tmp_path_fixture.py + testing/example_scripts/unittest/test_parametrized_fixture_error_message.py + testing/example_scripts/unittest/test_setup_skip.py + testing/example_scripts/unittest/test_setup_skip_class.py + testing/example_scripts/unittest/test_setup_skip_module.py + testing/example_scripts/unittest/test_unittest_asyncio.py + testing/example_scripts/unittest/test_unittest_asynctest.py + testing/example_scripts/unittest/test_unittest_plain_async.py + testing/example_scripts/warnings/test_group_warnings_by_message.py + testing/example_scripts/warnings/test_group_warnings_by_message_summary/test_1.py + testing/example_scripts/warnings/test_group_warnings_by_message_summary/test_2.py + testing/examples/test_issue519.py + testing/freeze/.gitignore + testing/freeze/create_executable.py + testing/freeze/runtests_script.py + testing/freeze/tests/test_doctest.txt + testing/freeze/tests/test_trivial.py + testing/freeze/tox_run.py + testing/io/test_saferepr.py + testing/io/test_terminalwriter.py + testing/io/test_wcwidth.py + testing/logging/test_fixture.py + testing/logging/test_formatter.py + testing/logging/test_reporting.py + testing/plugins_integration/.gitignore + testing/plugins_integration/README.rst + testing/plugins_integration/bdd_wallet.feature + testing/plugins_integration/bdd_wallet.py + testing/plugins_integration/django_settings.py + testing/plugins_integration/pytest.ini + testing/plugins_integration/pytest_anyio_integration.py + testing/plugins_integration/pytest_asyncio_integration.py + testing/plugins_integration/pytest_mock_integration.py + testing/plugins_integration/pytest_trio_integration.py + testing/plugins_integration/pytest_twisted_integration.py + testing/plugins_integration/requirements.txt + testing/plugins_integration/simple_integration.py + testing/python/approx.py + testing/python/collect.py + testing/python/fixtures.py + testing/python/integration.py + testing/python/metafunc.py + testing/python/raises.py + testing/python/show_fixtures_per_test.py + testing/test_argcomplete.py + testing/test_assertion.py + testing/test_assertrewrite.py + testing/test_cacheprovider.py + testing/test_capture.py + testing/test_collection.py + testing/test_compat.py + testing/test_config.py + testing/test_conftest.py + testing/test_debugging.py + testing/test_doctest.py + testing/test_entry_points.py + testing/test_error_diffs.py + testing/test_faulthandler.py + testing/test_findpaths.py + testing/test_helpconfig.py + testing/test_junitxml.py + testing/test_legacypath.py + testing/test_link_resolve.py + testing/test_main.py + testing/test_mark.py + testing/test_mark_expression.py + testing/test_meta.py + testing/test_monkeypatch.py + testing/test_nodes.py + testing/test_nose.py + testing/test_parseopt.py + testing/test_pastebin.py + testing/test_pathlib.py + testing/test_pluginmanager.py + testing/test_pytester.py + testing/test_python_path.py + testing/test_recwarn.py + testing/test_reports.py + testing/test_runner.py + testing/test_runner_xunit.py + testing/test_scope.py + testing/test_session.py + testing/test_setuponly.py + testing/test_setupplan.py + testing/test_skipping.py + testing/test_stash.py + testing/test_stepwise.py + testing/test_terminal.py + testing/test_threadexception.py + testing/test_tmpdir.py + testing/test_unittest.py + testing/test_unraisableexception.py + testing/test_warning_types.py + testing/test_warnings.py + testing/typing_checks.py + tox.ini +Copyright: __NO_COPYRIGHT_NOR_LICENSE__ +License: __NO_COPYRIGHT_NOR_LICENSE__ + +Files: doc/en/license.rst +Copyright: 2004 Holger Krekel and others +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. + +Files: README.rst +Copyright: 2004 Holger Krekel and others, +License: __NO_LICENSE__ + +#---------------------------------------------------------------------------- +# xml and html files (skipped): +# .github/PULL_REQUEST_TEMPLATE.md +# doc/en/_templates/relations.html +# doc/en/_templates/globaltoc.html +# doc/en/_templates/links.html +# doc/en/_templates/sidebarintro.html +# doc/en/img/pytest_logo_curves.svg +# doc/en/example/fixtures/test_fixtures_order_autouse_flat.svg +# doc/en/example/fixtures/test_fixtures_request_different_scope.svg +# doc/en/example/fixtures/test_fixtures_order_autouse_multiple_scopes.svg +# doc/en/example/fixtures/test_fixtures_order_scope.svg +# doc/en/example/fixtures/test_fixtures_order_dependencies.svg +# doc/en/example/fixtures/fixture_availability_plugins.svg +# doc/en/example/fixtures/test_fixtures_order_autouse_temp_effects.svg +# doc/en/example/fixtures/test_fixtures_order_dependencies_unclear.svg +# doc/en/example/fixtures/fixture_availability.svg +# doc/en/example/fixtures/test_fixtures_order_dependencies_flat.svg +# doc/en/example/fixtures/test_fixtures_order_autouse.svg +# testing/example_scripts/junit-10.xsd + +#---------------------------------------------------------------------------- +# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following +# license/copyright files. + +#---------------------------------------------------------------------------- +# License file: LICENSE + The MIT License (MIT) + . + Copyright (c) 2004 Holger Krekel and others + . + 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/patches/series b/debian/patches/series new file mode 100644 index 0000000..4a97dfa --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +# You must remove unused comment lines for the released package. diff --git a/debian/python-pytest-doc.doc-base b/debian/python-pytest-doc.doc-base new file mode 100644 index 0000000..3ff769a --- /dev/null +++ b/debian/python-pytest-doc.doc-base @@ -0,0 +1,12 @@ +Document: pytest +Title: Pytest Documentation +Author: Holger Kregel +Abstract: Documentation for the pytest testing tool. +Section: Programming/Python + +Format: HTML +Index: /usr/share/doc/python-pytest-doc/html/index.html +Files: /usr/share/doc/python-pytest-doc/html/* + +Format: Text +Files: /usr/share/doc/python-pytest-doc/rst/* diff --git a/debian/python-pytest-doc.docs b/debian/python-pytest-doc.docs new file mode 100644 index 0000000..ddfe66c --- /dev/null +++ b/debian/python-pytest-doc.docs @@ -0,0 +1 @@ +doc/en/_build/html/ diff --git a/debian/python-pytest-doc.links b/debian/python-pytest-doc.links new file mode 100644 index 0000000..d327ef4 --- /dev/null +++ b/debian/python-pytest-doc.links @@ -0,0 +1,3 @@ +usr/share/doc/python-pytest-doc/html/_sources usr/share/doc/python-pytest-doc/rst +usr/share/doc/python-pytest-doc/html/_sources usr/share/doc/python3-pytest/rst +usr/share/doc/python-pytest-doc/html usr/share/doc/python3-pytest/html diff --git a/debian/python3-pytest.docs b/debian/python3-pytest.docs new file mode 100644 index 0000000..a1320b1 --- /dev/null +++ b/debian/python3-pytest.docs @@ -0,0 +1 @@ +README.rst diff --git a/debian/python3-pytest.links b/debian/python3-pytest.links new file mode 100644 index 0000000..a7cdbe9 --- /dev/null +++ b/debian/python3-pytest.links @@ -0,0 +1,5 @@ +usr/bin/py.test usr/bin/py.test-3 +usr/bin/pytest usr/bin/pytest-3 +usr/share/man/man1/pytest.1 usr/share/man/man1/py.test.1 +usr/share/man/man1/pytest.1 usr/share/man/man1/py.test-3.1 +usr/share/man/man1/pytest.1 usr/share/man/man1/pytest-3.1 diff --git a/debian/python3-pytest.manpages b/debian/python3-pytest.manpages new file mode 100644 index 0000000..856270c --- /dev/null +++ b/debian/python3-pytest.manpages @@ -0,0 +1 @@ +doc/en/_build/man/pytest.1 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..3b808ef --- /dev/null +++ b/debian/rules @@ -0,0 +1,28 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +export PYBUILD_NAME=pytest +export SETUPTOOLS_USE_DISTUTILS=stdlib + +# 2015-12-16 barry@debian.org: Because pytest does not clean up after itself, +# use a custom temporary directory (which is easier to clean up manually, +# e.g. in an sbuild). +export PYBUILD_BEFORE_TEST=mkdir -p {dir}/debian/tmp/test-working-directory +export PYBUILD_AFTER_TEST=rm -rf {dir}/debian/tmp/test-working-directory +# 2022-12-11 roehling@debian.org: As of this writing, autopkgtest-pkg-pybuild +# cannot handle custom tests, so we improvise: +export PYBUILD_TEST_ARGS=BREAK_COMMAND_ON_PURPOSE >/dev/null 2>&1; \ + cd {dir}/debian/tmp/test-working-directory && \ + {interpreter} -m pytest --lsof -rfsxX \ + --ignore={dir}/testing/test_entry_points.py \ + --ignore={dir}/testing/test_terminal.py \ + -k 'not test_code_highlight' \ + {dir}/testing + +%: + dh $@ --buildsystem=pybuild + +execute_after_dh_auto_build: + PYTHONPATH=$(CURDIR)/src \ + SPHINXBUILD=/usr/share/sphinx/scripts/python3/sphinx-build \ + $(MAKE) -C doc/en man html 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/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..f004ddc --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,5 @@ +Bug-Database: https://github.com/pytest-dev/pytest/issues +Bug-Submit: https://github.com/pytest-dev/pytest/issues/new +Changelog: https://docs.pytest.org/en/latest/changelog.html +Repository: https://github.com/pytest-dev/pytest.git +Repository-Browse: https://github.com/pytest-dev/pytest diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..8999297 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=uversionmangle=s/(rc|a|b|c)/~$1/ \ +https://pypi.debian.net/pytest/pytest-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))