BSD Ports

devel/rubygem-yard-sorbet 0.9.0 FreeBSD

YARD plugin that incorporates Sorbet type information

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
APACHE20
Categories
devel, rubygems
Package size
13.7 KiB, 49.8 KiB installed

Description

yard-sorbet is a YARD plugin that parses Sorbet type annotations.

Features:

  • Attaches existing documentation to methods and attributes that follow sig declarations. (This information is otherwise discarded.)
  • Translates sig type signatures into corresponding YARD tags
  • Generates method definitions from T::Struct fields
  • Generates constant definitions from T::Enum enums
  • Modules marked abstract! or interface! are tagged @abstract
  • Modules using mixes_in_class_methods will attach class methods
  • Merges sigs in rbi files with source code documentation (rbi files must come after source code in yard configuration)

In the other systems

SystemPortVersion
FreeBSDdevel/rubygem-yard-sorbet0.9.0
DragonFlydevel/rubygem-yard-sorbet0.9.0
HardenedBSDdevel/rubygem-yard-sorbet0.9.0
GhostBSDdevel/rubygem-yard-sorbet0.9.0

Install

Binary package:

pkg install rubygem-yard-sorbet

From the ports tree:

cd /usr/ports/devel/rubygem-yard-sorbet/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	rubygem-yard-sorbet>0:devel/rubygem-yard-sorbet

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.9.00.9.0-0.9.00.9.0
FreeBSD:14:quarterly0.9.00.9.0n/a0.9.00.9.0
FreeBSD:15:latest0.9.00.9.0n/a0.9.00.9.0
FreeBSD:15:quarterly0.9.00.9.0n/an/an/a
FreeBSD:16:latest0.9.00.9.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 2

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 8

No port depends on this one.

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/yard-sorbet-0.9.0.gem1587203d1aa461b9e9c82b886919a13aa3e09fcf4d1852239d2967ed97e92723ffe21
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.