mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 22:48:07 -07:00
dev-python/aplpy: version bump
Package-Manager: portage-2.3.2
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST APLpy-1.0.tar.gz 1169280 SHA256 09a8a24b46b93a1eacdbc0e6fd480fa38e4dd890a24963136d76185924602ff0 SHA512 658b626c2a94c73cc8ba45fde86409659555ed3ec065d07313f08b67c0bcdc596c8dc94562c924de2f3f32d6884051e6756e22384d9594c4538578b482fa7590 WHIRLPOOL 0c884cecbbc9a7cd4ca4ba48cee4e03f039fa2edf4aa5aa4ac945b58c889084acb762f9cff2014911b383b0b14ebd2e51d2ce28b01b87eb0053ba06c3cc6c5c3
|
||||
DIST APLpy-1.1.1.tar.gz 938943 SHA256 1c3bc9972da5f738435449e5e8483824129f2a18e7426f0a8c2c06a1ef3b4b4b SHA512 accc355fb56145db33a931b77b9d5b56e5e0f5a486a3a8d776b0645991883df4b78fae58cfe87c1575dad7f02baa5c68c95427c1de18c2435abd13c4a85eee93 WHIRLPOOL 38539eb997fb804717553988eddbebbe15b5fc74d61f8a87153ed27560b0e4bc0671053f0c0fa829ded6c81ea651c798f09bcadc223c8d7c5c09aa7de943717d
|
||||
|
||||
59
dev-python/aplpy/aplpy-1.1.1.ebuild
Normal file
59
dev-python/aplpy/aplpy-1.1.1.ebuild
Normal file
@@ -0,0 +1,59 @@
|
||||
# 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
|
||||
|
||||
MYPN=APLpy
|
||||
MYP=${MYPN}-${PV}
|
||||
|
||||
DESCRIPTION="Astronomical Plotting Library in Python"
|
||||
HOMEPAGE="https://aplpy.github.com/"
|
||||
SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-python/astropy[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/astropy-helpers[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/pytest-mpl[${PYTHON_USEDEP}] )"
|
||||
|
||||
S="${WORKDIR}/${MYP}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.0-fix-dependencies.patch"
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
sed -i -e '/auto_use/s/True/False/' setup.cfg || die
|
||||
xdg_environment_reset
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile --use-system-libraries
|
||||
}
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
cd "${TEST_DIR}" || die
|
||||
echo "backend: Agg" > matplotlibrc
|
||||
virtx "${EPYTHON}" -c "import aplpy, sys;r = aplpy.test();sys.exit(r)"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "Interact with Montage" dev-python/montage-wrapper
|
||||
optfeature "Read DS9 regions files" dev-python/pyregion
|
||||
optfeature "Extend image i/o formats" dev-python/pillow
|
||||
optfeature "Astronomy Visualization Metadata tagging" dev-python/pyavm
|
||||
}
|
||||
Reference in New Issue
Block a user