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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/rubygem-yard-sorbet | 0.9.0 |
| DragonFly | devel/rubygem-yard-sorbet | 0.9.0 |
| HardenedBSD | devel/rubygem-yard-sorbet | 0.9.0 |
| GhostBSD | devel/rubygem-yard-sorbet | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.9.0 | 0.9.0 | - | 0.9.0 | 0.9.0 |
| FreeBSD:14:quarterly | 0.9.0 | 0.9.0 | n/a | 0.9.0 | 0.9.0 |
| FreeBSD:15:latest | 0.9.0 | 0.9.0 | n/a | 0.9.0 | 0.9.0 |
| FreeBSD:15:quarterly | 0.9.0 | 0.9.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.9.0 | 0.9.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 2
rubygem-sorbet-runtime>=0: devel/rubygem-sorbet-runtimerubygem-yard>=0: textproc/rubygem-yard
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
| File | Size | SHA256 |
|---|---|---|
| rubygem/yard-sorbet-0.9.0.gem | 15872 | 03d1aa461b9e9c82b886919a13aa3e09fcf4d1852239d2967ed97e92723ffe21 |
Master sites 1
- RG
Commit history 0
No commits in the history this site was built from.