Commit graph

14831 commits

Author SHA1 Message Date
jym fd37664fde PHP 7.4 reached EOL November 28 2022.
Reference the PHP "supported versions" URL [1] rather than pointing towards
specific revisions that are, or will be, EOL eventually.

[1] https://www.php.net/supported-versions.php
2023-11-14 02:00:58 +00:00
taca 54a224aa9f lang/php: switch default PHP's version to 8.1
Switch default PHP's version to 8.1 after discussion on tech-pkg@.
2023-11-13 16:33:10 +00:00
wiz 55a3644820 py-lsp-server: update to 1.9.0.
## Version 1.9.0 (2023/11/06)

### Issues Closed

* rope_autoimport doesn't initialize after `workspace/didChangeConfiguration` message
* Add code action for implementing auto-import
* Maybe use initializationOptions as additional source of settings

### Pull Requests Merged

* Revert "Rename `_utils` module to `utils`"
* Rename `_utils` module to `utils`
* Raise supported Pylint upper version
* Improve/simplify README Development section
* Add code completions to `rope_autoimport` plugin
* Pass argument `extendIgnore` to flake8
* Ignore notebook names on cell completion for autoimport
* Minor bug fix in Rope autoimport plugin
* Make workspace/didChangeConfig work with notebook documents
* Load `rope_autoimport` cache on `workspace/didChangeConfiguration`
* Support `initializationOptions` to configure the server
* Fix missing signatures for docstrings in Markdown
2023-11-13 11:15:06 +00:00
wiz acc6405ee2 *: revebump for new brotli option for freetype2
Addresses PR 57693
2023-11-12 13:20:31 +00:00
schmonz 1ab6ef176a execline: update to 2.9.4.0. Changes:
- Adaptation to skalibs-2.14.0.0.
- New dummy -e option in execlineb.
- Slightly better error reporting in execlineb.
2023-11-11 11:52:41 +00:00
adam 343b67f953 oracle-jdk17: updated to 17.0.9
17.0.9
https://www.oracle.com/java/technologies/javase/17-0-9-relnotes.html#R17_0_9
2023-11-10 18:30:26 +00:00
nia af3f247d3b Revert previous 2023-11-10 16:55:31 +00:00
bsiegert 3989a08567 Revbump all Go packages after go121 update 2023-11-10 15:45:04 +00:00
bsiegert 4bbf6aab1c Update go120 to 1.20.11 and go121 to 1.21.4 (security).
These minor releases include 2 security fixes following the security policy:

- path/filepath: recognize \??\ as a Root Local Device path prefix.

  On Windows, a path beginning with \??\ is a Root Local Device path equivalent
  to a path beginning with \\?\. Paths with a \??\ prefix may be used to access
  arbitrary locations on the system. For example, the path \??\c:\x is
  equivalent to the more common path c:\x.

  The filepath package did not recognize paths with a \??\ prefix as special.

  Clean could convert a rooted path such as \a\..\??\b into
  the root local device path \??\b. It will now convert this
  path into .\??\b.

  IsAbs did not report paths beginning with \??\ as absolute.
  It now does so.

  VolumeName now reports the \??\ prefix as a volume name.

  Join(`\`, `??`, `b`) could convert a seemingly innocent
  sequence of path elements into the root local device path
  \??\b. It will now convert this to \.\??\b.

  This is CVE-2023-45283 and https://go.dev/issue/63713.

- path/filepath: recognize device names with trailing spaces and superscripts

  The IsLocal function did not correctly detect reserved names in some cases:

  reserved names followed by spaces, such as "COM1 ".
  "COM" or "LPT" followed by a superscript 1, 2, or 3.
  IsLocal now correctly reports these names as non-local.

  This is CVE-2023-45284 and https://go.dev/issue/63713.
2023-11-10 15:39:34 +00:00
nia ee593830c1 python39: Honour user's choice of readline implementation. 2023-11-10 12:14:04 +00:00
nia 4ae58f0227 python: Honour user's choice of readline implementation. 2023-11-10 12:13:22 +00:00
nia d5c403ed5a python39, python310: Fixes for Mac OS X 10.4 via MacPorts. 2023-11-10 09:48:39 +00:00
wiz 9ffc0c19f4 py-cmake-language-server: make PKGNAME match directory name 2023-11-09 14:19:49 +00:00
wiz 3dbeee8487 *: recursive bump for icu 74.1 2023-11-08 13:18:02 +00:00
wiz 0c4646c355 *: latest py-sphinx only support Python 3.9+ 2023-11-07 22:37:56 +00:00
gdt d73686e26e lang/guile18: Note SunOS build failure
Add comments explaining where building on SunOS fails.  This is very
likely an upstream problem rather than a pkgsrc problem, and guile18
is old, so this is very unlikely to be fixed.  Add commented-out
BROKEN_ON pending something like IGNORE_BROKEN_NO.
2023-11-07 18:51:56 +00:00
nia e53fcb1898 Centralize per-package hacks for lack of -rpath on Darwin/powerpc. 2023-11-07 13:19:47 +00:00
nia 36aff40b9a Default to python 3.10 if compiler lacks c11 support. 2023-11-07 11:36:57 +00:00
nia 853ec99902 Python from version 3.11 onwards requires a C11 capable compiler. 2023-11-07 11:27:22 +00:00
wiz 7871945ae5 py-lsp-server: update to 1.8.2.
# History of changes

## Version 1.8.2 (2023/10/09)

* notebookDocumentSync notebookSelector type error


### Pull Requests Merged

* Fix notebook document selector not being a list in capabilities


----

## Version 1.8.1 (2023/10/05)

### Issues Closed

* `includeDeclaration` is no longer respected in `textDocument/references`
* flake8 can error out when deleting lines
* textDocument/rename reports positions outside of the document


### Pull Requests Merged

* Fix renaming when file has no EOLs
* Increase minimal required version of autopep8 to `>=2.0.4,<2.1.0`
* Fix numpy go-to-definition by taking it off autoimport list for this case
* Allow Jedi "goto" to perform multiple hops for "go to definition"
* Pass a single copy of the document's source around for flake8
* Fix `include_declaration` handling in references request
* Add black reformatting commit to `.git-blame-ignore-revs`


----

## Version 1.8.0 (2023/09/08)

### New features

* Add notebooks suppport and make go-to-definition work for them.
* Add support for Pyflakes 3.1, Pycodestyle 2.11 and Jedi 0.19.
* Drop support for Python 3.7.

### Issues Closed

* Error in Pyflakes plugin: 'NoneType' has no len()
* Support Jedi 0.19
* Add support for pyflakes 3.1
* flake8_lint plugin: Popen fails when no workspace given by language server client on Windows
* Using black as an autoformatter
* Replace `setuptools`/`pkg_resources` with `importlib(.|_)metadata`
* Failed to handle requests after exit


### Pull Requests Merged

* Don't set cwd in Popen kwargs when document root is empty (flake8)
* Fix null reference for syntax errors due to invalid encodings (Pyflakes)
* Use invalid request handler rather than raising key error for requests after shutdown
* Format the whole repo with Black
* Converge unit tests for test_language_server and test_notebook_document
* Drop support for Python 3.7
* Bump Jedi upper pin to <0.20
* Add support for pyflakes 3.1 and pycodestyle 2.11
* Notebook protocol go-to-definition support
* Add notebooks suppport to pylsp
* Find `entry_points` with `importlib(.|_)metadata`, drop `setuptools` from `dependencies`
2023-11-07 10:36:23 +00:00
nia 27b4ee749c Centralize hack for old Darwin gcc, since it's needed by more packages
than expected.
2023-11-07 09:54:49 +00:00
wiz 0361a770a9 gawk: update to 5.3.0.
Changes from 5.2.x to 5.3.0
---------------------------

1. Infrastructure changes: Removed the use of libsigsegv. The
   value-add was never very much and it caused problems in some
   environments.

2. In keeping with new features in BWK awk, gawk now has built-in
   CSV file parsing. The behavior is intended to be identical to
   that of the "One True AWK" when --csv is applied. See the
   manual for details.

3. Also in keeping with BWK awk, gawk now supports a new \u escape
   sequence. This should be followed by 1-8 hexadecimal digits. The
   given code point is converted to its corresponding multibyte encoding
   for storage inside gawk. See the manual.

4. If PROCINFO["BUFFERPIPE"] exists, then pipe output is buffered.
   You can also use PROCINFO["command", "BUFFERPIPE"]. See the manual
   for details.

5. Because of the additional `do_csv' variable in the API, which breaks
   binary compatibility, the API major version was updated to 4 and
   the minor version was reset to zero.  The API remains source code
   compatible; that is, existing extensions should only require recompilation.

6. The manual now requires Texinfo 7.1 and its texinfo.tex for formatting.
   As a result, we no longer need to pre-process it, removing the need
   for gawktexi.in and leaving just gawk.texi.

7. And of course, there have been several minor code cleanups and bug fixes.
   See the ChangeLog for details.

Changes from 5.2.2 to 5.2.x
---------------------------

1. The readdir extension has been updated with additonal code and
   features, see the manual or its man page. As a result, the
   readdir_test.c extension has been removed.

2. We have a new translation: Ukranian.

3. Several subtle issues related to null regexp matches around
   multibyte characters have been fixed.
2023-11-07 09:17:20 +00:00
pho 43aa3e9748 lang/idris2: Add upstream URLs to patches 2023-11-07 03:40:19 +00:00
fcambus f3452e2b73 yabasic: update to 2.90.4.
Version 2.90.4 (September 17, 2023)

- Fixed a bug related with 'print using' under windows. Thanx to Paul
  Shutler for reporting this !
2023-11-06 21:55:58 +00:00
pho 8dce9dbddc lang/Makefile: + idris2 2023-11-06 17:18:09 +00:00
pho 52115a37f0 lang/idris2: import idris2-0.6.0
Idris is a programming language designed to encourage Type-Driven
Development.

In type-driven development, types are tools for constructing programs. We
treat the type as the plan for a program, and use the compiler and type
checker as our assistant, guiding us to a complete program that satisfies
the type. The more expressive the type is that we give up front, the more
confidence we can have that the resulting program will be correct.

In Idris, types are first-class constructs in the langauge. This means
types can be passed as arguments to functions, and returned from functions
just like any other value, such as numbers, strings, or lists. This is a
small but powerful idea, enabling:

* relationships to be expressed between values; for example, that two lists
  have the same length.

* assumptions to be made explicit and checked by the compiler. For example,
  if you assume that a list is non-empty, Idris can ensure this assumption
  always holds before the program is run.

* if desired, properties of program behaviour to be formally stated and
  proven.
2023-11-06 17:17:50 +00:00
pho 23c4842dd1 lang/Makefile: + chezscheme 2023-11-06 17:16:15 +00:00
pho 2cf255ceb0 lang/chezscheme: import chezscheme-9.9.9alpha2023.11.03
Chez Scheme is both a programming language and an implementation of that
language, with supporting tools and documentation.

As a superset of the language described in the Revised6 Report on the
Algorithmic Language Scheme (R6RS), Chez Scheme supports all standard
features of Scheme, including first-class procedures, proper treatment of
tail calls, continuations, user-defined records, libraries, exceptions, and
hygienic macro expansion.

Chez Scheme also includes extensive support for interfacing with C and
other languages, support for multiple threads possibly running on multiple
cores, non-blocking I/O, and many other features.

The Chez Scheme implementation consists of a compiler, run-time system, and
programming environment. Although an interpreter is available, all code is
compiled by default. Source code is compiled on-the-fly when loaded from a
source file or entered via the shell. A source file can also be precompiled
into a stored binary form and automatically recompiled when its
dependencies change. Whether compiling on the fly or precompiling, the
compiler produces optimized machine code, with some optimization across
separately compiled library boundaries. The compiler can also be directed
to perform whole-program compilation, which does full cross-library
optimization and also reduces a program and the libraries upon which it
depends to a single binary.
2023-11-06 17:15:57 +00:00
nia def140c7e7 perl5: Normalize the legacy darwin hack with other hacks in the package. 2023-11-05 18:18:46 +00:00
nia 673bff9251 perl5: Fix building on Mac OS X Tiger. 2023-11-05 18:04:20 +00:00
wiz 61a260425d python: add support for cffi to versioned_dependencies.mk 2023-11-05 13:38:37 +00:00
wiz 271ee9f48d py-uncompyle6: no support for Python 3.12 yet 2023-11-05 11:49:51 +00:00
adam 4810917578 erlang: use BSD_INSTALL_LIB to install shared libraries instead of INSTALL_PROGRAM; this avoid stripping on some platforms like Darwin 2023-11-02 19:20:46 +00:00
pho c821159553 lang/ghc96: Add pull-request URLs to patches 2023-11-02 15:29:31 +00:00
pho 71a4eebd05 lang/ghc96: Add pull-request URLs to patches 2023-11-02 14:32:04 +00:00
adam 806570f4a5 nodejs: cleanup 2023-11-02 13:22:41 +00:00
adam d075beb2ba nodejs20: cleanup 2023-11-02 13:22:01 +00:00
adam 5946ea6052 nodejs16: allow build with Python 3.12 2023-11-02 13:21:07 +00:00
adam da9f23f382 nodejs18: allow build with Python 3.12 2023-11-02 13:20:35 +00:00
adam e2cd92f37b nodejs: add missing patches 2023-11-02 13:18:41 +00:00
adam f189f904ab nodejs: updated to 21.1.0
Version 21.1.0 (Current)

Notable Changes

Automatically detect and run ESM syntax

The new flag --experimental-detect-module can be used to automatically run ES modules when their syntax can be detected. For “ambiguous” files, which are .js or extensionless files with no package.json with a type field, Node.js will parse the file to detect ES module syntax; if found, it will run the file as an ES module, otherwise it will run the file as a CommonJS module. The same applies to string input via --eval or STDIN.

We hope to make detection enabled by default in a future version of Node.js. Detection increases startup time, so we encourage everyone — especially package authors — to add a type field to package.json, even for the default "type": "commonjs". The presence of a type field, or explicit extensions such as .mjs or .cjs, will opt out of detection.


vm: fix V8 compilation cache support for vm.Script

Previously repeated compilation of the same source code using vm.Script stopped hitting the V8 compilation cache after v16.x when support for importModuleDynamically was added to vm.Script, resulting in a performance regression that blocked users (in particular Jest users) from upgrading from v16.x.

The recent fixes landed in v21.1.0 allow the compilation cache to be hit again for vm.Script when --experimental-vm-modules is not used even in the presence of the importModuleDynamically option, so that users affected by the performance regression can now upgrade. Ongoing work is also being done to enable compilation cache support for vm.CompileFunction.
2023-11-02 13:18:15 +00:00
adam 674249bfe4 nodejs20: added version 20.9.0 (from lang/nodejs)
Version 20.9.0 'Iron' (LTS)

Notable Changes

This release marks the transition of Node.js 20.x into Long Term Support (LTS) with the codename 'Iron'. The 20.x release line now moves into "Active LTS" and will remain so until October 2024. After that time, it will move into "Maintenance" until end of life in April 2026.

Known issue

Collecting code coverage via the NODE_V8_COVERAGE environment variable may lead to a hang. This is not thought to be a regression in Node.js 20 (some reports are on Node.js 18). For more information, including some potential workarounds.
2023-11-02 13:16:54 +00:00
adam cdc2dfaecd py-pygls: updated to 1.1.2
1.1.2

Documentation

Correct doc comment for PositionCodec.client_num_units

Miscellaneous Tasks

Update CHANGELOG.md
Update CONTRIBUTORS.md
Split protocol.py into own folder/files

Build

Bump urllib3 from 2.0.6 to 2.0.7
Allow installation with typeguard 4.x
2023-11-02 08:33:13 +00:00
pho 0033cf31c7 Revbump all Haskell after updating lang/ghc96 2023-11-02 06:36:09 +00:00
pho 34fc4d6303 - hs-purescript-cst 2023-11-02 04:58:04 +00:00
pho b2e12796a3 lang/hs-purescript-cst: Remove
This package has been merged to lang/purescript and is no longer
maintained. No packages on pkgsrc depend on it anymore.
2023-11-02 04:57:40 +00:00
jperkin 39606dda9a php: Restore EXTENSION_* variables.
Any php package built since gdt's change on Oct 21st and now will be broken and
must be rebuilt, as well as replacing the installed configuration files, to
avoid syntax errors in installed php ini files.

Resolves TritonDataCenter/pkgsrc#367.
2023-11-01 18:05:31 +00:00
pho 5abca29330 lang/ghc96: Fix Cabal on Darwin trying to install shared libraries having '@rpath' and fail
Sorry, Darwin users. It's likely that I've been shipping broken GHC on this
platform for so long. I should have done more tests on the platform.
2023-11-01 17:53:53 +00:00
pho 991d4927d7 lang/Makefile: + hjsmin 2023-11-01 03:15:04 +00:00
pho 7e6a7bba30 lang/hjsmin: import hjsmin-0.2.1
Reduces size of javascript files by stripping out extraneous whitespace and
other syntactic elements, without changing the semantics.
2023-11-01 03:14:49 +00:00
adam 35d2ba6e09 qt6: updated to 6.6.0
Qt 6.6
https://www.qt.io/blog/qt-6.6-released
2023-10-31 19:56:48 +00:00
pho f573497447 lang/spago: Update to 0.21.0
No change log is provided by the upstream.
2023-10-31 12:21:13 +00:00
pho ddb00c0e69 lang/dhall: Update to 1.42.0
1.42.0
* Supports standard version 23.0.0
  - BREAKING CHANGE TO THE API AND LANGUAGE: Language support for Bytes
    literals
    * This is a breaking change to the API due to adding new Bytes and
      BytesLiteral constructors to the Expr type
    * This is a breaking change to the language now that Bytes is a
      reserved identifier
  - BREAKING CHANGE TO THE API AND LANGUAGE: New {Date,Time,TimeZone}/show
    builtins
    * This is a breaking change to the API due to adding new
      {Date,Time,TimeZone}Show constructors to the Expr type
    * This is a breaking change to the language now that
      {Date,Time,TimeZone}/show are not reserved identifiers
* BREAKING CHANGE: dhall lint no longer sorts let bindings
  - This had to be removed because the old behavior was not always correct
  - The old behavior would sometimes change the behavior of a Dhall program
    or break the program
  - Out of an abundance of caution we're disabling the feature until it can
    be properly fixed (which is't trivial)
* BUG FIX: Fix pretty-printing of Time literals
  - The pretty-printer was stripping leading zeros from the fractional
    component of seconds
* BUG FIX: Fix custom normalizers to work for things other than functions
  - Before this change you could extend the language with custom functions,
    but not custom values (e.g. foo = 1)
* BUG FIX: Don't URL encode path components
  - The pretty-printer was URL-encoding path components, which is not
    correct (according to the standard)
  - URL path components are supposed to be already URL-encoded by the user
    and left undisturbed by the interpreter (which is now what it correctly
    does)
* New dhall package command: #2478, #2508
  - This command makes it easier to turn a directory full of Dhall
    expressions into a dhall package (e.g. package.dhall)
* Improved dhall to-directory-tree subcommand
  - The dhall to-directory-tree subcommand now optionally supports
    specifying metadata for generated paths
  - For a worked example, see:
    https://github.com/dhall-lang/dhall-haskell/blob/main/dhall/examples/to-directory-tree.dhall
* dhall freeze --cache --all is now idempotent: #2486, #2500
  - Before this change a second run would fail due to attempting to resolve
    the missing import it would generate
* New Template Haskell options for adding strictness annotations to
  generated Haskell types
* Template Haskell can now generate higher-kinded Haskell types from
  higher-kinded Dhall types
* New Dhall.Freeze utilities for working with custom evaluators
* Add Data instances for Import and various other types
* Add Eq instances for InvalidDecoder and ExtractError
2023-10-31 08:46:24 +00:00
pho de542a3d9e lang/purescript: Update to 0.15.12
The change log is too long to paste here. See
https://github.com/purescript/purescript/releases
2023-10-31 07:38:55 +00:00
pho f5f568b88d lang/hs-hslua: Update to 2.3.0
hslua-2.3.0 -Released 2023-03-13.
* Require version 2.3.* of HsLua packages: hslua-core, hslua-marshalling,
  hslua-objectorientation, hslua-packaging, hslua-aeson, hslua-classes.
* Include hslua-typing, re-export HsLua.Typing.
2023-10-30 17:31:20 +00:00
pho 5b4c69b5d7 lang/idris: comment 2023-10-30 16:23:12 +00:00
pho 59d8da5780 lang/idris: Fix build with GHC 9.6 2023-10-30 15:39:56 +00:00
pho d57d2e62d0 lang/hs-purescript-cst: Fix build with GHC 9.6 2023-10-30 10:07:06 +00:00
pho d311f5203d lang/hs-sourcemap: Fix build with GHC 9.6 2023-10-30 09:57:17 +00:00
pho 1077c9d7eb lang/hs-hslua-packaging: Update to 2.3.0
hslua-packaging-2.3.0 - Released 2023-03-13.
* Type initializers as part of Module records. This allows to associate
  types with a module. For performance reasons, the types are not
  initialized when the module is pushed, but only on first use. However,
  the documentation Lua object for each module now has an additional field
  types. The new field contains a function that returns the names of all
  associated types. Calling the function will also initialize these types,
  thereby making the respective metatables available in the registry.
* Field records now have an additional fieldType entry. [API change]
* The pushUD function is now specialized to documented types.
* Export initType. The function ensures that the metatable of a type has
  been fully initialized. This can be helpful when the default method of
  lazy initialization is not desired, e.g. when the type object is to be
  inspected or extended.
* Re-export udDocs, udTypeSpec, allowing to generate typing info for
  userdata classes.
2023-10-30 09:15:06 +00:00
pho ad983ee9a2 lang/hs-hslua-objectorientation: Update to 2.3.0
hslua-objectorientation-2.3.0 - Released 2023-03-13.

* Export all constructors and functions of type Property.

* Renamed peekUD to peekUDGeneric and pushUD to pushUDGeneric. Functions
  with the old names are now now defined hslua-packaging.

* Hook for udtype metatable initializer. The function pushUDGeneric takes
  an additional hook parameter. The hook operation can be used to perform
  additional setup operations, e.g., for documentation.

  The old pushUD function can be recovered with

    pushUD = pushUDGeneric (\_ -> pure ())

  The hslua-packaging now exports a pushUD functions that is specialized to documented types.

* Export new function initTypeGeneric: The function ensures that a type's
  metatable is initialized and available from the registry. Just like with
  pushUDGeneric, a hook can be used to augment the initialization.

* Type info for properties: Properties are amended with information on the
  property's type. The functions property, possibleProperty, and readonly
  each now come with typed version property', possibleProperty', and
  readonly'. This allows to specify the type of a property value.

* Functions for object typing info: The functions udDocs and udTypeSpec are
  added, enabling the generation of typing information for UDType objects.
2023-10-30 03:00:21 +00:00
wiz adec16e499 python: wheel.mk: add default test target using py-test
If you want to define your own, define a do-test or set USE_PYTEST to no
2023-10-29 22:50:35 +00:00
pho ca2b59f552 lang/Makefile: + hs-hslua-typing 2023-10-29 18:32:06 +00:00
pho 390bf00d75 lang/hs-hslua-typing: import hs-hslua-typing-0.1.0
Type specifiers for Lua.

Structure to hold detailed type information. The primary use-case at this
time are auto-generated docs.
2023-10-29 18:31:50 +00:00
wiz 2fe9ea1547 python: note that wheel.mk is preferred 2023-10-29 17:07:15 +00:00
adam 168cab6492 py-executing: updated to 2.0.1
2.0.1
Set python_requires
2023-10-29 16:42:13 +00:00
bsiegert 8e81cd609e Revbump all Go packages because go121 is now the default 2023-10-29 14:48:06 +00:00
bsiegert e6f988f025 Set Go 1.21 as the default Go version.
I did a verification bulk build with this change and updated all the
packages that were broken by this (kubo, ipget, caddy, etc.), so I hope
that this does not introduce any breakage.
2023-10-29 14:40:35 +00:00
ryoon 8840cabf01 nodejs: Add Python 3.12 support 2023-10-29 13:44:04 +00:00
pho a1731a396b lang/hs-hslua-cli: Update to 1.4.1
hslua-cli-1.4.1 - Released 2023-03-18.
* Always start the REPL if the -i parameter is given on the command
  line. This fixes a bug where the REPL would not start if -v, -e or -l
  where given.

hslua-cli-1.4.0.1 - Released 2023-03-17.
* Fix building on Windows.

hslua-cli-1.4.0 - Released 2023-03-16.
* Isocline-based REPL: interactive mode is now supported with the help of a
  new repl built with the isocline library.

hslua-cli-1.3.0 - Released 2023-03-13.
* Require hslua-core 2.3.
2023-10-29 11:45:07 +00:00
pho 23e892d342 lang/hs-hslua-classes: Update to 2.3.0
hslua-classes-2.3.0 - Released 2023-03-13.
* Require version 2.3.* of HsLua packages hslua-core and hslua-marshalling.
2023-10-29 07:13:50 +00:00
pho 00d2633e62 lang/hs-hslua-list: Update to 1.1.1
hslua-list-1.1.1 - Released 2023-03-17.
* Conversion to strings: added a __tostring that lists all elements
  separated by commas and a space, surrounded by braces and prefixed with
  the metatable's name.
2023-10-28 20:12:37 +00:00
pho 627110c2e6 lang/hs-hslua-marshalling: Update to 2.3.0
hslua-marshalling-2.3.0 - Released 2023-03-13.
* Result is now an instance of MonadFail.
* New peeker and pusher functions for NonEmpty.
* Peeker combinators for optional values: The new combinators peekNilOr,
  peekNoneOr, and peekNoneOrNil can be used to retrieve optional values.
2023-10-28 20:10:44 +00:00
wiz 46974a4bd3 python/wheel.mk: simplify a lot, and switch to 'installer' for installation
This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
2023-10-28 19:56:54 +00:00
pho 06740076f5 lang/Makefile: + hs-hslua-repl 2023-10-28 09:40:45 +00:00
pho ac376f2010 lang/hs-hslua-repl: import hs-hslua-repl-0.1.1
An embeddable, isocline-based Lua REPL.
2023-10-28 09:40:21 +00:00
taca 13404d4291 lang/php81: update to 8.1.25
26 Oct 2023, PHP 8.1.25

- Core:
  . Fixed bug GH-12207 (memory leak when class using trait with doc block).
    (rioderelfte)
  . Fixed bug GH-12215 (Module entry being overwritten causes type errors in
    ext/dom). (nielsdos)
  . Fixed bug GH-12273 (__builtin_cpu_init check). (Freaky)
  . Fixed bug #80092 (ZTS + preload = segfault on shutdown). (nielsdos)

- CLI:
  . Ensure a single Date header is present. (coppolafab)

- CType:
  . Fixed bug GH-11997 (ctype_alnum 5 times slower in PHP 8.1 or greater).
    (nielsdos)

- DOM:
  . Restore old namespace reconciliation behaviour. (nielsdos)
  . Fixed bug GH-8996 (DOMNode serialization on PHP ^8.1). (nielsdos)

- Fileinfo:
  . Fixed bug GH-11891 (fileinfo returns text/xml for some svg files). (usarise)

- Filter:
  . Fix explicit FILTER_REQUIRE_SCALAR with FILTER_CALLBACK (ilutov)

- Hash:
  . Fixed bug GH-12186 (segfault copying/cloning a finalized HashContext).
    (MaxSem)

- Intl:
  . Fixed bug GH-12243 (segfault on IntlDateFormatter::construct).
    (David Carlier)
  . Fixed bug GH-12282 (IntlDateFormatter::construct should throw an exception
    on an invalid locale). (David Carlier)

- MySQLnd:
  . Fixed bug GH-12297 (PHP Startup: Invalid library (maybe not a PHP library)
    'mysqlnd.so' in Unknown on line). (nielsdos)

- Opcache:
  . Fixed opcache_invalidate() on deleted file. (mikhainin)
  . Fixed bug GH-12380 (JIT+private array property access inside closure
    accesses private property in child class). (nielsdos)

- PCRE:
  . Fixed bug GH-11956 (Backport upstream fix, PCRE regular expressions with
    JIT enabled gives different result). (nielsdos)

- SimpleXML:
  . Fixed bug GH-12170 (Can't use xpath with comments in SimpleXML). (nielsdos)
  . Fixed bug GH-12223 (Entity reference produces infinite loop in
    var_dump/print_r). (nielsdos)
  . Fixed bug GH-12167 (Unable to get processing instruction contents in
    SimpleXML). (nielsdos)
  . Fixed bug GH-12169 (Unable to get comment contents in SimpleXML).
    (nielsdos)

- Streams:
  . Fixed bug GH-12190 (binding ipv4 address with both address and port at 0).
    (David Carlier)

- XML:
  . Fix return type of stub of xml_parse_into_struct(). (nielsdos)
  . Fix memory leak when calling xml_parse_into_struct() twice. (nielsdos)

- XSL:
  . Fix type error on XSLTProcessor::transformToDoc return value with
    SimpleXML. (nielsdos)

- Sockets:
  . Fix socket_export_stream() with wrong protocol (twosee)
2023-10-27 15:04:30 +00:00
taca 59d269b8c8 lang/php82: update to 8.2.12
26 Oct 2023, PHP 8.2.12

- Core:
  . Fixed bug GH-12207 (memory leak when class using trait with doc block).
    (rioderelfte)
  . Fixed bug GH-12215 (Module entry being overwritten causes type errors in
    ext/dom). (nielsdos)
  . Fixed bug GH-12273 (__builtin_cpu_init check). (Freaky)
  . Fixed bug #80092 (ZTS + preload = segfault on shutdown). (nielsdos)

- CLI:
  . Ensure a single Date header is present. (coppolafab)

- CType:
  . Fixed bug GH-11997 (ctype_alnum 5 times slower in PHP 8.1 or greater).
    (nielsdos)

- DOM:
  . Restore old namespace reconciliation behaviour. (nielsdos)
  . Fixed bug GH-8996 (DOMNode serialization on PHP ^8.1). (nielsdos)

- Fileinfo:
  . Fixed bug GH-11891 (fileinfo returns text/xml for some svg files). (usarise)

- Filter:
  . Fix explicit FILTER_REQUIRE_SCALAR with FILTER_CALLBACK (ilutov)

- Hash:
  . Fixed bug GH-12186 (segfault copying/cloning a finalized HashContext).
    (MaxSem)

- Intl:
  . Fixed bug GH-12243 (segfault on IntlDateFormatter::construct).
    (David Carlier)
  . Fixed bug GH-12282 (IntlDateFormatter::construct should throw an exception
    on an invalid locale). (David Carlier)

- MySQLnd:
  . Fixed bug GH-12297 (PHP Startup: Invalid library (maybe not a PHP library)
    'mysqlnd.so' in Unknown on line). (nielsdos)

- Opcache:
  . Fixed opcache_invalidate() on deleted file. (mikhainin)
  . Fixed bug GH-12380 (JIT+private array property access inside closure
    accesses private property in child class). (nielsdos)

- PCRE:
  . Fixed bug GH-11956 (Backport upstream fix, PCRE regular expressions with
    JIT enabled gives different result). (nielsdos)

- SimpleXML:
  . Fixed bug GH-12170 (Can't use xpath with comments in SimpleXML). (nielsdos)
  . Fixed bug GH-12223 (Entity reference produces infinite loop in
    var_dump/print_r). (nielsdos)
  . Fixed bug GH-12167 (Unable to get processing instruction contents in
    SimpleXML). (nielsdos)
  . Fixed bug GH-12169 (Unable to get comment contents in SimpleXML).
    (nielsdos)

- Streams:
  . Fixed bug GH-12190 (binding ipv4 address with both address and port at 0).
    (David Carlier)

- XML:
  . Fix return type of stub of xml_parse_into_struct(). (nielsdos)
  . Fix memory leak when calling xml_parse_into_struct() twice. (nielsdos)

- XSL:
  . Fix type error on XSLTProcessor::transformToDoc return value with
    SimpleXML. (nielsdos)
2023-10-27 15:02:43 +00:00
jperkin 6544096f66 python39: Needs wide curses. 2023-10-27 13:36:59 +00:00
pho e02a502480 lang/hs-language-javascript: Fix build with GHC 9.6 2023-10-27 12:10:41 +00:00
pho 475f7b18cf lang/hs-hslua-core: Update to 2.3.1
hslua-core-2.3.1 - Released 2023-03-17.
* New module HsLua.Core.Debug: the module provides bindings to a subset of
  functions of the Lua debug interface. Currently the module only exports
  getupvalue and setupvalue, both of which are also re-exported from
  HsLua.Core.

hslua-core-2.3.0 - Released 2023-03-13.
* The functions loadfile, dofile, and dofileTrace now expect the argument
  to be of type Maybe FilePath. The functions load from stdin when the
  argument is Nothing.
* Added setwarnf' for simple warning messgae handling: The built-in method
  of setting a warn function is flexible but not straight-forward to
  use. The new setwarnf' function allows to set a Haskell action as a
  warning hook: the default warning behavior is kept in place, but, in
  addition to the default action, the hook is called on the concatenated
  warning messages. This can be used to plug Lua warnings into an
  application specific Haskell reporting system.
* Export GCManagedState, newGCManagedState, closeGCManagedState, and
  withGCManagedState from HsLua.Core.
2023-10-27 08:31:06 +00:00
adam 7b56b2cade py-test-mypy-testing: added version 0.1.1
pytest-mypy-testing provides a pytest plugin to test that mypy produces a given
output. As mypy can be told to display the type of an expression this allows us
to check mypys type interference.
2023-10-27 08:18:38 +00:00
wiz 034b7ce86e python*: needs wide curses 2023-10-27 08:02:29 +00:00
adam 0044bf7e0a py-asttokens: updated to 2.4.1
v2.4.1
Support Astroid v3
2023-10-26 13:09:46 +00:00
wiz c23a4ad1af python: ... and for share/doc 2023-10-26 10:18:34 +00:00
wiz 51832421d6 python: also replace PYVERSSUFFIX in man page names 2023-10-26 10:17:14 +00:00
wiz 8c847525d6 python: fix typos 2023-10-26 10:10:23 +00:00
wiz bf3181de0b python: extension.mk: replace python version number in binaries with var
(For print-PLIST)
2023-10-26 10:10:02 +00:00
wiz a9563c74cb python: clean up some duplicates in bootstrap.mk 2023-10-25 22:49:02 +00:00
wiz 2de20e4645 python: bootstrap: fix typo 2023-10-25 22:22:49 +00:00
wiz f3a4541c60 python: add bootstrap.mk
This file is intended to collect rules to build the basic packages
that are needed to build other packages.

As of now, the ones recommended by the Python community seem to be
flit_core -> installer -> build
2023-10-25 22:21:04 +00:00
wiz 773c3e13e7 python311: add 'wide' to USE_CURSES
(Guessing and trying to fix macOS bulk build, please step in if you know
the proper fix.)
2023-10-25 21:33:15 +00:00
osa 45d16877b0 */*: update NGINX JavaScript 0.8.1 -> 0.8.2
Bump PKGREVISION for www/nginx, www/nginx-devel, and www/unit.

<ChangeLog>

nginx modules:

*) Feature: introduced console object. The following methods
   were introduced: error(), info(), log(), time(), timeEnd(),
   warn().

*) Bugfix: fixed HEAD response handling with large Content-Length
   in fetch API.

*) Bugfix: fixed items() method for a shared dictionary.

*) Bugfix: fixed delete() method for a shared dictionary.

Core:

*) Feature: extended "fs" module. Added existsSync().

*) Bugfix: fixed "xml" module. Fixed broken XML exception handling
   in parse() method.

*) Bugfix: fixed RegExp.prototype.exec() with global regexp and
   unicode input.

*) Bugfix: fixed return statement parsing with invalid expression.

</ChangeLog>
2023-10-25 16:04:47 +00:00
ryoon a07652f32e rust: Fix chesksum for vendor/libc 2023-10-25 09:58:28 +00:00
pin eeb33e02da lang/rust-bin: update to 1.72.1
Follow rust-src.
For changes check the source package.
2023-10-25 05:52:49 +00:00
pin 0d09fc5c64 lang/rust: update to 1.72.1
Packaged in wip by he@ and adam@ with minor adjustments from myself.

v1.72.1
Changes
 - Adjust codegen change to improve LLVM codegen
 - rustdoc: Fix self ty params in objects with lifetimes
 - Fix regression in compile times
 - Resolve some ICE regressions in the compiler:
     - #115215
     - #115559

v1.72.0
Language
 - Replace const eval limit by a lint and add an exponential backoff warning
 - expand: Change how #![cfg(FALSE)] behaves on crate root
 - Stabilize inline asm for LoongArch64
 - Uplift clippy::undropped_manually_drops lint
 - Uplift clippy::invalid_utf8_in_unchecked lint as invalid_from_utf8_unchecked
   and invalid_from_utf8
 - Uplift clippy::cast_ref_to_mut lint as invalid_reference_casting
 - Uplift clippy::cmp_nan lint as invalid_nan_comparisons
 - resolve: Remove artificial import ambiguity errors
 - Don’t require associated types with Self: Sized bounds in dyn Trait objects

Compiler
 - Remember names of cfg-ed out items to mention them in diagnostics
 - Support for native WASM exceptions
 - Add support for NetBSD/aarch64-be (big-endian arm64).
 - Write to stdout if - is given as output file
 - Force all native libraries to be statically linked when linking a static
   binary
 - Add Tier 3 support for loongarch64-unknown-none*
 - Prevent .eh_frame from being emitted for -C panic=abort
 - Support 128-bit enum variant in debuginfo codegen
 - compiler: update solaris/illumos to enable tsan support.

Refer to Rust’s platform support page, platform-support-doc for more
information on Rust’s tiered platform support.

Libraries
 - Document memory orderings of thread::{park, unpark}
 - io: soften ‘at most one write attempt’ requirement in io::Write::write
 - Specify behavior of HashSet::insert
 - Relax implicit T: Sized bounds on BufReader<T>, BufWriter<T> and LineWriter<T>
 - Update runtime guarantee for select_nth_unstable
 - Return Ok on kill if process has already exited
 - Implement PartialOrd for Vecs over different allocators
 - Use 128 bits for TypeId hash
 - Don’t drain-on-drop in DrainFilter impls of various collections.
 - Make {Arc,Rc,Weak}::ptr_eq ignore pointer metadata

Rustdoc
 - Allow whitespace as path separator like double colon
 - Add search result item types after their name
 - Search for slices and arrays by type with []
 - Clean up type unification and “unboxing”

Stabilized APIs
 impl<T: Send> Sync for mpsc::Sender<T>
 impl TryFrom<&OsStr> for &str
 String::leak

These APIs are now stable in const contexts:
 CStr::from_bytes_with_nul
 CStr::to_bytes
 CStr::to_bytes_with_nul
 CStr::to_str

Cargo
 - Enable -Zdoctest-in-workspace by default. When running each documentation
   test, the working directory is set to the root directory of the package the
   test belongs to. docs #12221 #12288
 - Add support of the “default” keyword to reset previously set build.jobs
   parallelism back to the default. #12222

Compatibility Notes
 - Alter Display for Ipv6Addr for IPv4-compatible addresses
 - Cargo changed feature name validation check to a hard error. The warning was
   added in Rust 1.49. These extended characters aren’t allowed on crates.io,
   so this should only impact users of other registries, or people who don’t
   publish to a registry. #12291
 - Demoted mips*-unknown-linux-gnu* targets from host tier 2 to target tier 3 support.
2023-10-25 05:50:43 +00:00
wiz 90f4599de1 *: bump for openssl 3 2023-10-24 22:08:07 +00:00
pho 4399198965 lang/hs-lua: Update to 2.3.1
lua-2.3.1 - Released 2023-03-17.

* New module Lua.Debug: the module provides bindings to a subset of
  functions of the Lua debug interface. Currently the module only binds
  lua_getupvalue and lua_setupvalue.

lua-2.3.0 - Released 2023-03-13.

* New function hslua_setwarnf: The function allows to set a C function as a
  hook that is called on all complete warning messages. It is intended as a
  simple way to set a custom warning function.
* Export version and copyright info from Lua.Constants: the following
  patterns are made available, with content identical to that of the
  respective C functions: LUA_VERSION, LUA_RELEASE, and LUA_COPYRIGHT.
* Added a new flag cross-compile. When enabled, the code is setup in a way
  that allows cross-compilation of the package, but some of the string
  constants will be hard-coded and may not match the Lua version against
  which the library is compiled.
* Type is now an instance of Read.
2023-10-24 12:24:34 +00:00
wiz b07d894d8a python*: explicitly add --with-system-expat
To make sure expat module is linked against expat library.

Bump PKGREVISION.
2023-10-24 09:12:36 +00:00
pho 165d35d7c1 lang/ghc96: Fix a linkage issue in the unix package 2023-10-24 06:38:45 +00:00