mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/pydl: remove last-rited pkg
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
DIST pydl-0.5.3.tar.gz 687705 BLAKE2B 3aa7e3c6bac5fabc0326cfdcc3cead4b12395d496a1aae95c6f60906f11635fcbdee085f3a5412b45c499c49daa88e454b78b70217a3ceab7effe64a7ec8e96b SHA512 6a18fabdbcfe84e296289c41453eaf549ab7a56f9fcc11720359cf284ba99075e5ec33539ce32118c6982ba1b3a72b54fa307f7fec21adb5b317bda0a9de84d2
|
||||
DIST pydl-0.5.4.tar.gz 697024 BLAKE2B c8a078b6dbe5ea26cca5fa26909b869730b753a7ef842a1610182296b53a6f28ac3e7b41ebda94d42217d324e88cce498928976477552a1aab070cb32a61338e SHA512 9a9d086cf42b8cc4364b0079b2af17b1b25090865cc99badef78380b99cf6e2ff0de514ff17e60536c62f85a0bf613a52530a10ab4eb45984a0c45969d332682
|
||||
@@ -1,14 +0,0 @@
|
||||
Author: Vincent Prat <vinceprat@free.fr>
|
||||
Description: Ignore entry points to avoid creating executables
|
||||
--- a/setup.cfg
|
||||
+++ b/setup.cfg
|
||||
@@ -31,6 +31,6 @@
|
||||
github_project = weaverba137/pydl
|
||||
|
||||
[entry_points]
|
||||
-get_juldate = pydl.goddard.astro:get_juldate_main
|
||||
-hogg_iau_name = pydl.pydlutils.misc:hogg_iau_name_main
|
||||
-compute_templates = pydl.pydlspec2d.spec1d:template_input_main
|
||||
+#get_juldate = pydl.goddard.astro:get_juldate_main
|
||||
+#hogg_iau_name = pydl.pydlutils.misc:hogg_iau_name_main
|
||||
+#compute_templates = pydl.pydlspec2d.spec1d:template_input_main
|
||||
@@ -1,18 +0,0 @@
|
||||
<?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">
|
||||
PyDL consists of Python replacements for functions that are part of the IDL
|
||||
built-in library or part of astronomical IDL libraries.
|
||||
The emphasis is on reproducing results of the astronomical library
|
||||
functions.
|
||||
Only the bare minimum of IDL built-in functions are implemented to support this.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="pypi">pydl</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,54 +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="Library of IDL astronomy routines converted to Python"
|
||||
HOMEPAGE="https://pypi.org/project/pydl/"
|
||||
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}]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/astropy-helpers[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
PATCHES=( ${FILESDIR}/${PN}-ignore_entry_points.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() {
|
||||
virtx esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
@@ -1,54 +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="Library of IDL astronomy routines converted to Python"
|
||||
HOMEPAGE="https://pypi.org/project/pydl/"
|
||||
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}]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/astropy-helpers[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
PATCHES=( ${FILESDIR}/${PN}-ignore_entry_points.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() {
|
||||
virtx esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
Reference in New Issue
Block a user