astro/p5-Astro-WaveBand 0.12 FreeBSD
Transparently work in waveband, wavelength, or filter
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- astro, perl5
- Package size
- 16.8 KiB, 42.0 KiB installed
Description
Class to transparently deal with the conversion between filters, wavelength, frequency and other methods of specifying a location in the electro-magentic spectrum.
Astro::WaveBand tries to determine the natural form of the numbers such that a request for a summary of the object when it contains 2.2 microns would return the filter name but would return the wavelength if it was not a standard filter. In ambiguous cases an instrument name is required to decide what to return. In really ambiguous cases the user can specify the unit in which to display the numbers on stringification.
Used mainly as a way of storing a single number in a database table but using logic to determine the number that an observer is most likely to understand.
Numerical comparison operators can be used to compare two Astro::WaveBand objects. When checking equality, the "natural" and "instrument" methods are used, so if two Astro::WaveBand objects return the same value from those methods, they are considered to be equal. When checking other comparisons such as greater than, the wavelength is used.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | astro/p5-Astro-WaveBand | 0.12 |
| DragonFly | astro/p5-Astro-WaveBand | 0.12 |
| HardenedBSD | astro/p5-Astro-WaveBand | 0.12 |
| GhostBSD | astro/p5-Astro-WaveBand | 0.12 |
Install
Binary package:
pkg install p5-Astro-WaveBand
From the ports tree:
cd /usr/ports/astro/p5-Astro-WaveBand/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Astro-WaveBand>0:astro/p5-Astro-WaveBand
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.12 | 0.12 | 0.09_1 | 0.12 | 0.12 |
| FreeBSD:14:quarterly | 0.12 | 0.12 | n/a | 0.12 | 0.12 |
| FreeBSD:15:latest | 0.12 | 0.12 | n/a | 0.12 | 0.12 |
| FreeBSD:15:quarterly | 0.12 | 0.12 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.12 | 0.12 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 2
Run dependencies 1
Required by 2
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/Astro/WaveBand.pm
- %%PERL5_MAN3%%/Astro::WaveBand.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Astro-WaveBand-0.12.tar.gz | 16193 | 71b892f68aa491f8b9b59b2c71a0f340ee50329c999cefaa57711d14aa8e5b32 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.