Import Debian changes 2.4.1-ok1
pytest-regressions (2.4.1-ok1) yangtze; urgency=medium * Build for openkylin.
This commit is contained in:
parent
d4b4b8a40c
commit
134df430ea
|
@ -0,0 +1,5 @@
|
|||
pytest-regressions (2.4.1-ok1) yangtze; urgency=medium
|
||||
|
||||
* Build for openkylin.
|
||||
|
||||
-- sufang <sufang@kylinos.cn> Mon, 06 Feb 2023 10:02:04 +0800
|
|
@ -0,0 +1,37 @@
|
|||
Source: pytest-regressions
|
||||
Section: python
|
||||
Priority: optional
|
||||
Maintainer: OpenKylin Developers <packaging@lists.openkylin.top>
|
||||
Build-Depends: debhelper-compat (= 13),
|
||||
dh-python,
|
||||
python3-all,
|
||||
python3-pytest,
|
||||
python3-pytest-datadir,
|
||||
python3-setuptools,
|
||||
python3-setuptools-scm,
|
||||
python3-sphinx,
|
||||
python3-sphinx-rtd-theme,
|
||||
python3-yaml,
|
||||
python3-pip,
|
||||
python3-tomli,
|
||||
tox
|
||||
Standards-Version: 4.6.1
|
||||
Rules-Requires-Root: no
|
||||
Homepage: https://github.com/ESSS/pytest-regressions
|
||||
Vcs-Git: https://gitee.com/openkylin/pytest-regressions.git
|
||||
Vcs-Browser: https://gitee.com/openkylin/pytest-regressions
|
||||
|
||||
Package: python3-pytest-regressions
|
||||
Architecture: all
|
||||
Depends: libjs-sphinxdoc,
|
||||
node-html5shiv,
|
||||
python3-pytest,
|
||||
${misc:Depends},
|
||||
${python3:Depends},
|
||||
${sphinxdoc:Depends}
|
||||
Description: py.test fixtures to write regression tests
|
||||
This plugin makes it simple to test general data, images, files, and numeric
|
||||
tables by saving expected data in a data directory (using pytest-datadir) that
|
||||
can be used to verify that future runs produce the same data.
|
||||
.
|
||||
This package provides the py.test plugin for Python 3 code.
|
|
@ -0,0 +1,127 @@
|
|||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: pytest-regressions
|
||||
Source: <url://example.com>
|
||||
#
|
||||
# Please double check copyright with the licensecheck(1) command.
|
||||
|
||||
Files: .github/workflows/main.yml
|
||||
.gitignore
|
||||
.pre-commit-config.yaml
|
||||
CHANGELOG.rst
|
||||
HOWTORELEASE.rst
|
||||
README.rst
|
||||
doc/.gitignore
|
||||
doc/Makefile
|
||||
doc/api.rst
|
||||
doc/index.rst
|
||||
doc/installation.rst
|
||||
doc/license.rst
|
||||
doc/make.bat
|
||||
doc/overview.rst
|
||||
mypy.ini
|
||||
setup.py
|
||||
src/pytest_regressions/__init__.py
|
||||
src/pytest_regressions/common.py
|
||||
src/pytest_regressions/data_regression.py
|
||||
src/pytest_regressions/dataframe_regression.py
|
||||
src/pytest_regressions/file_regression.py
|
||||
src/pytest_regressions/image_regression.py
|
||||
src/pytest_regressions/ndarrays_regression.py
|
||||
src/pytest_regressions/num_regression.py
|
||||
src/pytest_regressions/plugin.py
|
||||
src/pytest_regressions/py.typed
|
||||
src/pytest_regressions/testing.py
|
||||
tests/conftest.py
|
||||
tests/test_data_regression.py
|
||||
tests/test_data_regression/case.normal.yml
|
||||
tests/test_data_regression/test_custom_object.yml
|
||||
tests/test_data_regression/test_example.yml
|
||||
tests/test_dataframe_regression.py
|
||||
tests/test_dataframe_regression/test_arrays_of_same_size.csv
|
||||
tests/test_dataframe_regression/test_arrays_with_different_sizes.csv
|
||||
tests/test_dataframe_regression/test_bool_array.csv
|
||||
tests/test_dataframe_regression/test_common_cases.csv
|
||||
tests/test_dataframe_regression/test_dataframe_with_empty_strings.csv
|
||||
tests/test_dataframe_regression/test_different_data_types.csv
|
||||
tests/test_dataframe_regression/test_integer_values_smoke_test.csv
|
||||
tests/test_dataframe_regression/test_number_formats.csv
|
||||
tests/test_dataframe_regression/test_string_array.csv
|
||||
tests/test_file_regression.py
|
||||
tests/test_file_regression/test_simple_bin_file.bin
|
||||
tests/test_file_regression/test_simple_text_file.md
|
||||
tests/test_filenames.py
|
||||
tests/test_filenames/TestClass_test_foo.csv
|
||||
tests/test_filenames/test_foo.csv
|
||||
tests/test_grids.py
|
||||
tests/test_grids/test_grids2.yml
|
||||
tests/test_image_regression.py
|
||||
tests/test_image_regression/test_image_regression.png
|
||||
tests/test_ndarrays_regression.py
|
||||
tests/test_ndarrays_regression/test_arrays_of_same_shape.npz
|
||||
tests/test_ndarrays_regression/test_arrays_of_same_size_1d.npz
|
||||
tests/test_ndarrays_regression/test_arrays_with_different_shapes.npz
|
||||
tests/test_ndarrays_regression/test_arrays_with_different_sizes_1d.npz
|
||||
tests/test_ndarrays_regression/test_bool_array.npz
|
||||
tests/test_ndarrays_regression/test_common_case.npz
|
||||
tests/test_ndarrays_regression/test_common_case_nd.npz
|
||||
tests/test_ndarrays_regression/test_common_case_zero_expected.npz
|
||||
tests/test_ndarrays_regression/test_complex_array.npz
|
||||
tests/test_ndarrays_regression/test_different_data_types.npz
|
||||
tests/test_ndarrays_regression/test_float_values_smoke_test.npz
|
||||
tests/test_ndarrays_regression/test_integer_values_smoke_test.npz
|
||||
tests/test_ndarrays_regression/test_missing_obtained.npz
|
||||
tests/test_ndarrays_regression/test_new_obtained.npz
|
||||
tests/test_ndarrays_regression/test_scalars.npz
|
||||
tests/test_ndarrays_regression/test_string_array.npz
|
||||
tests/test_num_regression.py
|
||||
tests/test_num_regression/test_array_dtype_stored_correctly.csv
|
||||
tests/test_num_regression/test_arrays_of_same_size.csv
|
||||
tests/test_num_regression/test_arrays_with_different_sizes.csv
|
||||
tests/test_num_regression/test_bool_array.csv
|
||||
tests/test_num_regression/test_common_cases.csv
|
||||
tests/test_num_regression/test_different_data_types.csv
|
||||
tests/test_num_regression/test_fill_different_shape_with_nan.csv
|
||||
tests/test_num_regression/test_integer_values_smoke_test.csv
|
||||
tests/test_num_regression/test_number_formats.csv
|
||||
tests/test_num_regression/test_simple_floats.csv
|
||||
tests/test_num_regression/test_simple_list_of_numbers.csv
|
||||
tests/test_num_regression/test_simple_numbers.csv
|
||||
tests/test_num_regression/test_simple_numbers.yml
|
||||
tests/test_num_regression/test_simple_tuple_of_numbers.csv
|
||||
tox.ini
|
||||
Copyright: __NO_COPYRIGHT_NOR_LICENSE__
|
||||
License: __NO_COPYRIGHT_NOR_LICENSE__
|
||||
|
||||
Files: doc/conf.py
|
||||
Copyright: __NO_COPYRIGHT__ in: doc/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
|
||||
.
|
||||
The MIT License (MIT)
|
||||
.
|
||||
Copyright (c) 2018 ESSS
|
||||
.
|
||||
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.
|
|
@ -0,0 +1 @@
|
|||
# You must remove unused comment lines for the released package.
|
|
@ -0,0 +1,32 @@
|
|||
#!/usr/bin/make -f
|
||||
#export DH_VERBOSE=1
|
||||
#export DEB_BUILD_OPTIONS=nocheck
|
||||
export PYBUILD_NAME=pytest-regressions
|
||||
export SETUPTOOLS_USE_DISTUTILS=stdlib
|
||||
|
||||
%:
|
||||
dh $@ --with python3,sphinxdoc --buildsystem=pybuild
|
||||
|
||||
override_dh_auto_clean:
|
||||
|
||||
override_dh_auto_test:
|
||||
|
||||
override_dh_sphinxdoc:
|
||||
ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))<F12>
|
||||
PYTHONPATH=. python3 -m sphinx -b html -d doc/.build/.doctrees -N doc debian/python3-pytest-regressions/usr/share/doc/python3-pytest-regressions/html/
|
||||
endif
|
||||
find debian/python3-pytest-regressions -name 'html5shiv.min.js' -type f -exec \
|
||||
ln -sf /usr/share/nodejs/html5shiv/dist/html5shiv.min.js {} \;
|
||||
find debian/python3-pytest-regressions -name 'html5shiv-printshiv.min.js' -type f -exec \
|
||||
ln -sf /usr/share/nodejs/html5shiv/dist/html5shiv-printshiv.min.js {} \;
|
||||
# Sphinx-provided
|
||||
find debian/python3-pytest-regressions -name 'jquery.js' -type f -exec \
|
||||
ln -sf /usr/share/javascript/sphinxdoc/1.0/jquery.js {} \;
|
||||
find debian/python3-pytest-regressions -name 'underscore.js' -type f -exec \
|
||||
ln -sf /usr/share/javascript/sphinxdoc/1.0/underscore.js {} \;
|
||||
find debian/python3-pytest-regressions -name 'doctools.js' -type f -exec \
|
||||
ln -sf /usr/share/javascript/sphinxdoc/1.0/doctools.js {} \;
|
||||
find debian/python3-pytest-regressions -name 'searchtools.js' -type f -exec \
|
||||
ln -sf /usr/share/javascript/sphinxdoc/1.0/searchtools.js {} \;
|
||||
find debian/python3-pytest-regressions -name 'language_data.js' -type f -exec \
|
||||
ln -sf /usr/share/javascript/sphinxdoc/1.0/language_data.js {} \;
|
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
Repository-Browse: https://github.com/ESSS/pytest-regressions
|
|
@ -0,0 +1,3 @@
|
|||
version=4
|
||||
opts=uversionmangle=s/(rc|a|b|c)/~$1/,dversionmangle=s/\+ds$//,repacksuffix=+ds \
|
||||
https://github.com/ESSS/@PACKAGE@/tags (?:.*/)(\d+(?:\.\d+)+)\.tar\.gz
|
Loading…
Reference in New Issue