+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sci-astronomy@gentoo.org</email>
- <name>Gentoo Astronomy Project</name>
- </maintainer>
- <longdescription lang="en">
- Frequently astronomical survey catalogues or images are sparse and
- cover only a small part of the sky. In a Multi-Order Coverage map
- the extent of data in a particular dataset is cached as a
- pre-calculated mask image. The hierarchical nature enables fast
- boolean operations in image space, without needing to perform complex
- geometrical calculations. Services such as VizieR generally offer the
- MOC masks, allowing a faster experience in graphical applications
- such as Aladin, or for researchers quickly needing to locate which
- datasets may contain overlapping coverage.
-
- The MOC mask image itself is tessellated and stored in NASA HealPix
- format, encoded inside a FITS image container. Using the HealPix
- (Hierarchical Equal Area isoLatitude Pixelization) tessellation
- method ensures that more precision (pixels) in the mask are available
- when describing complex shapes such as approximating survey or
- polygon edges, while only needing to store a single big cell/pixel
- when an coverage is either completely inside, or outside of the mask.
- Catalogues can be rendered on the mask as circles.
- </longdescription>
- <upstream>
- <remote-id type="pypi">pymoc</remote-id>
- <remote-id type="github">grahambell/pymoc</remote-id>
- </upstream>
-</pkgmetadata>
+++ /dev/null
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python3_{5,6} )
-
-inherit distutils-r1 virtualx xdg-utils
-
-DESCRIPTION="Python Multi-Order Coverage maps for Virtual Observatory"
-HOMEPAGE="https://pymoc.readthedocs.org/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-RDEPEND="
- dev-python/astropy[${PYTHON_USEDEP}]
- dev-python/healpy[${PYTHON_USEDEP}]
-"
-DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]
-"
-
-python_test() {
- PYTHONPATH=lib "${PYTHON}" -m unittest discover -s test || die
-}