summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-11-25textproc/py-tomli: import py-tomli-1.2.2wiz5-0/+54
Tomli is a Python library for parsing TOML. Tomli is fully compatible with TOML v1.0.0.
2021-11-25doc: Added devel/py-build version 0.7.0wiz1-1/+2
2021-11-25devel/Makefile: + py-buildwiz1-1/+2
2021-11-25devel/py-build: import py-build-0.7.0wiz4-0/+58
A simple, correct PEP517 package builder. 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.
2021-11-25doc: Added textproc/py-tomli version 1.2.2wiz1-1/+2
2021-11-25textproc/Makefile: + py-tomliwiz1-1/+2
2021-11-25Updated devel/py-hypothesis, devel/py-test-mockadam1-1/+3
2021-11-25py-test-mock: updated to 3.6.1adam3-14/+15
3.6.1 (2021-05-06) ------------------ * Fix ``mocker.resetall()`` when using ``mocker.spy()`` 3.6.0 (2021-04-24) ------------------ * pytest-mock no longer supports Python 3.5. * Correct type annotations for ``mocker.patch.object`` to also include the string form. * ``reset_all`` now supports ``return_value`` and ``side_effect`` keyword arguments. 3.5.1 (2021-01-10) ------------------ * Use ``inspect.getattr_static`` instead of resorting to ``object.__getattribute__`` magic. This should better comply with objects which implement a custom descriptor protocol. 3.5.0 (2021-01-04) ------------------ * Now all patch functions will emit a warning instead of raising a ``ValueError`` when used as a context-manager. * Additionally, ``mocker.patch.context_manager`` is available when the user intends to mock a context manager (for example ``threading.Lock`` object), which will not emit that warning. 3.4.0 (2020-12-15) ------------------ * Add `mock.seal` alias to the `mocker` fixture. * Fixed spying on exceptions not covered by the ``Exception`` superclass, like ``KeyboardInterrupt``. Before the fix, both ``spy_return`` and ``spy_exception`` were always assigned to ``None`` whenever such an exception happened. And after this fix, ``spy_exception`` is set to a correct value of an exception that has actually happened. 3.3.1 (2020-08-24) ------------------ * Introduce ``MockFixture`` as an alias to ``MockerFixture``. Before ``3.3.0``, the fixture class was named ``MockFixture``, but was renamed to ``MockerFixture`` to better match the ``mocker`` fixture. While not officially part of the API, it was later discovered that this broke the code of some users which already imported ``pytest_mock.MockFixture`` for type annotations, so we decided to reintroduce the name as an alias. Note however that this is just a stop gap measure, and new code should use ``MockerFixture`` for type annotations. * Improved typing for ``MockerFixture.patch`` 3.3.0 (2020-08-21) ------------------ * ``pytest-mock`` now includes inline type annotations and exposes them to user programs. The ``mocker`` fixture returns ``pytest_mock.MockerFixture``, which can be used to annotate your tests: .. code-block:: python from pytest_mock import MockerFixture def test_foo(mocker: MockerFixture) -> None: ... The type annotations were developed against mypy version ``0.782``, the minimum version supported at the moment. If you run into an error that you believe to be incorrect, please open an issue. 3.2.0 (2020-07-11) ------------------ * `AsyncMock <https://docs.python.org/3/library/unittest.mock.html#unittest.mock.AsyncMock>`__ is now exposed in ``mocker`` and supports provides assertion introspection similar to ``Mock`` objects. 3.1.1 (2020-05-31) ------------------ * Fixed performance regression caused by the ``ValueError`` raised when ``mocker`` is used as context manager. 3.1.0 (2020-04-18) ------------------ * New mocker fixtures added that allow using mocking functionality in other scopes: * ``class_mocker`` * ``module_mocker`` * ``package_mocker`` * ``session_mocker`` 3.0.0 (2020-03-31) ------------------ * Python 2.7 and 3.4 are no longer supported. Users using ``pip 9`` or later will install a compatible version automatically. * ``mocker.spy`` now also works with ``async def`` functions.
2021-11-25py-hypothesis: updated to 6.27.1adam3-7/+10
6.27.1 This patch changes the backing datastructures of register_random() and a few internal caches to use weakref.WeakKeyDictionary. This reduces memory usage and may improve performance when registered Random instances are only used for a subset of your tests. 6.27.0 This release teaches Hypothesis’ multiple-error reporting to format tracebacks using pytest or better-exceptions, if they are installed and enabled. 6.26.0 Did you know that of the 264 possible floating-point numbers, 253 of them are nan While nans usually have all zeros in the sign bit and mantissa, this isn’t always true, and ‘signaling’ nans might trap or error. To help distinguish such errors in e.g. CI logs, Hypothesis now prints -nan for negative nans, and adds a comment like # Saw 3 signaling NaNs if applicable. 6.25.0 This release adds special filtering logic to make a few special cases like s.map(lambda x: x) and lists().filter(len) more efficient. 6.24.6 This patch makes floats() generate “subnormal” floating point numbers more often, as these rare values can have strange interactions with unsafe compiler optimisations like -ffast-math. 6.24.5 This patch fixes a rare internal error in the datetimes() strategy, where the implementation of allow_imaginary=False crashed when checking a time during the skipped hour of a DST transition if the DST offset is negative 6.24.4 This patch gives Hypothesis it’s own internal Random instance, ensuring that test suites which reset the global random state don’t induce weird correlations between property-based tests. 6.24.3 This patch updates documentation of note()
2021-11-25electrum: do not check version of aiorpcXadam3-3/+22
2021-11-25py-confuse: fix MASTER_SITESadam1-2/+2
2021-11-25doc: Updated audio/py-beets to 1.5.0bsiegert1-1/+2
2021-11-25Update py-beets to 1.5.0, PR pkg/56378.bsiegert3-11/+34
This long overdue release of beets includes far too many exciting and useful features than could ever be satisfactorily enumerated. As a technical detail, it also introduces two new external libraries: MediaFile and Confuse used to be part of beets but are now reusable dependencies---packagers, please take note. Finally, this is the last version of beets where we intend to support Python 2.x and 3.5; future releases will soon require Python 3.6.
2021-11-25doc: Added devel/py-confuse version 1.6.0bsiegert1-1/+2
2021-11-25New package, py-confuse. Part of PR pkg/56378.bsiegert6-1/+84
Confuse is a configuration library for Python that uses YAML. It takes care of defaults, overrides, type checking, command-line integration, human-readable errors, and standard OS-specific locations. Here's what Confuse brings to the table: - An utterly sensible API resembling dictionary-and-list structures but providing transparent validation without lots of boilerplate code. - Combine configuration data from multiple sources. Using layering, Confuse allows user-specific configuration to seamlessly override system-wide configuration, which in turn overrides built-in defaults. - Look for configuration files in platform-specific paths. - Integration with command-line arguments via argparse or optparse from the standard library.
2021-11-25doc: Note update of lang/ruby30 and related pacakges to 3.0.3taca1-1/+3
lang/ruby30-base lang/ruby30
2021-11-25lang/ruby30-base: update to 3.0.3taca4-55/+114
Ruby 3.0.3 Released Posted by nagachika on 24 Nov 2021 Ruby 3.0.3 has been released. This release includes security fixes. Please check the topics below for details. * CVE-2021-41817: Regular Expression Denial of Service Vulnerability of Date Parsing Methods * CVE-2021-41816: Buffer Overrun in CGI.escape_html * CVE-2021-41819: Cookie Prefix Spoofing in CGI::Cookie.parse See the commit logs for details.
2021-11-25doc: Note update of lang/ruby27 and related pacakges to 2.7.5taca1-1/+6
lang/ruby27-base databases/ruby-gdbm devel/ruby-fiddle devel/ruby-readline lang/ruby27
2021-11-25lang/ruby27-base: update to 2.7.5taca3-18/+10
Ruby 2.7.5 Released Posted by usa on 24 Nov 2021 Ruby 2.7.5 has been released. This release includes security fixes. Please check the topics below for details. * CVE-2021-41817: Regular Expression Denial of Service Vulnerability of Date Parsing Methods * CVE-2021-41816: Buffer Overrun in CGI.escape_html * CVE-2021-41819: Cookie Prefix Spoofing in CGI::Cookie.parse See the commit logs for details.
2021-11-25doc: Note update of lang/ruby26* to 2.6.9taca1-1/+3
lang/ruby26-base lang/ruby26
2021-11-25lang/ruby26-base: update to 2.6.9taca2-7/+7
Ruby 2.6.9 Released Posted by usa on 24 Nov 2021 Ruby 2.6.9 has been released. This release includes security fixes. Please check the topics below for details. * CVE-2021-41817: Regular Expression Denial of Service Vulnerability of Date Parsing Methods * CVE-2021-41819: Cookie Prefix Spoofing in CGI::Cookie.parse See the commit logs for details. Ruby 2.6 is now under the state of the security maintenance phase, until the end of March of 2022. After that date, maintenance of Ruby 2.6 will be ended. We recommend you start planning the migration to newer versions of Ruby, such as 3.0 or 2.7.
2021-11-25emulators: Enable suse131_gtk3ryoon1-1/+2
2021-11-25doc: Added emulators/suse131_gtk3 version 13.1ryoon1-1/+2
2021-11-25emulators/suse131_gtk3: import suse_gtk3-13.1ryoon6-0/+116
Linux compatibility package based on the openSUSE Linux distribution. Please visit http://www.opensuse.org/ for more information about openSUSE Linux. This package supports running ELF binaries linked with glibc2 that require GTK+-3.x shared libraries.
2021-11-25doc: Updated www/webkit-gtk to 2.34.2leot1-1/+2
2021-11-25webkit-gtk: Update to 2.34.2leot3-10/+9
Changes: WebKitGTK 2.34.2 ================ - Fix scrolling issues when pressing Home and PgDown keys. - Update effective appearance after web process switch on navigation. - Fix the build with video disabled.
2021-11-25doc: Updated print/qpdf to 10.4.0ryoon1-1/+2
2021-11-25qpdf: Update to 10.4.0ryoon3-29/+8
Changelog: 10.4.0: November 16, 2021 + Handling of Weak Cryptography Algorithms o From the qpdf CLI, the --allow-weak-crypto is now required to suppress a warning when explicitly creating PDF files using RC4 encryption. While qpdf will always retain the ability to read and write such files, doing so will require explicit acknowledgment moving forward. For qpdf 10.4, this change only affects the command-line tool. Starting in qpdf 11, there will be small API changes to require explicit acknowledgment in those cases as well. For additional information, see Chapter 6, Weak Cryptography. + Bug Fixes o Fix potential bounds error when handling shell completion that could occur when given bogus input. o Properly handle overlay/underlay on completely empty pages (with no resource dictionary). o Fix crash that could occur under certain conditions when using --pages with files that had form fields. + Library Enhancements o Make QPDF::findPage functions public. o Add methods to Pl_Flate to be able to receive warnings on certain recoverable conditions. o Add an extra check to the library to detect when foreign objects are inserted directly (instead of using QPDF::copyForeignObject) at the time of insertion rather than when the file is written. Catching the error sooner makes it much easier to locate the incorrect code. + CLI Enhancements o Improve diagnostics around parsing --pages command-line options + Packaging Changes o The Windows binary distribution is now built with crypto provided by OpenSSL 3.0.
2021-11-25qpdf: Follow HOMEPAGE redirectryoon1-2/+2
2021-11-25doc: Updated security/gnupg2 to 2.2.33ryoon1-1/+2
2021-11-25gnupg2: Update to 2.2.33ryoon2-6/+6
Changelog: Noteworthy changes in version 2.2.33 (2021-11-23) ------------------------------------------------- * gpg: New option --min-rsa-length. [rG6ee01c1d26] * gpg: New option --forbid-gen-key. [rG985fb25c46] * gpg: New option --override-compliance-check. [T5655] * gpgconf: New command --show-configs. [rG8fe3f57643] * agent,dirmngr: New option --steal-socket. [rG6507c6ab10] * scd: Improve the selection of the default PC/SC reader. [T5644] * gpg: Fix printing of binary notations. [T5667] * gpg: Remove stale ultimately trusted keys from the trustdb. [T5685] * gpgsm: Detect circular chains in --list-chain. [rGc9343bec83] * gpgconf: Create the local option file even if the global file exists. [T5650] * dirmngr: Make reading resolv.conf more robust. [T5657] * gpg-wks-server: Fix created file permissions. [rGf54feb4470] * scd: Support longer data for ssh-agent authentication with openpgp cards. [T5682] * Support gpgconf.ctl for NetBSD and Solaris. [T5656,T5671] * Silence "Garbled console data" warning under Windows in most cases. * Silence warning about the rootdir under Unices w/o a mounted /proc file system. * Fix possible build problems about missing include files. [T5592] * i18n: Replace the term "PIN-Cache" by "Passswort-Cache" in the German translation. [rgf453d52e53] * i18n: Update the Russian translation. Release-info: https://dev.gnupg.org/T5641 See-also: gnupg-announce/2021q4/000467.html
2021-11-25doc: Updated www/firefox-l10n to 94.0.2ryoon1-1/+2
2021-11-25firefox-l10n: Update to 94.0.2ryoon2-294/+294
* Sync with www/firefox-94.0.2.
2021-11-25doc: Updated www/firefox to 94.0.2ryoon1-1/+2
2021-11-25firefox: Update to 94.0.2ryoon2-6/+6
Changelog: Fixed * Improved hangs experienced by users of assistive technology such as NVDA when installing Firefox through the Microsoft Store (bug 1736742) * Resolved general instability/crashes on Linux caused by a file descriptor leak when backgrounding tabs using WebGL (bug 1741997) Changed * Updated preference design for Firefox Suggest for improved clarity.
2021-11-25doc: Added www/py-python-multipart version 0.0.5wiz1-1/+2
2021-11-25doc: Added www/py-multipart version 0.2.4wiz1-1/+2
2021-11-25www/Makefile: + py*multipartwiz1-1/+3
2021-11-25py-multipart: pkglint cleanupwiz1-4/+3
2021-11-25py-python-multipart: use httpswiz1-2/+2
2021-11-25www/py-python-multipart: import py-python-multipart-0.0.5wiz4-0/+62
python-multipart is an Apache2 licensed streaming multipart parser for Python.
2021-11-25www/py-multipart: import py-multipart-0.2.4wiz4-0/+41
This module provides a parser for the multipart/form-data format. It can read from a file, a socket or a WSGI environment. The parser can be used to replace cgi.FieldStorage to work around its limitations.
2021-11-25textproc/Makefile: add nltk_data packageswiz1-1/+109
2021-11-25electrum: remove upper bound to fix bulk buildwiz1-2/+2
2021-11-25doc: Added net/fd-proxy version 20141025schmonz1-1/+2
2021-11-25Add and enable fd-proxy.schmonz1-1/+2
2021-11-25Add fd-proxy, glue for making a TCP proxy using ucspi-tcp tools.schmonz5-0/+54
fd-proxy is a very small program, written in C. Its purpose is to connect the I/Os of a tcpserver and tcpclient pair (from the ucspi-tcp suite) in order to implement a TCP proxy. Setting up such a proxy can be done in a single line.
2021-11-25Updated converters/py-charset-normalizer, devel/py-dotenvadam1-1/+3
2021-11-25py-dotenv: updated to 0.19.2adam3-15/+12
0.19.2 Fixed - In `set_key`, add missing newline character before new entry if necessary. 0.19.1 Added - Add support for Python 3.10. 0.19.0 Changed - Require Python 3.5 or a later version. Python 2 and 3.4 are no longer supported. by [@bbc2]). Added - The `dotenv_path` argument of `set_key` and `unset_key` now has a type of `Union[str, os.PathLike]` instead of just `os.PathLike` - The `stream` argument of `load_dotenv` and `dotenv_values` can now be a text stream (`IO[str]`), which includes values like `io.StringIO("foo")` and `open("file.env", "r")` 0.18.0 Changed - Raise `ValueError` if `quote_mode` isn't one of `always`, `auto` or `never` in `set_key` - When writing a value to a .env file with `set_key` or `dotenv set <key> <value>` - Use single quotes instead of double quotes. - Don't strip surrounding quotes. - In `auto` mode, don't add quotes if the value is only made of alphanumeric characters (as determined by `string.isalnum`). 0.17.1 Fixed - Fixed tests for build environments relying on `PYTHONPATH` [0.17.0 Changed - Make `dotenv get <key>` only show the value, not `key=value` Added - Add `--override`/`--no-override` option to `dotenv run` 0.16.0 Changed - The default value of the `encoding` parameter for `load_dotenv` and `dotenv_values` is now `"utf-8"` instead of `None` - Fix resolution order in variable expansion with `override=False`
2021-11-25py-charset-normalizer: updated to 2.0.8adam2-6/+6
2.0.8 Changed - Improvement over Vietnamese detection - MD improvement on trailing data and long foreign (non-pure latin) data - Efficiency improvements in cd/alphabet_languages from [@adbar](https://github.com/adbar) - call sum() without an intermediary list following PEP 289 recommendations from [@adbar](https://github.com/adbar) - Code style as refactored by Sourcery-AI - Minor adjustment on the MD around european words - Remove and replace SRTs from assets / tests - Initialize the library logger with a `NullHandler` by default from [@nmaynes](https://github.com/nmaynes) - Setting kwarg `explain` to True will add provisionally (bounded to function lifespan) a specific stream handler