[gentoo-commits] repo/gentoo:master commit in: dev-python/astroplan/files/, dev-python/astroplan/
commit: 74a2b72f7acbaeff69e58cee40db6389555f7b50 Author: Mikle Kolyada gentoo org> AuthorDate: Sat Dec 28 17:19:33 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat Dec 28 17:19:33 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74a2b72f dev-python/astroplan: remove last-rited pkg Signed-off-by: Mikle Kolyada gentoo.org> dev-python/astroplan/Manifest | 2 - dev-python/astroplan/astroplan-0.2.1.ebuild| 57 -- dev-python/astroplan/astroplan-0.2.ebuild | 57 -- .../files/astroplan-0.2-ephem-import.patch | 11 - dev-python/astroplan/metadata.xml | 16 -- 5 files changed, 143 deletions(-) diff --git a/dev-python/astroplan/Manifest b/dev-python/astroplan/Manifest deleted file mode 100644 index 2e5d5b54e93..000 --- a/dev-python/astroplan/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST astroplan-0.2.1.tar.gz 270482 BLAKE2B fd0d83e492a46c711b32899d6cbb93fac1708588028e8a0c72c76fa13bfdf9db3bea135a09d801deea0a7a67b114c9d8b7f8af5a642348303a392240cdc76363 SHA512 baa585ce2b651753b45c6bda78a93b22340b380197338ce3d27d36509c82c29053da237f1f1daf5c12ba08e0da27f7c3cc98daebedb703c944a3e225444f3aff -DIST astroplan-0.2.tar.gz 264623 BLAKE2B 4343334ef12a13d3269a35403c89eb5c5b124de5f30e9512dce9ba47f1f1ee490e9caf7c7c8511f027eeddae33e2732bb2bad6722ec8b7dfb348aa586c905dfb SHA512 ab98402d2b0daf64aea4a10934c8e33097b92d3b7de9a2346fa3e318e672c85966c050f560bb3fc4c247e2fdd4c94a4b158d6a0dff6af9c83d6411613c663bd9 diff --git a/dev-python/astroplan/astroplan-0.2.1.ebuild b/dev-python/astroplan/astroplan-0.2.1.ebuild deleted file mode 100644 index 577a87d1406..000 --- a/dev-python/astroplan/astroplan-0.2.1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# 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="Observation planning package for astronomers" -HOMEPAGE="https://astroplan.readthedocs.org/; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/astropy[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/astropy-helpers[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] ) - test? ( dev-python/pytest-mpl[${PYTHON_USEDEP}] )" - -PATCHES=( "${FILESDIR}"/${PN}-0.2-ephem-import.patch ) - -python_prepare_all() { - # use system astropy-helpers instead of bundled one - 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() { - echo 'backend: Agg' > "${WORKDIR}"/matplotlibrc || die - MATPLOTLIBRC="${WORKDIR}" virtx esetup.py test -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/_build/html/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/astroplan/astroplan-0.2.ebuild b/dev-python/astroplan/astroplan-0.2.ebuild deleted file mode 100644 index 5659914af9d..000 --- a/dev-python/astroplan/astroplan-0.2.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python3_5 ) - -inherit distutils-r1 virtualx xdg-utils - -DESCRIPTION="Observation planning package for astronomers" -HOMEPAGE="https://astroplan.readthedocs.org/; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/astropy[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/astropy-helpers[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] ) - test? ( dev-python/pytest-mpl[${PYTHON_USEDEP}] )" - -PATCHES=( "${FILESDIR}"/${P}-ephem-import.patch ) - -python_prepare_all() { - # use system astropy-helpers instead of bundled one - 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 -
[gentoo-commits] repo/gentoo:master commit in: dev-python/astroplan/files/, dev-python/astroplan/
commit: b6cca3cecaa6d7b39b0ff125ec8d7a6ff1c67bb5 Author: Sébastien Fabbro gentoo org> AuthorDate: Wed Nov 30 23:22:50 2016 + Commit: Sebastien Fabbro gentoo org> CommitDate: Wed Nov 30 23:25:11 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6cca3ce dev-python/astroplan: initial import Package-Manager: portage-2.3.2 dev-python/astroplan/Manifest | 1 + dev-python/astroplan/astroplan-0.2.ebuild | 57 ++ .../files/astroplan-0.2-ephem-import.patch | 11 + dev-python/astroplan/metadata.xml | 16 ++ 4 files changed, 85 insertions(+) diff --git a/dev-python/astroplan/Manifest b/dev-python/astroplan/Manifest new file mode 100644 index ..f1ef68b --- /dev/null +++ b/dev-python/astroplan/Manifest @@ -0,0 +1 @@ +DIST astroplan-0.2.tar.gz 264623 SHA256 427d6a890ea7bc4df0b8d0a4b607d060e6e2b230fa1224a648217790d8c1cba7 SHA512 ab98402d2b0daf64aea4a10934c8e33097b92d3b7de9a2346fa3e318e672c85966c050f560bb3fc4c247e2fdd4c94a4b158d6a0dff6af9c83d6411613c663bd9 WHIRLPOOL 6ab4ca9daf2daa8a6a16b06b7287473f149cf3261b2ef35a8f29a24f67e7c0d32edeef59c03fd1fe77f3050670a4c9488b4defe6e417f4925581ca300ca6a8f1 diff --git a/dev-python/astroplan/astroplan-0.2.ebuild b/dev-python/astroplan/astroplan-0.2.ebuild new file mode 100644 index ..3f10cc3 --- /dev/null +++ b/dev-python/astroplan/astroplan-0.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit distutils-r1 virtualx xdg-utils + +DESCRIPTION="Observation planning package for astronomers" +HOMEPAGE="https://astroplan.readthedocs.org/; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="doc test" + +RDEPEND=" + dev-python/astropy[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/astropy-helpers[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] ) + test? ( dev-python/pytest-mpl[${PYTHON_USEDEP}] )" + +PATCHES=( "${FILESDIR}"/${P}-ephem-import.patch ) + +python_prepare_all() { + # use system astropy-helpers instead of bundled one + 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() { + echo 'backend: Agg' > "${WORKDIR}"/matplotlibrc || die + MATPLOTLIBRC="${WORKDIR}" virtx esetup.py test +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/astroplan/files/astroplan-0.2-ephem-import.patch b/dev-python/astroplan/files/astroplan-0.2-ephem-import.patch new file mode 100644 index ..5932829 --- /dev/null +++ b/dev-python/astroplan/files/astroplan-0.2-ephem-import.patch @@ -0,0 +1,11 @@ +--- a/astroplan/conftest.py.orig 2016-11-30 23:17:49.057492656 + b/astroplan/conftest.py2016-11-30 23:18:11.076451659 + +@@ -38,7 +38,7 @@ + try: + PYTEST_HEADER_MODULES['Astropy'] = 'astropy' + PYTEST_HEADER_MODULES['pytz'] = 'pytz' +-PYTEST_HEADER_MODULES['pyephem'] = 'pyephem' ++PYTEST_HEADER_MODULES['pyephem'] = 'ephem' + PYTEST_HEADER_MODULES['matplotlib'] = 'matplotlib' + PYTEST_HEADER_MODULES['nose'] = 'nose' + PYTEST_HEADER_MODULES['pytest-mpl'] = 'pytest_mpl' diff --git a/dev-python/astroplan/metadata.xml b/dev-python/astroplan/metadata.xml new file mode 100644 index ..b320e57 --- /dev/null +++ b/dev-python/astroplan/metadata.xml @@ -0,0 +1,16 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + +sci-astron...@gentoo.org +Gentoo Astronomy Project + + +Astroplan is an observation planning package for astronomers that can help +you plan for everything but the clouds. + + +astroplan +astropy/astroplan + +