BSD Ports

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

SystemPortVersion
FreeBSDastro/p5-Astro-WaveBand0.12
DragonFlyastro/p5-Astro-WaveBand0.12
HardenedBSDastro/p5-Astro-WaveBand0.12
GhostBSDastro/p5-Astro-WaveBand0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.120.120.09_10.120.12
FreeBSD:14:quarterly0.120.12n/a0.120.12
FreeBSD:15:latest0.120.12n/a0.120.12
FreeBSD:15:quarterly0.120.12n/an/an/a
FreeBSD:16:latest0.120.12n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

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
FileSizeSHA256
Astro-WaveBand-0.12.tar.gz1619371b892f68aa491f8b9b59b2c71a0f340ee50329c999cefaa57711d14aa8e5b32
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.