From owner-cvs-all@FreeBSD.ORG Tue Jul 10 06:57:31 2012 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D98EC106566B; Tue, 10 Jul 2012 06:57:31 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id AAA8E8FC08; Tue, 10 Jul 2012 06:57:31 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id q6A6vVdC007577; Tue, 10 Jul 2012 06:57:31 GMT (envelope-from sunpoet@repoman.freebsd.org) Received: (from sunpoet@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id q6A6vVNp007576; Tue, 10 Jul 2012 06:57:31 GMT (envelope-from sunpoet) Message-Id: <201207100657.q6A6vVNp007576@repoman.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Tue, 10 Jul 2012 06:57:31 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/astro Makefile ports/astro/p5-Astro-WaveBand Makefile distinfo pkg-descr pkg-plist X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 06:57:31 -0000 sunpoet 2012-07-10 06:57:31 UTC FreeBSD ports repository Modified files: astro Makefile Added files: astro/p5-Astro-WaveBand Makefile distinfo pkg-descr pkg-plist Log: - Add p5-Astro-WaveBand 0.08 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. WWW: http://search.cpan.org/dist/Astro-WaveBand/ Revision Changes Path 1.168 +1 -0 ports/astro/Makefile 1.1 +24 -0 ports/astro/p5-Astro-WaveBand/Makefile (new) 1.1 +2 -0 ports/astro/p5-Astro-WaveBand/distinfo (new) 1.1 +21 -0 ports/astro/p5-Astro-WaveBand/pkg-descr (new) 1.1 +2 -0 ports/astro/p5-Astro-WaveBand/pkg-plist (new)