Commit graph

11921 commits

Author SHA1 Message Date
taca
4e9a32bbbc lang/ruby24: remove package
Start removing ruby24, it was EOL on 31 Mar. 2020.
2020-05-21 15:50:29 +00:00
taca
958e31823c lang/Makefile: retire ruby24
Remove ruby24.
2020-05-21 15:49:22 +00:00
jperkin
7f4fb532a1 npm: Remove bogus @pkgdir. 2020-05-21 09:25:44 +00:00
jnemeth
3ae402425a Revert most of 1.561 which deleted language directories while adding
a package.
2020-05-21 07:21:09 +00:00
rillig
e0c2e0d51d lang/algol68g: fix outdated configure options
Found by GNU_CONFIGURE_STRICT.
2020-05-21 07:02:56 +00:00
nia
04c5d87496 janet: Update to 1.9.1
## 1.9.1 - 2020-05-12
- Add :prefix option to declare-source
- Re-enable minimal builds with the debugger.
- Add several flags for configuring Janet on different platforms.
- Fix broken meson build from 1.9.0 and add meson to CI.
- Fix compilation issue when nanboxing is disabled.

## 1.9.0 - 2020-05-10
- Add `:ldflags` option to many jpm declare functions.
- Add `errorf` to core.
- Add `lenprefix` combinator to PEGs.
- Add `%M`, `%m`, `%N`, and `%n` formatters to formatting functions. These are the
  same as `%Q`, `%q`, `%P`, and `%p`, but will not truncate long values.
- Add `fiber/root`.
- Add beta `net/` module to core for socket based networking.
- Add the `parse` function to parse strings of source code more conveniently.
- Add `jpm rule-tree` subcommand.
- Add `--offline` flag to jpm to force use of the cache.
- Allow sending pointers and C functions across threads via `thread/send`.
- Fix bug in `getline`.
- Add `sh-rule` and `sh-phony` to jpm's dialect of Janet.
- Change C api's `janet_formatb` -> `janet_formatbv`, and add new function `janet_formatb` to C api.
- Add `edefer` macro to core.
- A struct/table literal/constructor with duplicate keys will use the last value given.
  Previously, this was inconsistent between tables and structs, literals and constructor functions.
- Add debugger to core. The debugger functions are only available
  in a debug repl, and are prefixed by a `.`.
- Add `sort-by` and `sorted-by` to core.
- Support UTF-8 escapes in strings via `\uXXXX` or `\UXXXXXX`.
- Add `math/erf`
- Add `math/erfc`
- Add `math/log1p`
- Add `math/next`
- Add os/umask
- Add os/perm-int
- Add os/perm-string
- Add :int-permissions option for os/stat.
- Add `jpm repl` subcommand, as well as `post-deps` macro in project.janet files.
- Various bug fixes.
2020-05-20 09:44:22 +00:00
adam
2919b86586 nodejs: updated to 14.3.0
Version 14.3.0 (Current)

Notable Changes
REPL previews improvements with autocompletion

The output preview is changed to generate previews for autocompleted input instead of the actual input.

Pressing <enter> during a preview is now going to evaluate the whole string including the autocompleted part. Pressing <escape> cancels that behavior.

Support for Top-Level Await

It's now possible to use the await keyword outside of async functions.
2020-05-20 06:58:35 +00:00
rillig
4f4f64fdce mark packages that fail with -Werror=char-subscripts
These packages are susceptible to bugs when confronted with non-ASCII
characters.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94182.

It takes some time to analyze and fix these individually, therefore they
are only marked as "needs work".
2020-05-20 06:09:03 +00:00
nia
d54a5b25b6 rust: No rust on NetBSD<8 2020-05-19 22:29:05 +00:00
nia
1eb4b05b6a rust-bin: llvm-ar needs fixing too. 2020-05-19 22:23:16 +00:00
nia
7bce477b0f rust-bin: Add compat80 to the local llvm rpath. Limit this to NetBSD<9
Workaround for a problem reported by wiz on pkgsrc-users, pending
more investigation
2020-05-19 21:59:03 +00:00
wiz
f8338e1199 rust-bin: set CHECK_RELRO_SKIP for prebuilt binaries 2020-05-19 19:01:10 +00:00
taca
b2c16424a0 lang/ruby: start updating of rails60 to 6.0.3.1
Start updating of Ruby on Rails 6.0 packages to 6.0.3.1.
2020-05-19 17:09:49 +00:00
taca
29d39c7b07 lang/ruby: start updating of rails52 to 5.2.4.3
Start updating of Ruby on Rails 5.2 packages to 5.2.4.3.
2020-05-19 15:33:05 +00:00
jperkin
12d03c9a92 rust: Bump libLLVM version for SunOS bootstrap. 2020-05-19 09:53:28 +00:00
wiz
3fdfb2ac54 py-cmake-language-server: mark as not for python 2.x due to py-pygls 2020-05-19 05:14:01 +00:00
leot
ef91fdb2dd py-pygls: Sort PLIST 2020-05-18 16:46:46 +00:00
wiz
50d7d5565a rust: if variables are supposed to be overridable, set them with ?= 2020-05-18 16:33:44 +00:00
nia
96cdd3fe1d rust: Update COMMENT 2020-05-18 16:22:25 +00:00
nia
9c14b85aa6 lang: Add rust-bin.
Dumb package that selects and installs a binary rust distribution
based on its guess of your platform (FreeBSD, NetBSD, Linux x86_64 are
all supported). These binaries are the official ones provided by
rust upstream and are the same as those provided by the `rustup` tool.

You can choose to use a binary rust distribution by setting:
RUST_TYPE=bin in mk.conf
(or source distribution with RUST_TYPE=src).

Currently, RUST_TYPE=bin by default ONLY for NetBSD-x86_64. This is
because TNF has been shown to _repeatedly_ be unable and _unwilling_ to
ensure that rust-dependent packages build properly on their
infrastructure, and NetBSD users are all suffering for it.

This was based on minskim's work in pkgsrc-wip.

It was tested by building librsvg and firefox-esr with the resulting
binaries.
2020-05-18 16:17:20 +00:00
wiz
ff45097356 lang/Makefile: + py-cmake-language-server 2020-05-18 15:19:31 +00:00
wiz
21bcfa3def lang/py-cmake-language-server: import py-cmake-language-server-0.1.1
CMake Language Server Protocol implementation.
2020-05-18 15:19:01 +00:00
wiz
c98845df96 lang/Makefile: + py-pygls. 2020-05-18 15:11:18 +00:00
wiz
c02001dee0 lang/py-pygls: import py-pygls-0.9.0
pygls (pronounced like "pie glass") is a pythonic generic implementation
of the Language Server Protocol for use as a foundation for writing
language servers using Python (e.g. Python, XML, etc.). It allows
you to write your own language server in just a few lines of code.
2020-05-18 15:11:01 +00:00
wiz
56c6e335fd lang/Makefile: + py-python-language-server 2020-05-18 13:39:37 +00:00
wiz
ef7e2e9486 lang/py-python-language-server: import py-python-language-server-0.32.0
A Python 2.7 and 3.5+ implementation of the Language Server Protocol.
2020-05-18 13:36:49 +00:00
rillig
74ce7da148 lang/gcc9: fix build with -Werror=char-subscripts 2020-05-17 22:36:07 +00:00
rillig
d0cde266bc lang/gcc49: build even with -Werror=char-subscripts 2020-05-17 20:08:38 +00:00
rillig
285fb56c1d lang/gcc48: build even with -Werror=char-subscripts 2020-05-17 20:07:00 +00:00
rillig
2e2b1baad3 lang/gcc10: fix patch checksums to include the bug report URL 2020-05-17 19:49:18 +00:00
rillig
fe114d7919 lang/gcc10: fix build with -Werror=char-subscripts 2020-05-17 19:47:19 +00:00
adam
203e8b12b0 pytest from versioned depends 2020-05-17 18:39:29 +00:00
nia
083c035edf elixir: Update to 1.10.3
## v1.10.3 (2020-04-25)

### 1. Bug fixes

#### Elixir

  * [Code] Return `[{mod, bin}]` from `Code.compile_file/2`, `Code.require_file/2`, `Code.load_file/2`
  * [Code] Make sure the formatter respects newlines before and after module attributes
  * [Kernel.ParallelCompiler] Fix a bug where the parallel compiler would raise in long compilation cycles
  * [Kernel.ParallelCompiler] Fix a bug where the parallel compiler would raise if some of the modules being compiled referred to a module that has been loaded directly to memory
  * [Module] Fix accidental breaking change where bodiless clauses had their body value on `@on_definition` callbacks set to an empty list instead of `nil`
  * [String] Undeprecate `String.normalize/2` normalize and fix infinite loop caused by certain invalid strings

#### ExUnit

  * [ExUnit.Assertions] Fix pattern matching diff when matching on pinned variables
  * [ExUnit.Assertions] Fix pattern matching diff when matching variable struct names
  * [ExUnit.Assertions] Fix pattern matching diff when matching on the binary concat operator (`<>`) and the left side is not a literal string
  * [ExUnit.Assertions] Fix pattern matching diff when matching on pseudo-vars (`__MODULE__`, `__DIR__`, etc)

#### Mix

  * [mix release] Respect the `:path` option when creating a `:tar` file for releases
2020-05-17 14:44:21 +00:00
he
91e2951782 Update lang/rust to version 1.43.1.
Pkgsrc changes:
 * None.

Upstream changes:

Version 1.43.1 (2020-05-07)
===========================

* [Updated openssl-src to 1.1.1g for CVE-2020-1967.][71430]
* [Fixed the stabilization of AVX-512 features.][71473]
* [Fixed `cargo package --list` not working with unpublished dependencies.]
  [cargo/8151]

[71430]: https://github.com/rust-lang/rust/pull/71430
[71473]: https://github.com/rust-lang/rust/issues/71473
[cargo/8151]: https://github.com/rust-lang/cargo/issues/8151
2020-05-17 13:18:07 +00:00
tnn
dba8f3aefa openjdk*: catch up with cups changes in CONFIGURE_ARGS 2020-05-17 01:17:18 +00:00
tnn
514e17a1fe openjdk*: switch the build dependency from cups-base to libcups 2020-05-17 01:07:03 +00:00
tnn
32e2e5830f g/c references to openjdk7 2020-05-17 00:54:00 +00:00
tnn
95b281fb9a retire lang/openjdk7 2020-05-17 00:47:06 +00:00
wiz
d954c49092 clang-tools-extra: update to 10.0.0nb1.
Add missing dependency on clang for libclang-cpp.so.
2020-05-16 22:31:50 +00:00
rillig
9b2ad3dc39 lang/php72: fix build with GNU_CONFIGURE_STRICT=yes
Most PHP modules don't know the --with-pcre-dir option.
2020-05-16 20:42:37 +00:00
nikita
0ee4626bda chicken: Update to version 5.2.0
Changelog:

5.2.0

- Core libraries
  - Fix `memory-statistics` by returning semi-space bytes and used
    semi-space bytes like the documentation says. Old implementation
    returned full-heap size and (full-heap - used-semi-space).
  - for-each and map now behave consistently in compiled and interpreted
    mode, like in SRFI-1.  They now stop when the shortest list is
    exhausted instead of raising an exception (fixes #1422).
  - There is now a srfi-88 module which contains just the three
    procedures from the (chicken keyword) module defined by the SRFI.
  - A feature identifier named "srfi-88" is now registered.
  - The procedures `record-printer` and `set-record-printer!` and a
    corresponding SRFI-17 setter have been added. These deprecate
    `define-record-printer` which isn't a "real" definition (see #1294).
  - On Windows, `decompose-directory` no longer crashes when a drive
    letter is present in the supplied path string.
  - irregex-replace[/all] have been fixed for empty matches, so they
    will no longer drop characters and ignore the replacement (#1661).
  - Irregex has been updated to upstream 0.9.7, which also improves
    how empty matches are treated in irregex-fold and irregex-split.

- Runtime system
  - Quoted empty keywords like ||: and :|| are now read like prescribed
    by SRFI-88 in the corresponding keyword mode.  Symbols containing
    quoted empty prefixes or suffixes like ||:abc and abc:|| will be
    read correctly as symbols now (fixes #1625, thanks to Andy Bennett).
  - IEEE floating point negative zero is now properly handled: it can
    be read, written and distinguished by eqv? and equal?, but not =
    (fixes #1627, thanks to John Cowan).
  - ##sys#check-exact and its C implementations C_i_check_exact and
    C_i_check_exact_2 have been deprecated (see also #1631).
  - When garbage collector is manually invoked from a finalizer, raise
    an error instead of hanging forever (fixes #1586).
  - define-record-type will now give an error if the constructor
    definition refers to field that's not listed elsewhere (see #1633)
  - Added new -:hu option to set the memory usage low watermark
    percentage at which the heap should be shrunk, and changed the
    calculation to actually reflect this (see #1379).

- Compiler
  - Fixed a bug in lfa2 pass which caused "if" or "cond" nodes to be
    incorrectly unboxed if the "else" branch had a flonum result type
    (#1624, thanks to Sven Hartrumpf)
  - Inline files no longer refer to unexported foreign stub functions
    (fixes #1440, thanks to "megane").
  - In some cases, rest argument lists do not need to be reified, which
    should make using optional arguments and case-lambda faster (#1623).
  - Values from foreign types which have an argument or return value
    converter are no longer inferred to have the Scheme type which
    corresponds to the raw foreign type, which was incorrect (#1649).

- Module system
  - Trying to export a foreign variable, define-inlined procedure or
    define-constant variable gives a friendly error instead of saying
    the variable doesn't exist (fixes #1346).
  - When modules are registered, they no longer pollute the global
    environment with imports made in that module (fixes #1548)

- Tools
  - The new "-module-registration" options causes module registration
    code to always be included in the program, even when it has also
    been emitted as a separate file (for example with "-J").
  - chicken-install now correctly checks server response code to avoid
    interpreting error response bodies (like 404, 500) as Scheme code.
  - chicken-install now follows HTTP redirects when downloading eggs.
  - chicken-install will now change to the correct drive before
    attempting to change to the egg directory (fixes #1647).
2020-05-16 20:01:56 +00:00
tnn
05a515e142 rust: use upstream's fix for previous 2020-05-16 19:48:48 +00:00
tnn
4eb5a03982 rust: try to fix some llvm-10 fallout 2020-05-16 19:36:12 +00:00
taca
043bfae9d3 lang/ruby: start update of Ruby on Rails to 6.0.3
Start update of Ruby on Rails to 6.0.3.
2020-05-16 14:14:45 +00:00
rillig
4152c90b10 lang/openjdk7: remove redundant patch
This is already taken care of by SUBST_CLASSES+=ccspath.
2020-05-16 14:09:24 +00:00
rillig
80f9bd87c8 lang/sather: allow no-op SUBST block 2020-05-16 13:56:55 +00:00
he
a24a3778fe Update lang/rust to version 1.43.0.
Pkgsrc changes:
 * Bump rust bootstrap version to 1.42.0, except for Darwin/i686 where the
   bootstrap is not (yet?) available.

Upstream changes:

Version 1.43.0 (2020-04-23)
==========================

Language
--------
- [Fixed using binary operations with `&{number}` (e.g. `&1.0`) not having
  the type inferred correctly.][68129]
- [Attributes such as `#[cfg()]` can now be used on `if` expressions.][69201]

**Syntax only changes**
- [Allow `type Foo: Ord` syntactically.][69361]
- [Fuse associated and extern items up to defaultness.][69194]
- [Syntactically allow `self` in all `fn` contexts.][68764]
- [Merge `fn` syntax + cleanup item parsing.][68728]
- [`item` macro fragments can be interpolated into `trait`s, `impl`s,
  and `extern` blocks.][69366]
  For example, you may now write:
  ```rust
  macro_rules! mac_trait {
      ($i:item) => {
          trait T { $i }
      }
  }
  mac_trait! {
      fn foo() {}
  }
  ```
These are still rejected *semantically*, so you will likely receive an error but
these changes can be seen and parsed by macros and
conditional compilation.


Compiler
--------
- [You can now pass multiple lint flags to rustc to override the previous
  flags.][67885] For example; `rustc -D unused -A unused-variables` denies
  everything in the `unused` lint group except `unused-variables` which
  is explicitly allowed. However, passing `rustc -A unused-variables -D unused` denies
  everything in the `unused` lint group **including** `unused-variables` since
  the allow flag is specified before the deny flag (and therefore overridden).
- [rustc will now prefer your system MinGW libraries over its bundled libraries
  if they are available on `windows-gnu`.][67429]
- [rustc now buffers errors/warnings printed in JSON.][69227]

Libraries
---------
- [`Arc<[T; N]>`, `Box<[T; N]>`, and `Rc<[T; N]>`, now implement
  `TryFrom<Arc<[T]>>`,`TryFrom<Box<[T]>>`, and `TryFrom<Rc<[T]>>`
  respectively.][69538] **Note** These conversions are only available when `N`
  is `0..=32`.
- [You can now use associated constants on floats and integers directly, rather
  than having to import the module.][68952] e.g. You can now write `u32::MAX` or
  `f32::NAN` with no imports.
- [`u8::is_ascii` is now `const`.][68984]
- [`String` now implements `AsMut<str>`.][68742]
- [Added the `primitive` module to `std` and `core`.][67637] This module
  reexports Rust's primitive types. This is mainly useful in macros
  where you want avoid these types being shadowed.
- [Relaxed some of the trait bounds on `HashMap` and `HashSet`.][67642]
- [`string::FromUtf8Error` now implements `Clone + Eq`.][68738]

Stabilized APIs
---------------
- [`Once::is_completed`]
- [`f32::LOG10_2`]
- [`f32::LOG2_10`]
- [`f64::LOG10_2`]
- [`f64::LOG2_10`]
- [`iter::once_with`]

Cargo
-----
- [You can now set config `[profile]`s in your `.cargo/config`, or through
  your environment.][cargo/7823]
- [Cargo will now set `CARGO_BIN_EXE_<name>` pointing to a binary's
  executable path when running integration tests or benchmarks.][cargo/7697]
  `<name>` is the name of your binary as-is e.g. If you wanted the executable
  path for a binary named `my-program`you would use
  `env!("CARGO_BIN_EXE_my-program")`.

Misc
----
- [Certain checks in the `const_err` lint were deemed unrelated to const
  evaluation][69185], and have been moved to the `unconditional_panic` and
  `arithmetic_overflow` lints.

Compatibility Notes
-------------------

- [Having trailing syntax in the `assert!` macro is now a hard error.][69548]
  This has been a warning since 1.36.0.
- [Fixed `Self` not having the correctly inferred type.][69340] This incorrectly
  led to some instances being accepted, and now correctly emits a hard error.

[69340]: https://github.com/rust-lang/rust/pull/69340

Internal Only
-------------
These changes provide no direct user facing benefits, but represent significant
improvements to the internals and overall performance of `rustc` and
related tools.

- [All components are now built with `opt-level=3` instead of `2`.][67878]
- [Improved how rustc generates drop code.][67332]
- [Improved performance from `#[inline]`-ing certain hot functions.][69256]
- [traits: preallocate 2 Vecs of known initial size][69022]
- [Avoid exponential behaviour when relating types][68772]
- [Skip `Drop` terminators for enum variants without drop glue][68943]
- [Improve performance of coherence checks][68966]
- [Deduplicate types in the generator witness][68672]
- [Invert control in struct_lint_level.][68725]

[67332]: https://github.com/rust-lang/rust/pull/67332/
[67429]: https://github.com/rust-lang/rust/pull/67429/
[67637]: https://github.com/rust-lang/rust/pull/67637/
[67642]: https://github.com/rust-lang/rust/pull/67642/
[67878]: https://github.com/rust-lang/rust/pull/67878/
[67885]: https://github.com/rust-lang/rust/pull/67885/
[68129]: https://github.com/rust-lang/rust/pull/68129/
[68672]: https://github.com/rust-lang/rust/pull/68672/
[68725]: https://github.com/rust-lang/rust/pull/68725/
[68728]: https://github.com/rust-lang/rust/pull/68728/
[68738]: https://github.com/rust-lang/rust/pull/68738/
[68742]: https://github.com/rust-lang/rust/pull/68742/
[68764]: https://github.com/rust-lang/rust/pull/68764/
[68772]: https://github.com/rust-lang/rust/pull/68772/
[68943]: https://github.com/rust-lang/rust/pull/68943/
[68952]: https://github.com/rust-lang/rust/pull/68952/
[68966]: https://github.com/rust-lang/rust/pull/68966/
[68984]: https://github.com/rust-lang/rust/pull/68984/
[69022]: https://github.com/rust-lang/rust/pull/69022/
[69185]: https://github.com/rust-lang/rust/pull/69185/
[69194]: https://github.com/rust-lang/rust/pull/69194/
[69201]: https://github.com/rust-lang/rust/pull/69201/
[69227]: https://github.com/rust-lang/rust/pull/69227/
[69548]: https://github.com/rust-lang/rust/pull/69548/
[69256]: https://github.com/rust-lang/rust/pull/69256/
[69361]: https://github.com/rust-lang/rust/pull/69361/
[69366]: https://github.com/rust-lang/rust/pull/69366/
[69538]: https://github.com/rust-lang/rust/pull/69538/
[cargo/7823]: https://github.com/rust-lang/cargo/pull/7823
[cargo/7697]: https://github.com/rust-lang/cargo/pull/7697
[`Once::is_completed`]: https://doc.rust-lang.org/std/sync/struct.Once.html#method.is_completed
[`f32::LOG10_2`]: https://doc.rust-lang.org/std/f32/consts/constant.LOG10_2.html
[`f32::LOG2_10`]: https://doc.rust-lang.org/std/f32/consts/constant.LOG2_10.html
[`f64::LOG10_2`]: https://doc.rust-lang.org/std/f64/consts/constant.LOG10_2.html
[`f64::LOG2_10`]: https://doc.rust-lang.org/std/f64/consts/constant.LOG2_10.html
[`iter::once_with`]: https://doc.rust-lang.org/std/iter/fn.once_with.html
2020-05-16 10:39:51 +00:00
adam
911290cd99 fix pytest->test 2020-05-16 08:56:50 +00:00
bsiegert
1dbd3939f0 Update go113 to 1.13.11.
go1.13.11 (released 2020/05/14) includes fixes to the compiler. See the Go
1.13.11 milestone on our issue tracker for details.
2020-05-16 08:33:07 +00:00
adam
91eeb17260 python: add pytest to versioned_dependencies.mk 2020-05-16 08:03:35 +00:00