Commit graph

350541 commits

Author SHA1 Message Date
fcambus
315b9a5c54 doc: Added devel/pax-utils version 1.3.3 2022-01-11 15:22:18 +00:00
fcambus
d1e446d42d Add pax-utils. 2022-01-11 15:21:58 +00:00
fcambus
51a6fd3a5f devel/pax-utils: import pax-utils-1.3.3.
pax-utils is a small set of utilities for peforming Q/A (mostly security)
checks on systems (most notably, `scanelf`).  It is focused on the ELF
format, but does include a Mach-O helper too for OS X systems.

While heavily integrated into Gentoo's build system, it can be used on any
distro as it is a generic toolset.

Originally focused only on PaX, it has been expanded to be generally
security focused.  It still has a good number of PaX helpers for people
interested in that.
2022-01-11 15:21:04 +00:00
tnn
7184b4dd06 python{39,310}: fix build failure when py-setuptools are installed already 2022-01-11 15:13:20 +00:00
schmonz
d41dbd8493 Apply upstream c023d98dcf2ba1cc30f545ae54d0e037e80a8794:
Darwin platform allows to build on releases before Yosemite/ios 8.
Fixes build on Snow Leopard. Still builds on Monterey.
2022-01-11 13:54:01 +00:00
nia
a3335f90ef doc: Updated devel/SDL2 to 2.0.20 2022-01-11 13:02:56 +00:00
nia
776d5a4e0f SDL2: update to 2.0.20
This is largely a bugfix release, with the following changes:

   General:

     * SDL_RenderGeometryRaw() takes a pointer to SDL_Color, not int. You can
       cast color data in SDL_PIXELFORMAT_RGBA32 format
       (SDL_PIXELFORMAT_ABGR8888 on little endian systems) for this
       parameter.
     * Improved accuracy of horizontal and vertical line drawing when using
       OpenGL or OpenGLES
     * Added the hint SDL_HINT_RENDER_LINE_METHOD to control the method of
       line drawing used, to select speed, correctness, and compatibility.

   Linux:

     * Fixed hotplug controller detection, broken in 2.0.18
2022-01-11 13:02:37 +00:00
nia
14d5a724b2 doc: Updated games/nxengine-evo to 2.6.5.1 2022-01-11 11:46:53 +00:00
nia
3a496b9144 nxengine-evo: update to 2.6.5.1
v2.6.5-1

   Refactor gamepad rumble handling.
   If you had troubles with non-working rumble on previous release - try this
   one.
                                     v2.6.5

     * RTL text support and Arabic and Korean translations.
     * Greatly improved organya playback and interpolation support, thanks to
       @alula
     * Simple mods support (you can find Seriousface's boss rush mod in
       assets)
     * Light effects (toggleable)
     * Lots of AI/Weapons/etc. fixes

   Note that user data dir changed on some platforms:

     * Windows: /users/<username>/Application Data/nxengine
     * Linux: /home/<username>/.local/share/nxengine
     * OSX: /Users/<username>/Library/Application Support/nxengine/
     * Vita ux0:/data/nxengine/
     * Switch: sd:/switch/nxengine/
2022-01-11 11:46:41 +00:00
schmonz
7245e204a8 Omit "-MT $@" from generated make rules, as it breaks SunPro builds and
"-o $@" is already sufficient.

Also for SunPro, set OPENSSL_HOST.SunOS-x86_64=solaris64-x86_64-cc
(that's cc, not gcc) to avoid this error linking libcrypto.so:

    cc: Warning: Option --libgcc passed to ld, if ld is invoked,
    ignored otherwise
    cc: No valid input files specified, no output generated

"make package" succeeds on:

- Solaris 11 with "Studio 12.6 Sun C 5.15"
- Tribblix m25.1 with pkgsrc gcc7
- CentOS 7 with pkgsrc gcc7
- FreeBSD 13 with system clang
- OpenBSD 7.0 with system clang
- NetBSD 9.2 and -current with system gcc
- CentOS 8 with system gcc
- Debian 11, 10, 9 with system gcc
- Devuan 4 with system gcc
- Ubuntu 21, 18, 16, 14 with system gcc
- Void with system gcc
- Gentoo with system gcc
2022-01-11 11:10:39 +00:00
nia
4e84ed0a91 doc: Updated graphics/feh to 3.8 2022-01-11 10:31:08 +00:00
nia
3333fa9d1b feh: update to 3.8
Mon, 03 Jan 2022 11:29:03 +0100  Daniel Friesel <derf+feh@finalrewind.org>

* Release v3.8
    * Add button ID "0" to cursor bindings. This pseudo-button is triggered
      whenever feh observes a cursor movement. It does not have a default
      binding.
    * Support hexadecimal IDs in --window-id
    * Disable --auto-rotate in feh builds compiled with Imlib2 1.7.5 or later.
      Imlib2 1.7.5 introduces transparent EXIF-based image orientation
      adjustment, so --auto-rotate is no longer needed (and would cause
      mis-orientation of images, as Imlib2 has already adjusted the
      orientation).
2022-01-11 10:30:56 +00:00
adam
f1b14074e2 Updated devel/py-aiounittest, databases/py-apsw, textproc/py-black 2022-01-11 09:14:52 +00:00
schmonz
6f63ec5355 Solaris 11 build with SunPro fails ('unexpected "("') if we use its
__has_attribute, so let's not.
2022-01-11 09:14:00 +00:00
wiz
8b3c8b3e52 python: remove distutils.mk
pkgsrc does not use it any longer; wip has its own copy in wip/python,
until the packages there are converted to egg.mk as well
2022-01-11 09:13:39 +00:00
adam
0967584d91 py-black: updated to 21.12b0
21.12b0

Black

Fix determination of f-string expression spans
Fix bad formatting of error messages about EOF in multi-line statements
Functions and classes in blocks now have more consistent surrounding spacing
from __future__ import annotations statement now implies Python 3.7+
Jupyter Notebook support
Cell magics are now only processed if they are known Python cell magics. Earlier, all cell magics were tokenized, leading to possible indentation errors e.g. with %%writefile.
Fix assignment to environment variables in Jupyter Notebooks

Python 3.10 support

Point users to using --target-version py310 if we detect 3.10-only syntax
Fix match statements with open sequence subjects, like match a, b: or match a, *b:
Fix match/case statements that contain match/case soft keywords multiple times, like match re.match()
Fix case statements with an inline body
Fix styling of starred expressions inside match subject
Fix parser error location on invalid syntax in a match statement
Fix Python 3.10 support on platforms without ProcessPoolExecutor
Improve parsing performance on code that uses match under --target-version py310 up to ~50%

Packaging

Remove dependency on regex


21.11b1

Black

Bumped regex version minimum to 2021.4.4 to fix Pattern class usage


21.11b0

Black

Warn about Python 2 deprecation in more cases by improving Python 2 only syntax detection
Add experimental PyPy support
Add partial support for the match statement. As it's experimental, it's only enabled when --target-version py310 is explicitly specified
Add support for parenthesized with
Declare support for Python 3.10 for running Black

Integrations

Fixed vim plugin with Python 3.10 by removing deprecated distutils import
The vim plugin now parses skip_magic_trailing_comma from pyproject.toml


21.10b0

Black

Document stability policy, that will apply for non-beta releases
Add new --workers parameter
Fixed feature detection for positional-only arguments in lambdas
Bumped typed-ast version minimum to 1.4.3 for 3.10 compatibility
Fixed a Python 3.10 compatibility issue where the loop argument was still being passed even though it has been removed
Deprecate Python 2 formatting support

Blackd

Remove dependency on aiohttp-cors
Bump required aiohttp version to 3.7.4

Black-Primer

Add primer support for --projects
Print primer summary after individual failures

Integrations

Allow to pass target_version in the vim plugin
Install build tools in docker file and use multi-stage build to keep the image size down


21.9b0

Packaging

Fix missing modules in self-contained binaries
Fix missing toml extra used during installation


21.8b0

Black

Add support for formatting Jupyter Notebook files
Move from appdirs dependency to platformdirs
Present a more user-friendly error if .gitignore is invalid
The failsafe for accidentally added backslashes in f-string expressions has been hardened to handle more edge cases during quote normalization
Avoid changing a function return type annotation's type to a tuple by adding a trailing comma
Parsing support has been added for unparenthesized walruses in set literals, set comprehensions, and indices
Pin setuptools-scm build-time dependency version
Exclude typing-extensions version 3.10.0.1 due to it being broken on Python 3.10

Blackd

Replace sys.exit(-1) with raise ImportError as it plays more nicely with tools that scan installed packages

Integrations

The provided pre-commit hooks no longer specify language_version to avoid overriding default_language_version


21.7b0

Black

Configuration files using TOML features higher than spec v0.5.0 are now supported
Add primer support and test for code piped into black via STDIN
Fix internal error when FORCE_OPTIONAL_PARENTHESES feature is enabled
Accept empty stdin
Provide a more useful error when parsing fails during AST safety checks

Docker

Add new latest_release tag automation to follow latest black release on docker images

Integrations

The vim plugin now searches upwards from the directory containing the current buffer instead of the current working directory for pyproject.toml.
The vim plugin now reads the correct string normalization option in pyproject.toml
The vim plugin no longer crashes Black when there's boolean values in pyproject.toml


21.6b0

Black

Fix failure caused by fmt: skip and indentation
Account for += assignment when deciding whether to split string
Correct max string length calculation when there are string operators
Fixed option usage when using the --code flag
Do not call uvloop.install() when Black is used as a library
Added --required-version option to require a specific version to be running
Fix incorrect custom breakpoint indices when string group contains fake f-strings
Fix regression where R prefixes would be lowercased for docstrings
Fix handling of named escapes (\N{...}) when --experimental-string-processing is used

Integrations

The official Black action now supports choosing what version to use, and supports the major 3 OSes.


21.5b2

Black

A space is no longer inserted into empty docstrings
Fix handling of .gitignore files containing non-ASCII characters on Windows
Respect .gitignore files in all levels, not only root/.gitignore file (apply .gitignore rules like git does)
Restored compatibility with Click 8.0 on Python 3.6 when LANG=C used
Add extra uvloop install + import support if in python env
Fix --experimental-string-processing crash when matching parens are not found
Make sure to split lines that start with a string operator
Fix regular expression that black uses to identify f-expressions

Blackd

Add a lower bound for the aiohttp-cors dependency. Only 0.4.0 or higher is supported.

Packaging

Release self-contained x86_64 MacOS binaries as part of the GitHub release pipeline
Always build binaries with the latest available Python

Documentation

Add discussion of magic comments to FAQ page
--experimental-string-processing will be enabled by default in the future
Fix typos discovered by codespell
Fix Vim plugin installation instructions.
Add new Frequently Asked Questions page
Fix encoding + symlink issues preventing proper build on Windows


21.5b1

Black

Refactor src/black/__init__.py into many files

Documentation

Replaced all remaining references to the master branch with the main branch. Some additional changes in the source code were also made.
Sigificantly reorganized the documentation to make much more sense. Check them out by heading over to the stable docs on RTD.
21.5b0

Black

Set --pyi mode if --stdin-filename ends in .pyi
Stop detecting target version as Python 3.9+ with pre-PEP-614 decorators that are being called but with no arguments

Black-Primer

Add --no-diff to black-primer to suppress formatting changes


21.4b2

Black

Fix crash if the user configuration directory is inaccessible.
Clarify circumstances in which Black may change the AST
Allow .gitignore rules to be overridden by specifying exclude in pyproject.toml or on the command line.

Packaging

Install primer.json (used by black-primer by default) with black.


21.4b1

Black

Fix crash on docstrings ending with "\ ".
Fix crash when atypical whitespace is cleaned out of dostrings
Reflect the --skip-magic-trailing-comma and --experimental-string-processing flags in the name of the cache file. Without this fix, changes in these flags would not take effect if the cache had already been populated.
Don't remove necessary parentheses from assignment expression containing assert / return statements.

Packaging

Bump pathspec to >= 0.8.1 to solve invalid .gitignore exclusion handling


21.4b0

Black

Fixed a rare but annoying formatting instability created by the combination of optional trailing commas inserted by Black and optional parentheses looking at pre-existing "magic" trailing commas. This fixes issue 1629 and all of its many many duplicates.
Black now processes one-line docstrings by stripping leading and trailing spaces, and adding a padding space when needed to break up """".
Black now cleans up leading non-breaking spaces in comments
Black now respects --skip-string-normalization when normalizing multiline docstring quotes
Black no longer removes all empty lines between non-function code and decorators when formatting typing stubs. Now Black enforces a single empty line.
Black no longer adds an incorrect space after a parenthesized assignment expression in if/while statements
Added --skip-magic-trailing-comma / -C to avoid using trailing commas as a reason to split lines
fixed a crash when PWD=/ on POSIX
fixed "I/O operation on closed file" when using --diff
Prevent coloured diff output being interleaved with multiple files
Added support for PEP 614 relaxed decorator syntax on python 3.9
Added parsing support for unparenthesized tuples and yield expressions in annotated assignments
added --extend-exclude argument
speed up caching by avoiding pathlib
--diff correctly indicates when a file doesn't end in a newline
Added --stdin-filename argument to allow stdin to respect --force-exclude rules
Lines ending with fmt: skip will now be not formatted
Black no longer relies on typed-ast for Python 3.8 and higher
Python 2 support is now optional, install with python3 -m pip install black[python2] to maintain support.
Exclude venv directory by default
Fixed "Black produced code that is not equivalent to the source" when formatting Python 2 docstrings

Packaging

Self-contained native Black binaries are now provided for releases via GitHub Releases


20.8b1

Packaging

explicitly depend on Click 7.1.2 or newer as Black no longer works with versions older than 7.0
2022-01-11 09:13:29 +00:00
wiz
ed9a05b364 doc/pkgsrc.*: regen 2022-01-11 09:10:09 +00:00
wiz
adcd9bdae6 guide: undocument distutils.mk 2022-01-11 09:09:49 +00:00
adam
8fc05f24e5 py-apsw: updated to 3.37.0
3.37.0-r1

Allow breaking of reference cycles between objects that contain a Connection or Cursor, and also use callbacks from that object (eg busy handler).

This is the last release supporting Python 2 and Python 3 before 3.7. If you still use those Python versions then you should pin to this APSW version. (More information).

Windows Python 3.10 binaries are available to download. The .exe format is no longer available with this Python version.

Fixed custom VFS extension loading failure could leave the error message unterminated.

Updated size of mutex array used by the fork checker

Connections are opened with SQLITE_OPEN_EXRESCODE so open errors will also include extended result codes.

Connection.changes() and Connection.totalchanges() use the new SQLite APIs that return 64 bit values (ie can now return values greater than 2 billion).

Added Connection.autovacuum_pages().

Added constants:

SQLITE_CONSTRAINT_DATATYPE, SQLITE_OPEN_EXRESCODE
2022-01-11 09:06:10 +00:00
adam
240b0e0b0e py-aiounittest: updated to 1.4.1
1.4.1

What's Changed

Fix typo in documentation
Fix main example
Re-export top-level imports to satisfy Mypy
2022-01-11 08:56:21 +00:00
adam
dc6ea115ec Updated security/py-gnupg, devel/py-bitarray 2022-01-11 08:50:18 +00:00
adam
98d98e2692 py-bitarray: updated to 2.3.5
2.3.5:
* Fixed bug for big-endian systems (such as IBM s390)
* Pass `zip_safe=False` to `setup()`
2022-01-11 08:49:53 +00:00
adam
7b60c388ad py-gnupg: updated to 0.4.8
Switch to python-gnupg.

This module allows easy access to GnuPG’s key management, encryption and signature functionality from Python programs. It is intended for use with Python 2.4 or greater.
2022-01-11 08:45:10 +00:00
adam
0ca1969a41 Updated lang/nodejs, lang/nodejs12 2022-01-11 08:03:20 +00:00
adam
cd6ce21083 nodejs12: updated to 12.22.9
Version 12.22.9 'Erbium' (LTS)

Notable changes

Improper handling of URI Subject Alternative Names (Medium)(CVE-2021-44531)
Certificate Verification Bypass via String Injection (Medium)(CVE-2021-44532)
Incorrect handling of certificate subject and issuer fields (Medium)(CVE-2021-44533)
Prototype pollution via console.table properties (Low)(CVE-2022-21824)
2022-01-11 08:03:02 +00:00
adam
d7e503a29a nodejs: updated to 14.18.3
Version 14.18.3 'Fermium' (LTS)

Notable changes

Improper handling of URI Subject Alternative Names (Medium)(CVE-2021-44531)
Certificate Verification Bypass via String Injection (Medium)(CVE-2021-44532)
Incorrect handling of certificate subject and issuer fields (Medium)(CVE-2021-44533)
Prototype pollution via console.table properties (Low)(CVE-2022-21824)
2022-01-11 08:02:04 +00:00
wiz
83e544f6a9 hub: adapt github URL in DESCR
github deprecated git://
2022-01-11 07:51:58 +00:00
adam
c83ce0c302 Updated comms/py-rich, comms/py-enrich, lang/py-mypy, www/py-respx 2022-01-11 07:11:06 +00:00
adam
8d6c65ff1c py-respx: updated to 0.19.1
0.19.1

Fixed
- Allow first path segments containing colons
- Fix license classifier
- Fix typos
2022-01-11 07:10:39 +00:00
adam
c82d15fd10 py-mypy: updated to 0.931
0.931

Fixes to Regressions

Fix mypyc binary wheel
Revert to treating multi-line strings as a single value for exclude in TOML files
Revert to treating exclude in .ini as a single value
Fix __slots__ regression
Fix regression with __module__ and similar non-final Enum attributes
Fix regression when a contextmanager yields a generic function
Fix __reduce__ regression
Fix NoReturn type aliases
Fix regression in None handling with --no-strict-optional
Fix crash related to generics
Restore removed builtin_type() plugin API method

Other Fixes

Always allow the use of type[T] in stubs
Fix PEP 585 type aliases in stubs
Fix bug with literal types in stubtest
2022-01-11 07:07:42 +00:00
adam
331ef5cc67 py-enrich: updated to 1.2.7
v1.2.7

Bugfixes

Enable mypy strict mode
Expose support for python 3.10
Fix mypy errors
2022-01-11 07:02:16 +00:00
adam
4f13095c9e py-rich: updated to 11.0.0
11.0.0

Added

Added max_depth arg to pretty printing https://github.com/Textualize/rich/issues/1585
Added vertical_align to Table.add_row https://github.com/Textualize/rich/issues/1590

Fixed

Fixed issue with pretty repr in jupyter notebook https://github.com/Textualize/rich/issues/1717
Fix Traceback theme defaults override user supplied styles https://github.com/Textualize/rich/issues/1786

Changed

breaking Deprecated rich.console.RenderGroup, now named rich.console.Group
breaking Syntax.__init__ parameter lexer_name renamed to lexer
Syntax constructor accepts both str and now a pygments lexer https://github.com/Textualize/rich/pull/1748
2022-01-11 07:00:27 +00:00
wiz
26d519a1f9 py-setuptools*: convert to egg.mk 2022-01-10 23:49:02 +00:00
wiz
b1e1e2c132 *: convert to egg.mk 2022-01-10 23:46:48 +00:00
wiz
e32bd0902d py-scgi: convert to egg.mk 2022-01-10 22:46:42 +00:00
wiz
cd530ee082 py-graphite-web: convert to egg.mk 2022-01-10 22:46:03 +00:00
wiz
5cf3637dac py-X: convert to egg.mk 2022-01-10 22:45:10 +00:00
wiz
63d29980be mitmproxy: convert to egg.mk 2022-01-10 22:43:41 +00:00
wiz
c30da7e048 ibus-tegaki: convert to egg.mk 2022-01-10 22:42:03 +00:00
wiz
f9d1d125c0 py-winpdb: convert to egg.mk 2022-01-10 22:41:04 +00:00
wiz
b73dc13a22 py-ruamel-yaml: fix installation 2022-01-10 22:40:19 +00:00
wiz
09efd83dec bzr-explorer: convert to egg.mk 2022-01-10 22:37:51 +00:00
wiz
659d266c6d py-PgSQL: convert to egg.mk 2022-01-10 22:36:51 +00:00
wiz
584c4a5975 gourmet: convert to egg.mk 2022-01-10 22:35:54 +00:00
wiz
d3f37fb39b zopeedit: convert to egg.mk 2022-01-10 22:25:46 +00:00
wiz
7210008841 xxdiff-scripts: convert to egg.mk 2022-01-10 22:24:39 +00:00
wiz
48111c21b2 urlgrabber: convert to egg.mk 2022-01-10 22:22:00 +00:00
wiz
0a8e85ae1b speedtest-cli: set USE_PKG_RESOURCES 2022-01-10 22:21:17 +00:00
wiz
825056105e speedtest-cli: convert to egg.mk 2022-01-10 22:20:26 +00:00
wiz
2e43d90341 roundup: convert to egg.mk 2022-01-10 22:19:31 +00:00