Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
adam 1207c5613d py-test5: added version 5.2.1
pytest 5.2.1:
Bug Fixes
* Fix warnings about deprecated cmp attribute in attrs>=19.2.

pytest 5.2.0:
Deprecations
* Passing arguments to pytest.fixture() as positional arguments is deprecated - pass them as a keyword argument instead.

Features
* The scope parameter of @pytest.fixture can now be a callable that receives the fixture name and the config object as keyword-only parameters. See the docs for more information.
* New behavior of the --pastebin option: failures to connect to the pastebin server are reported, without failing the pytest run

Bug Fixes
* Fix “lexer” being used when uploading to bpaste.net from --pastebin to “text”.
* Fix --setup-only and --setup-show for custom pytest items.

Trivial/Internal Changes
* The HelpFormatter uses py.io.get_terminal_width for better width detection.

pytest 5.1.3:
Bug Fixes
* Fix pypy3.6 (nightly) on windows.
* Handle --fulltrace correctly with pytest.raises.
* Windows: Fix regression with conftest whose qualified name contains uppercase characters.

pytest 5.1.2:
Bug Fixes
* Fixed self reference in function-scoped fixtures defined plugin classes: previously self would be a reference to a test class, not the plugin class.
* Fixed long standing issue where fixture scope was not respected when indirect fixtures were used during parametrization.
* Fix decoding error when printing an error response from --pastebin.
* Chained exceptions in test and collection reports are now correctly serialized, allowing plugins like pytest-xdist to display them properly.
* Windows: Fix error that occurs in certain circumstances when loading conftest.py from a working directory that has casing other than the one stored in the filesystem (e.g., c:\test instead of C:\test).

pytest 5.1.1:
Bug Fixes
* Fixed TypeError when importing pytest on Python 3.5.0 and 3.5.1.

pytest 5.1.0:
Removals
* As per our policy, the following features have been deprecated in the 4.X series and are now removed:

Request.getfuncargvalue: use Request.getfixturevalue instead.
pytest.raises and pytest.warns no longer support strings as the second argument.
message parameter of pytest.raises.
pytest.raises, pytest.warns and ParameterSet.param now use native keyword-only syntax. This might change the exception message from previous versions, but they still raise TypeError on unknown keyword arguments as before.
pytest.config global variable.
tmpdir_factory.ensuretemp method.
pytest_logwarning hook.
RemovedInPytest4Warning warning type.
request is now a reserved name for fixtures.
For more information consult Deprecations and Removals in the docs.

* Removed unused support code for unittest2.
* pytest.fail, pytest.xfail and pytest.skip no longer support bytes for the message argument.

Features
* New Config.invocation_args attribute containing the unchanged arguments passed to pytest.main().
* New NUMBER option for doctests to ignore irrelevant differences in floating-point numbers. Inspired by Sébastien Boisgérault’s numtest extension for doctest.
Improvements
* JUnit XML now includes a timestamp and hostname in the testsuite tag.
* Time taken to run the test suite now includes a human-readable representation when it takes over 60 seconds, for example:

Bug Fixes
* Fix RuntimeError/StopIteration when trying to collect package with “__init__.py” only.
* Warnings issued during pytest_configure are explicitly not treated as errors, even if configured as such, because it otherwise completely breaks pytest.
* The XML file produced by --junitxml now correctly contain a <testsuites> root element.
* Fix issue where tmp_path and tmpdir would not remove directories containing files marked as read-only, which could lead to pytest crashing when executed a second time with the --basetemp option.
* Replace importlib_metadata backport with importlib.metadata from the standard library on Python 3.8+.
* Improve type checking for some exception-raising functions (pytest.xfail, pytest.skip, etc) so they provide better error messages when users meant to use marks (for example @pytest.xfail instead of @pytest.mark.xfail).
* Fixed internal error when test functions were patched with objects that cannot be compared for truth values against others, like numpy arrays.
* pytest.exit is now correctly handled in unittest cases. This makes unittest cases handle quit from pytest’s pdb correctly.
* Improved output when parsing an ini configuration file fails.
* Fix collection of staticmethod objects defined with functools.partial.
* Skip async generator test functions, and update the warning message to refer to async def functions.
Improved Documentation
* Add docstring for Testdir.copy_example.
Trivial/Internal Changes
* XML files of the xunit2 family are now validated against the schema by pytest’s own test suite to avoid future regressions.
* Cache node splitting function which can improve collection performance in very large test suites.
* Simplified internal SafeRepr class and removed some dead code.
* When invoking pytest’s own testsuite with PYTHONDONTWRITEBYTECODE=1, the test_xfail_handling test no longer fails.
* Replace manual handling of OSError.errno in the codebase by new OSError subclasses (PermissionError, FileNotFoundError, etc.).

pytest 5.0.1:
Bug Fixes
* Improve quoting in raises match failure message.
* Fixed using multiple short options together in the command-line (for example -vs) in Python 3.8+.
* --step-wise now handles xfail(strict=True) markers properly.
Improved Documentation
* Improve “Declaring new hooks” section in chapter “Writing Plugins”

pytest 5.0.0:

Important
This release is a Python3.5+ only release.

For more details, see our Python 2.7 and 3.4 support plan.

Removals
* Pytest no longer accepts prefixes of command-line arguments, for example typing pytest --doctest-mod inplace of --doctest-modules. This was previously allowed where the ArgumentParser thought it was unambiguous, but this could be incorrect due to delayed parsing of options for plugins.

* PytestDeprecationWarning are now errors by default.

* ExceptionInfo objects (returned by pytest.raises) now have the same str representation as repr, which avoids some confusion when users use print(e) to inspect the object.
2019-10-22 18:39:38 +00:00
archivers archivers/ruby-archive-tar-minitar: update to 0.8 2019-10-22 07:33:37 +00:00
audio audio/fasttracker2: Update to v1.01 2019-10-22 10:04:48 +00:00
benchmarks dnsperf: update to 2.3.2. Changed upstream to DNS-OARC. 2019-10-16 10:05:28 +00:00
biology py-pydicom: Update to 1.3.0 2019-10-01 14:45:29 +00:00
bootstrap bootstrap/bootstrap: prevent --wrkdir from being a symlink 2019-09-13 20:10:35 +00:00
cad (cad/gtkwave) Updated 3.3.100 to 3.3.101 2019-10-17 15:12:51 +00:00
chat Rename audio/portaudio-devel to audio/portaudio 2019-10-20 11:10:47 +00:00
comms delete ancient Asterisk 11.* 2019-09-22 20:00:31 +00:00
converters Recursive revbump for poppler 0.81.0 2019-10-19 12:46:04 +00:00
cross nios2-gcc41: Remove, successor nios2-gcc. 2019-10-17 20:56:39 +00:00
databases Switch sphinx to versioned deps. 2019-10-21 21:19:35 +00:00
devel py-test5: added version 5.2.1 2019-10-22 18:39:38 +00:00
distfiles
doc Added textproc/py-elementpath, textproc/py-xmlschema 2019-10-22 17:32:38 +00:00
editors Rename audio/portaudio-devel to audio/portaudio 2019-10-20 11:10:47 +00:00
emulators Switch sphinx to versioned deps. 2019-10-21 21:45:39 +00:00
filesystems Add mkspiffs 0.2.3 2019-10-07 10:13:16 +00:00
finance py-braintree: updated to 3.57.1 2019-10-16 14:31:23 +00:00
fonts spleen: update to 1.5.0. 2019-10-07 08:41:10 +00:00
games games/fltk-sudoku: Update to 1.3.5 2019-10-21 10:04:12 +00:00
geography Rename audio/portaudio-devel to audio/portaudio 2019-10-20 11:10:47 +00:00
graphics MesaLib: Add a features.mk and use it to detect the presence of DRI 2019-10-21 20:47:55 +00:00
ham Switch sphinx to versioned deps. 2019-10-21 21:55:03 +00:00
inputmethod ibus: update PLIST to actually match for cldr-emoji-annotation-35.12.14971.0. 2019-09-14 11:34:18 +00:00
lang lang/pear: update Archive_Tar to 1.4.8 2019-10-22 07:46:25 +00:00
licenses licenses: amaya was removed 2019-09-09 11:42:33 +00:00
mail mail/dovecot2-pigeonhole: update to 0.5.8 2019-10-22 13:26:19 +00:00
math R: drop maintainership 2019-10-20 03:29:10 +00:00
mbone mbone/rtptools: fix location of HTML documentation 2019-10-12 20:14:08 +00:00
meta-pkgs ruby-gnome: Update to 3.4.1. 2019-10-19 08:25:17 +00:00
misc Fix sphinx-build binary name 2019-10-21 22:15:10 +00:00
mk Prepare for compat80 package. 2019-10-15 11:15:49 +00:00
multimedia mate-media: update to 1.22.2 2019-10-21 23:08:52 +00:00
net youtube-dl: Update to 20191022 2019-10-22 06:31:13 +00:00
news About 0.146 2019-10-15 18:09:21 +00:00
packages
parallel lld: updated to 9.0.0 2019-10-19 14:01:36 +00:00
pkgtools pkgtools/R2pkg: remove unused code 2019-10-19 22:10:58 +00:00
print Switch sphinx to versioned deps. 2019-10-21 21:55:03 +00:00
regress regress/check-perms: add test for broken CHECK_PERMS_AUTOFIX 2019-09-19 23:53:36 +00:00
security Update pev to version 0.80 2019-10-22 16:37:05 +00:00
shells shells/bash2-doc: fix location of HTML documentation 2019-10-12 20:51:48 +00:00
sysutils Fix sphinx-build binary name 2019-10-21 22:15:10 +00:00
templates
textproc py-xmlschema: added version 1.0.15 2019-10-22 17:32:02 +00:00
time Fix sphinx-build binary name 2019-10-21 22:15:10 +00:00
wm wm/flwm: Update to 1.16 2019-10-18 10:40:40 +00:00
www www/ruby-loofah: update to 2.3.1 2019-10-22 16:24:20 +00:00
x11 Use gnu++11 to fix undefined reference to allocate, from joerg 2019-10-21 23:58:04 +00:00
Makefile
pkglocate
README README: minor grammatical fix 2019-01-29 03:11:03 +00:00

$NetBSD: README,v 1.21 2019/01/29 03:11:03 gutteridge Exp $

pkgsrc is a framework for building software on UNIX-like systems.

To use, bootstrap using:
    cd pkgsrc/bootstrap/
    ./bootstrap

build packages, use:
    cd pkgsrc/category/package-name
    $PREFIX/bin/bmake install

Where $PREFIX is where you've chosen to install packages (typically /usr/pkg)

Bugs and patches can be filed in the following link (use category 'pkg'):
https://www.netbsd.org/cgi-bin/sendpr.cgi?gndb=netbsd

To fetch the main CVS repository:
    cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc

It's also possible to contribute through pkgsrc wip (work in progress), for
more information, see http://pkgsrc.org/wip/users/

Please see doc/pkgsrc.txt for information.