summaryrefslogtreecommitdiff
path: root/dev-python/pyregion
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/pyregion
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/pyregion')
-rw-r--r--dev-python/pyregion/Manifest7
-rw-r--r--dev-python/pyregion/metadata.xml15
-rw-r--r--dev-python/pyregion/pyregion-1.1.4.ebuild31
-rw-r--r--dev-python/pyregion/pyregion-1.2.ebuild62
4 files changed, 115 insertions, 0 deletions
diff --git a/dev-python/pyregion/Manifest b/dev-python/pyregion/Manifest
new file mode 100644
index 000000000000..387d58a28e38
--- /dev/null
+++ b/dev-python/pyregion/Manifest
@@ -0,0 +1,7 @@
+DIST pyregion-1.1.4.tar.gz 99454 SHA256 2d7d5ce46a3b4177978d4901c9c46ce402165113049006b923f5346b014973b9 SHA512 572a10593dc93f64ad6fd1d7a8f19582df04309b88a73fb41e3b4c71036d61c3857114cc01025e581ddd3a63af92fabb5375c1ee8fe487f83da2780569954236 WHIRLPOOL 54791087d514e9c4b0e850c77219ed4d453a2a86c148ce04f2dc8cbcdc9138e075860acc6c2812e9033cfe15cca2b093d792186a2b47f903c747d2486feab8bd
+DIST pyregion-1.2.tar.gz 1133496 SHA256 4f57070564526974661bbbf96cd1d509a708909002dd34f0354ac80c391b5e61 SHA512 80f851ecc8ec60a287b11b558fab920da7565c3574b0e6e977b8c8e3f40951f0407b27cc1c24e0d9d864f9b853b03053e9fae3ee81a32ab36078f2c8ce6334b9 WHIRLPOOL bef7db8c184d7e9f3aad4ab7d8494ff8b512ecc275e81202f66727658eabb1a6ef3d47fefcf7eac4ea5390a2baad08e5c370efcc6d908130ff265a73701f8e45
+EBUILD pyregion-1.1.4.ebuild 738 SHA256 2c35430e5038531a3f10434d53efb7546847c80e122782b0875d5a11fd2e1400 SHA512 bce60d3c8a038de4a1c1a8c4ce6937a9b434e5848be2863254ff7d7dafda2e3f7c1e6a28ee1bcafeb057dcc60d62a1736d35f2e925ec0cefd44b308bb5b8ab67 WHIRLPOOL ffaf2ad0fa32a14d1b5417508415772634e6831de1970aab164b3edae02733a260467471865b5442d8433d6d6b030dca473ff839b8e29a372d52e53c4638ad08
+EBUILD pyregion-1.2.ebuild 1543 SHA256 eb059a81dab3459024d96f5f08649a3e3bfe283042fbc800e0567e8673d75a40 SHA512 65b302cd2224b88a90bd3a106a2e68899610d33acd0ff3c42d6c7e9551f5deba5cb1f9ac104626e4d5475053930b89f5ae9e452340c5e0e2045f8204e1af3cbc WHIRLPOOL 6aa3d58f9bc1084400914887bcdc3d211bc107ef948c2e4f37cabdf9da0293b3d485df8dad192c694cc7e348155e7f9b0964dd705b4fd402810f2d5e629c137e
+MISC ChangeLog 3174 SHA256 03c2aefd090e6ca29959e0c2f15ce993a6308660d4ab297a00ff1053c6d02eb8 SHA512 c9f84c828f8029f4e190985970ef59add753ad96de724ca5d1cb3fa2f2a3728e088efb35b79807864adcf1951bdaf9b68139c03dc3f9c6e169bd342a516f2cba WHIRLPOOL 6ced26b63122dc5a153c33198a6f83b87d8bdbe6e9122752288db683b8fd90f2792d2f775dc122a641143cdb932d43700c3928101fd07cef27210f706052c6f4
+MISC ChangeLog-2015 1995 SHA256 17202fdc9a7ba2013f43a4c41e42b769cceb4f3e891d31a62bec405c2471c1b4 SHA512 be76add06f6b4b3ce14a866fba9bdb86f4b2da274a2f45c468590ca510d23014fd0c1a46be0e6740ceab0cfdfb41110aa44707b6395436c8358af8e4763cb3bc WHIRLPOOL c1b11f0bcc048e73fc5a7e869c494d254ae6dc2d277004db8669d1ecac3c57105e88755c69d889611a80d7ffef090683577f467760da28d448df3b4a3f931cd2
+MISC metadata.xml 512 SHA256 8aa6e54c2ab49b4fcbe8fe5cbd24d3fc150108b22ac110fdd3e536d395ca6ada SHA512 0187a79d485d66fed785fc6ee8288be4cde62e47a7fec9ae3ffe0b4235125025e63496d53caa606d360ed95cab11fb448bf39ac39601d2913fe59f7a158aa946 WHIRLPOOL dacdc7ed3e47f3d5e72023498d130d8a89c12dc434c2f03dc35d63d1f1cd8f34d47a663de68c0ec19c8a89e1b41672e0ab478ffee7c0b86241e067156002b7c7
diff --git a/dev-python/pyregion/metadata.xml b/dev-python/pyregion/metadata.xml
new file mode 100644
index 000000000000..255624cbc7ce
--- /dev/null
+++ b/dev-python/pyregion/metadata.xml
@@ -0,0 +1,15 @@
+<?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">
+ pyregion is a python module to parse ds9 region files. It also
+ support ciao region files, and can draw regions using matplotlib.
+</longdescription>
+<upstream>
+ <remote-id type="pypi">pyregion</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/dev-python/pyregion/pyregion-1.1.4.ebuild b/dev-python/pyregion/pyregion-1.1.4.ebuild
new file mode 100644
index 000000000000..69753f59d42f
--- /dev/null
+++ b/dev-python/pyregion/pyregion-1.1.4.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+inherit distutils-r1
+
+DESCRIPTION="Python module to parse ds9 region file"
+HOMEPAGE="http://pyregion.readthedocs.org/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+LICENSE="MIT"
+
+IUSE="examples"
+RDEPEND="
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/pyparsing[${PYTHON_USEDEP}]"
+DEPEND="${DEPEND}
+ || ( dev-python/cython[${PYTHON_USEDEP}]
+ dev-python/pyrex[${PYTHON_USEDEP}] )"
+
+python_install_all() {
+ distutils-r1_python_install_all
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}
diff --git a/dev-python/pyregion/pyregion-1.2.ebuild b/dev-python/pyregion/pyregion-1.2.ebuild
new file mode 100644
index 000000000000..d4dac7cb0776
--- /dev/null
+++ b/dev-python/pyregion/pyregion-1.2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+inherit distutils-r1 virtualx xdg-utils
+
+DESCRIPTION="Python module to parse ds9 region file"
+HOMEPAGE="http://pyregion.readthedocs.org/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+LICENSE="MIT"
+
+IUSE="doc examples test"
+RDEPEND="
+ dev-python/astropy[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/pyparsing[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ dev-python/astropy-helpers[${PYTHON_USEDEP}]
+ dev-python/cython[${PYTHON_USEDEP}]
+ doc? (
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
+ dev-python/wcsaxes[${PYTHON_USEDEP}] )
+ test? (
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/matplotlib[${PYTHON_USEDEP}] )"
+
+python_prepare_all() {
+ # use astropy-helpers from system
+ sed -i -e '/auto_use/s/True/False/' setup.cfg || die
+ xdg_environment_reset
+ distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+ if use doc; then
+ python_setup
+ VARTEXFONTS="${T}"/fonts \
+ MPLCONFIGDIR="${BUILD_DIR}" \
+ PYTHONPATH="${BUILD_DIR}"/lib \
+ esetup.py build_sphinx --no-intersphinx
+ fi
+}
+
+python_test() {
+ virtx esetup.py test
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/_build/html/. )
+ distutils-r1_python_install_all
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}