parent
623f3340a0
commit
a633a2c720
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="ia64 instruction set simulator"
|
||||
HOMEPAGE="http://ski.sourceforge.net/ http://www.gelato.unsw.edu.au/IA64wiki/SkiSimulator"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="motif"
|
||||
|
||||
RDEPEND="dev-libs/libltdl:0=
|
||||
sys-libs/ncurses:0=
|
||||
virtual/libelf
|
||||
motif? ( x11-libs/motif:0= )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
dev-util/gperf"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-syscall-linux-includes.patch
|
||||
"${FILESDIR}"/${P}-remove-hayes.patch
|
||||
"${FILESDIR}"/${P}-no-local-ltdl.patch
|
||||
"${FILESDIR}"/${P}-AC_C_BIGENDIAN.patch
|
||||
"${FILESDIR}"/${P}-configure-withval.patch
|
||||
"${FILESDIR}"/${P}-binutils.patch
|
||||
"${FILESDIR}"/${P}-uselib.patch #592226
|
||||
"${FILESDIR}"/${P}-ncurses-config.patch
|
||||
"${FILESDIR}"/${P}-prototypes.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
rm -rf libltdl src/ltdl.[ch] macros/ltdl.m4
|
||||
|
||||
AT_M4DIR="macros" eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--without-included-ltdl \
|
||||
--without-gtk \
|
||||
$(use_with motif x11)
|
||||
}
|
Binary file not shown.
@ -1,3 +1,2 @@
|
||||
DIST poppler-0.79.0.tar.xz 1544140 BLAKE2B b5ecf204c5246f640d9f5ca5ffce9648a1a2c957efdb1e31ace9c1ccdff1be85337b67f7c4019b52eefce17e6f5869aa1911a60e54e421b80ddd3b6eec97a0ec SHA512 f0024fb86887e147ec1cbe9481498d348076dbd6b960716da65defab3365c67ab39626f946758dddbe438634a7116773d8ded8684b65e18abbfc299f56563ec9
|
||||
DIST poppler-0.82.0.tar.xz 1553336 BLAKE2B a83d476ce1174cb7789f857a52a8a9ed29dfe8863d082ef662508ad9957667349aa62b038fa1a52e9e7ae3ddf4701eb5fbd58545b041b6aebd69cb8b91376d8d SHA512 1631be30e398dd18a4e8c2cc893cf0d9469a98d93f02f2ffe3bc14857518b76674a10cafe89ee92b9886c3c6b03d50e214a6838c102f673a62789c9832cfa4a2
|
||||
DIST poppler-0.83.0.tar.xz 1555456 BLAKE2B 4ab24a85e879d0ddbf24cf7bab5b1da7c15fc026e88b4076dc2b8cd34d69a5bcc0113df20fabda6915afea880480613ba34be6e23b5b0d79a3c6197c92af7853 SHA512 bfde1e3cc4d9c626949aab770d84fccbe47bdde2331d3b9f5b98c24319eb573a5db62acbfa5a524b21ed0f195f8b163fee64677c2bd616d31d0bb219d1e66713
|
||||
|
@ -1,31 +0,0 @@
|
||||
--- poppler-0.78.0/cmake/modules/PopplerMacros.cmake
|
||||
+++ poppler-0.78.0/cmake/modules/PopplerMacros.cmake
|
||||
@@ -145,28 +145,6 @@
|
||||
endif(GCC_HAS_AS_NEEDED)
|
||||
endif (CMAKE_COMPILER_IS_GNUCXX)
|
||||
|
||||
-if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||
-# set the default compile warnings
|
||||
- set(_warn "-Wall -Wextra -Wpedantic")
|
||||
- set(_warn "${_warn} -Wno-unused-parameter")
|
||||
- set(_warn "${_warn} -Wcast-align")
|
||||
- set(_warn "${_warn} -Wformat-security")
|
||||
- set(_warn "${_warn} -Wframe-larger-than=65536")
|
||||
- set(_warn "${_warn} -Wmissing-format-attribute")
|
||||
- set(_warn "${_warn} -Wnon-virtual-dtor")
|
||||
- set(_warn "${_warn} -Woverloaded-virtual")
|
||||
- set(_warn "${_warn} -Wmissing-declarations")
|
||||
- set(_warn "${_warn} -Wundef")
|
||||
- set(_warn "${_warn} -Wzero-as-null-pointer-constant")
|
||||
- set(_warn "${_warn} -Wshadow")
|
||||
-
|
||||
- # set extra warnings
|
||||
- set(_warnx "${_warnx} -Wconversion")
|
||||
-
|
||||
- set(DEFAULT_COMPILE_WARNINGS "${_warn}")
|
||||
- set(DEFAULT_COMPILE_WARNINGS_EXTRA "${_warn} ${_warnx}")
|
||||
-endif()
|
||||
-
|
||||
if(CMAKE_C_COMPILER MATCHES "icc")
|
||||
set(_save_cxxflags "${CMAKE_CXX_FLAGS}")
|
||||
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g ${_save_cxxflags}")
|
@ -1,127 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils flag-o-matic toolchain-funcs xdg-utils
|
||||
|
||||
if [[ ${PV} == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://anongit.freedesktop.org/git/poppler/poppler.git"
|
||||
SLOT="0/9999"
|
||||
else
|
||||
SRC_URI="https://poppler.freedesktop.org/${P}.tar.xz"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0/89" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION
|
||||
fi
|
||||
|
||||
DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
|
||||
HOMEPAGE="https://poppler.freedesktop.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
IUSE="cairo cjk curl cxx debug doc +introspection +jpeg +jpeg2k +lcms nss png qt5 tiff +utils"
|
||||
|
||||
# No test data provided
|
||||
RESTRICT="test"
|
||||
|
||||
BDEPEND="
|
||||
dev-util/glib-utils
|
||||
virtual/pkgconfig
|
||||
"
|
||||
DEPEND="
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
sys-libs/zlib
|
||||
cairo? (
|
||||
dev-libs/glib:2
|
||||
x11-libs/cairo
|
||||
introspection? ( dev-libs/gobject-introspection:= )
|
||||
)
|
||||
curl? ( net-misc/curl )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
jpeg2k? ( >=media-libs/openjpeg-2.3.0-r1:2= )
|
||||
lcms? ( media-libs/lcms:2 )
|
||||
nss? ( >=dev-libs/nss-3.19:0 )
|
||||
png? ( media-libs/libpng:0= )
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtxml:5
|
||||
)
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
cjk? ( app-text/poppler-data )
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS NEWS README.md README-XPDF )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.60.1-qt5-dependencies.patch"
|
||||
"${FILESDIR}/${PN}-0.28.1-fix-multilib-configuration.patch"
|
||||
"${FILESDIR}/${PN}-0.78.0-respect-cflags.patch"
|
||||
"${FILESDIR}/${PN}-0.61.0-respect-cflags.patch"
|
||||
"${FILESDIR}/${PN}-0.57.0-disable-internal-jpx.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
|
||||
# Clang doesn't grok this flag, the configure nicely tests that, but
|
||||
# cmake just uses it, so remove it if we use clang
|
||||
if [[ ${CC} == clang ]] ; then
|
||||
sed -e 's/-fno-check-new//' -i cmake/modules/PopplerMacros.cmake || die
|
||||
fi
|
||||
|
||||
if ! grep -Fq 'cmake_policy(SET CMP0002 OLD)' CMakeLists.txt ; then
|
||||
sed -e '/^cmake_minimum_required/acmake_policy(SET CMP0002 OLD)' \
|
||||
-i CMakeLists.txt || die
|
||||
else
|
||||
einfo "policy(SET CMP0002 OLD) - workaround can be removed"
|
||||
fi
|
||||
|
||||
# we need to up the C++ version, bug #622526, #643278
|
||||
append-cxxflags -std=c++11
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
xdg_environment_reset
|
||||
local mycmakeargs=(
|
||||
-DBUILD_GTK_TESTS=OFF
|
||||
-DBUILD_QT5_TESTS=OFF
|
||||
-DBUILD_CPP_TESTS=OFF
|
||||
-DENABLE_SPLASH=ON
|
||||
-DENABLE_ZLIB=ON
|
||||
-DENABLE_ZLIB_UNCOMPRESS=OFF
|
||||
-DENABLE_UNSTABLE_API_ABI_HEADERS=ON
|
||||
-DSPLASH_CMYK=OFF
|
||||
-DUSE_FIXEDPOINT=OFF
|
||||
-DUSE_FLOAT=OFF
|
||||
-DWITH_Cairo=$(usex cairo)
|
||||
-DENABLE_LIBCURL=$(usex curl)
|
||||
-DENABLE_CPP=$(usex cxx)
|
||||
-DWITH_JPEG=$(usex jpeg)
|
||||
-DENABLE_DCTDECODER=$(usex jpeg libjpeg none)
|
||||
-DENABLE_LIBOPENJPEG=$(usex jpeg2k openjpeg2 none)
|
||||
-DENABLE_CMS=$(usex lcms lcms2 none)
|
||||
-DWITH_NSS3=$(usex nss)
|
||||
-DWITH_PNG=$(usex png)
|
||||
$(cmake-utils_use_find_package qt5 Qt5Core)
|
||||
-DWITH_TIFF=$(usex tiff)
|
||||
-DENABLE_UTILS=$(usex utils)
|
||||
)
|
||||
use cairo && mycmakeargs+=( -DWITH_GObjectIntrospection=$(usex introspection) )
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
# live version doesn't provide html documentation
|
||||
if use cairo && use doc && [[ ${PV} != *9999* ]]; then
|
||||
# For now install gtk-doc there
|
||||
insinto /usr/share/gtk-doc/html/poppler
|
||||
doins -r "${S}"/glib/reference/html/*
|
||||
fi
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +0,0 @@
|
||||
DIST APLpy-1.0.tar.gz 1169280 BLAKE2B 10c7133c5708412741e25b85f3286d28ab36c5ab69fa65dcbb8b1607c171f1fc5c7b341fea8255176a90d97e18c7a5071d9f3e7848558ee66f7f48de0cf9ea09 SHA512 658b626c2a94c73cc8ba45fde86409659555ed3ec065d07313f08b67c0bcdc596c8dc94562c924de2f3f32d6884051e6756e22384d9594c4538578b482fa7590
|
||||
DIST APLpy-1.1.1.tar.gz 938943 BLAKE2B 1b5ca8f1312a0bccea46a3d7bf3dd8cc7a003083cc321147d24c650abe6bc77c3b2398db64687d3603a1077f3253a1cccf37efe874148c681393563991f96b43 SHA512 accc355fb56145db33a931b77b9d5b56e5e0f5a486a3a8d776b0645991883df4b78fae58cfe87c1575dad7f02baa5c68c95427c1de18c2435abd13c4a85eee93
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,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}]
|
||||
dev-python/pyavm[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/astropy-helpers[${PYTHON_USEDEP}]"
|
||||
|
||||
S="${WORKDIR}/${MYP}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.0-mark-known-failures.patch"
|
||||
"${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
|
||||
virtx "${EPYTHON}" -c "import aplpy, sys;r = aplpy.test();sys.exit(r)"
|
||||
}
|
@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
|
||||
|
||||
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
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
Author: Ole Streicher <olebole@debian.org>
|
||||
Description: Change requires to install_requires
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -94,8 +94,7 @@
|
||||
version=VERSION,
|
||||
description=DESCRIPTION,
|
||||
scripts=scripts,
|
||||
- requires=['astropy', 'numpy', 'matplotlib'],
|
||||
- install_requires=['astropy'],
|
||||
+ install_requires=['astropy', 'numpy', 'matplotlib'],
|
||||
provides=[PACKAGENAME],
|
||||
author=AUTHOR,
|
||||
author_email=AUTHOR_EMAIL,
|
@ -1,121 +0,0 @@
|
||||
Author: Ole Streicher <olebole@debian.org>
|
||||
Description: Mark tests that are known to fail with matplotlib-1.5
|
||||
--- a/aplpy/tests/test_images.py
|
||||
+++ b/aplpy/tests/test_images.py
|
||||
@@ -61,6 +61,8 @@
|
||||
|
||||
class TestBasic(BaseImageTests):
|
||||
|
||||
+# see https://github.com/aplpy/aplpy/issues/278
|
||||
+ @pytest.mark.xfail()
|
||||
# Test for showing grayscale
|
||||
def test_basic_image(self, generate):
|
||||
f = FITSFigure(self.filename_2)
|
||||
@@ -68,6 +70,8 @@
|
||||
self.generate_or_test(generate, f, 'basic_image.png')
|
||||
f.close()
|
||||
|
||||
+# see https://github.com/aplpy/aplpy/issues/278
|
||||
+ @pytest.mark.xfail()
|
||||
def test_ticks_labels_options(self, generate):
|
||||
f = FITSFigure(self.filename_2)
|
||||
f.ticks.set_color('black')
|
||||
@@ -84,6 +88,8 @@
|
||||
self.generate_or_test(generate, f, 'tick_labels_options.png')
|
||||
f.close()
|
||||
|
||||
+# see https://github.com/aplpy/aplpy/issues/278
|
||||
+ @pytest.mark.xfail()
|
||||
# Test for showing colorscale
|
||||
def test_show_colorbar_scalebar_beam(self, generate):
|
||||
f = FITSFigure(self.filename_1)
|
||||
@@ -96,6 +102,8 @@
|
||||
self.generate_or_test(generate, f, 'colorbar_scalebar_beam.png')
|
||||
f.close()
|
||||
|
||||
+# see https://github.com/aplpy/aplpy/issues/278
|
||||
+ @pytest.mark.xfail()
|
||||
# Test for overlaying shapes
|
||||
def test_overlay_shapes(self, generate):
|
||||
f = FITSFigure(self.filename_1)
|
||||
@@ -112,6 +120,8 @@
|
||||
self.generate_or_test(generate, f, 'overlay_shapes.png')
|
||||
f.close()
|
||||
|
||||
+# see https://github.com/aplpy/aplpy/issues/278
|
||||
+ @pytest.mark.xfail()
|
||||
# Test for grid
|
||||
def test_grid(self, generate):
|
||||
f = FITSFigure(self.filename_1)
|
||||
@@ -125,6 +135,8 @@
|
||||
self.generate_or_test(generate, f, 'grid.png')
|
||||
f.close()
|
||||
|
||||
+# see https://github.com/aplpy/aplpy/issues/278
|
||||
+ @pytest.mark.xfail()
|
||||
# Test recenter
|
||||
def test_recenter(self, generate):
|
||||
f = FITSFigure(self.filename_2)
|
||||
@@ -135,6 +147,8 @@
|
||||
self.generate_or_test(generate, f, 'recenter.png')
|
||||
f.close()
|
||||
|
||||
+# see https://github.com/aplpy/aplpy/issues/278
|
||||
+ @pytest.mark.xfail()
|
||||
# Test overlaying contours
|
||||
def test_contours(self, generate):
|
||||
data = np.arange(256).reshape((16, 16))
|
||||
@@ -144,6 +158,8 @@
|
||||
self.generate_or_test(generate, f, 'contours.png')
|
||||
f.close()
|
||||
|
||||
+# see https://github.com/aplpy/aplpy/issues/278
|
||||
+ @pytest.mark.xfail()
|
||||
# Test cube slice
|
||||
def test_cube_slice(self, generate):
|
||||
f = FITSFigure(self.filename_3, dimensions=[2, 0], slices=[10])
|
||||
--- a/aplpy/tests/test_rgb.py
|
||||
+++ b/aplpy/tests/test_rgb.py
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
import numpy as np
|
||||
from astropy.io import fits
|
||||
+from astropy.tests.helper import pytest
|
||||
|
||||
from .. import FITSFigure
|
||||
from ..rgb import make_rgb_image
|
||||
@@ -17,6 +18,8 @@
|
||||
|
||||
class TestRGB(BaseImageTests):
|
||||
|
||||
+# see https://github.com/aplpy/aplpy/issues/278
|
||||
+ @pytest.mark.xfail()
|
||||
def test_rgb(self, generate, tmpdir):
|
||||
|
||||
# Regression test to check that RGB recenter works properly
|
||||
--- a/aplpy/tests/test_vectors.py
|
||||
+++ b/aplpy/tests/test_vectors.py
|
||||
@@ -1,4 +1,5 @@
|
||||
import numpy as np
|
||||
+from astropy.tests.helper import pytest
|
||||
|
||||
from ..core import FITSFigure
|
||||
|
||||
@@ -15,6 +16,8 @@
|
||||
|
||||
class TestVectors(BaseImageTests):
|
||||
|
||||
+# see https://github.com/aplpy/aplpy/issues/278
|
||||
+ @pytest.mark.xfail()
|
||||
def test_default(self, generate):
|
||||
f = FITSFigure(IMAGE, figsize=(4,4))
|
||||
f.show_grayscale()
|
||||
@@ -22,6 +25,8 @@
|
||||
self.generate_or_test(generate, f, 'vectors_default.png', tolerance=2.5)
|
||||
f.close()
|
||||
|
||||
+# see https://github.com/aplpy/aplpy/issues/278
|
||||
+ @pytest.mark.xfail()
|
||||
def test_step_scale(self, generate):
|
||||
f = FITSFigure(IMAGE, figsize=(4,4))
|
||||
f.show_grayscale()
|
@ -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">
|
||||
APLpy (the Astronomical Plotting Library in Python) is a Python
|
||||
module aimed at producing publication-quality plots of astronomical
|
||||
imaging data in FITS format. The module uses Matplotlib. It is
|
||||
capable of creating output files in several graphical formats,
|
||||
including EPS, PDF, PS, PNG, and SVG.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="pypi">APLpy</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST asdf-1.2.1.tar.gz 320828 BLAKE2B 8050b24616ba56ac8d946a579da1a8962e54f22db45c8c95c45cccf4552355f68e6983c3831b60aa18d7c33a3914b1984ac31ce3461568bd5c4dee6625c113be SHA512 ac8b94ee1c0e2f1d99d55e38d13cd78e7fb14fbf8b5e15a725c61560e14ab96401a53909954ac6cde825121c6a1205b2d3b8ca474499b90461a2f0ebb5db4638
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python library for the Advanced Scientific Data Format"
|
||||
HOMEPAGE="https://asdf.readthedocs.io/en/latest/"
|
||||
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/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/six[${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}"/${P}-Disable-test-that-require-http-server.patch
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
# use system astropy-helpers instead of bundled one
|
||||
sed -i -e '/auto_use/s/True/False/' setup.cfg || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
python_setup
|
||||
PYTHONPATH="${BUILD_DIR}"/lib \
|
||||
esetup.py build_sphinx --no-intersphinx
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,53 +0,0 @@
|
||||
From: Ole Streicher <olebole@debian.org>
|
||||
Date: Sat, 5 Nov 2016 14:03:24 +0100
|
||||
Subject: Disable test that require http server
|
||||
|
||||
Network connections are not available in pbuilder.
|
||||
---
|
||||
asdf/tests/test_generic_io.py | 12 ++++--------
|
||||
1 file changed, 4 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/asdf/tests/test_generic_io.py b/asdf/tests/test_generic_io.py
|
||||
index 3f48eab..b90ca7e 100644
|
||||
--- a/asdf/tests/test_generic_io.py
|
||||
+++ b/asdf/tests/test_generic_io.py
|
||||
@@ -241,8 +241,7 @@ def test_streams2():
|
||||
assert len(x) == 60
|
||||
|
||||
|
||||
-@pytest.mark.skipif(sys.platform.startswith('win'),
|
||||
- reason="Windows firewall prevents test")
|
||||
+@pytest.mark.skipif(True, reason="pbuilder prevents test")
|
||||
def test_urlopen(tree, httpserver):
|
||||
path = os.path.join(httpserver.tmpdir, 'test.asdf')
|
||||
|
||||
@@ -260,8 +259,7 @@ def test_urlopen(tree, httpserver):
|
||||
assert isinstance(next(ff.blocks.internal_blocks)._data, np.ndarray)
|
||||
|
||||
|
||||
-@pytest.mark.skipif(sys.platform.startswith('win'),
|
||||
- reason="Windows firewall prevents test")
|
||||
+@pytest.mark.skipif(True, reason="pbuilder prevents test")
|
||||
def test_http_connection(tree, httpserver):
|
||||
path = os.path.join(httpserver.tmpdir, 'test.asdf')
|
||||
|
||||
@@ -284,8 +282,7 @@ def test_http_connection(tree, httpserver):
|
||||
ff.tree['science_data'][0] == 42
|
||||
|
||||
|
||||
-@pytest.mark.skipif(sys.platform.startswith('win'),
|
||||
- reason="Windows firewall prevents test")
|
||||
+@pytest.mark.skipif(True, reason="pbuilder prevents test")
|
||||
def test_http_connection_range(tree, rhttpserver):
|
||||
path = os.path.join(rhttpserver.tmpdir, 'test.asdf')
|
||||
connection = [None]
|
||||
@@ -348,8 +345,7 @@ def test_exploded_filesystem_fail(tree, tmpdir):
|
||||
helpers.assert_tree_match(tree, ff.tree)
|
||||
|
||||
|
||||
-@pytest.mark.skipif(sys.platform.startswith('win'),
|
||||
- reason="Windows firewall prevents test")
|
||||
+@pytest.mark.skipif(True, reason="pbuilder prevents test")
|
||||
def test_exploded_http(tree, httpserver):
|
||||
path = os.path.join(httpserver.tmpdir, 'test.asdf')
|
||||
|
@ -1,21 +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">
|
||||
ASDF (Advanced Scientific Data Format) is a proposed
|
||||
next generation interchange format for scientific data. ASDF aims to
|
||||
exist in the same middle ground that made FITS so successful, by
|
||||
being a hybrid text and binary format: containing human editable
|
||||
metadata for interchange, and raw binary data that is fast to load
|
||||
and use. Unlike FITS, the metadata is highly structured and is
|
||||
designed up-front for extensibility.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="pypi">asdf</remote-id>
|
||||
<remote-id type="github">spacetelescope/asdf</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST astLib-0.8.0.tar.gz 708939 BLAKE2B c60f1803ac2b488eb24d04b8c8ecbf405299ca9cee0489952a7aef02047cf78db8b7b3f46b00aa26fbdd59ce8035e8612ce0042c912718c03e4e7f1f3914f328 SHA512 44e3903c1353fa69841a28e61e52f9cb7165edfffa2eba17cbf6bfd671ed8e8745cf2364b418a3f012bb56088fa7912ef0b00d8c9d96f7b4ce196881b4b05a31
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MYPN=astLib
|
||||
MYP=${MYPN}-${PV}
|
||||
|
||||
DESCRIPTION="Python astronomy modules for image and coordinate manipulation"
|
||||
HOMEPAGE="http://astlib.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MYP}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
|
||||
IUSE="doc examples"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-system-wcstools.patch" )
|
||||
|
||||
DEPEND="sci-astronomy/wcstools"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-python/astropy[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]"
|
||||
|
||||
S="${WORKDIR}/${MYP}"
|
||||
|
||||
python_install_all() {
|
||||
dodoc CHANGE_LOG RELEASE_NOTES
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
use doc && doins -r docs/${MYPN}/*
|
||||
insinto /usr/share/doc/${PF}
|
||||
use examples && doins -r examples
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
Author: Ole Streicher <olebole@debian.org>
|
||||
Description: Use system provided libwcstools instead of local copy
|
||||
Also, build the swig wrapper from its source file.
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -84,12 +84,11 @@
|
||||
PyWCSTools is distributed (and developed) as part of astLib.""",
|
||||
packages=['astLib', 'PyWCSTools'],
|
||||
package_data={'astLib': ['data/*']},
|
||||
- cmdclass={"build_ext": build_PyWCSTools_ext},
|
||||
scripts=exampleScripts,
|
||||
ext_modules=[
|
||||
- Extension('PyWCSTools._wcscon', [sourceDir+"wcscon_wrap.c"],
|
||||
- extra_objects=oFiles),
|
||||
- Extension('PyWCSTools._wcs', [sourceDir+"wcs_wrap.c"],
|
||||
- extra_objects=oFiles)
|
||||
+ Extension('PyWCSTools._wcscon', [sourceDir+"wcscon.i"],
|
||||
+ swig_opts=['-outdir', 'PyWCSTools/'], libraries=['wcstools']),
|
||||
+ Extension('PyWCSTools._wcs', [sourceDir+"wcs.i"],
|
||||
+ swig_opts=['-outdir', 'PyWCSTools/'], libraries=['wcstools'])
|
||||
]
|
||||
)
|
||||
--- a/PyWCSTools/wcssubs-3.8.7/wcs.i
|
||||
+++ b/PyWCSTools/wcssubs-3.8.7/wcs.i
|
||||
@@ -14,7 +14,7 @@
|
||||
/* %feature("autodoc", "1") */
|
||||
|
||||
%{
|
||||
-#include "wcs.h"
|
||||
+#include <wcs/wcs.h>
|
||||
%}
|
||||
|
||||
/* WORKING */
|
@ -1,21 +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">
|
||||
astLib is a set of Python modules that provides some tools for
|
||||
research astronomers. It can be used for simple plots, statistics,
|
||||
common calculations, coordinate conversions, and manipulating FITS
|
||||
images with World Coordinate System (WCS) information through
|
||||
PyWCSTools - a simple wrapping of WCSTools by Doug Mink. PyWCSTools
|
||||
is distributed (and developed) as part of astLib.
|
||||
In Gentoo, PyWCSTools is using the stock library instead of the
|
||||
bundled one.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">astlib</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST astrodendro-0.2.0.tar.gz 4594802 BLAKE2B 19499d75d6ecf024c399595926c41fcd19b7dda017cbde2d6466cc85c9a7e5eec15ea459691589dcc89013b3ca8c76532d85eb565635a526283a63e88b9fc5a2 SHA512 2079e2844537b74b8c40a5e2d9c04a2e7940f12fa0ac77dc95f39d7ea623ad43d8635043336f5cedff6076599a44c4b8908dbd0b67d33c47310408496bce1b1d
|
@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
|
||||
|
||||
inherit distutils-r1 xdg-utils virtualx
|
||||
|
||||
DESCRIPTION="Python package for computation of astronomical dendrograms"
|
||||
HOMEPAGE="https://dendrograms.readthedocs.io/en/stable/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/astropy[${PYTHON_USEDEP}]
|
||||
dev-python/h5py[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/astropy-helpers[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? (
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
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,15 +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">
|
||||
The astrodendro package provides an easy way to compute
|
||||
dendrograms of observed or simulated Astronomical data in Python.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="pypi">astrodendro</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST astroML_addons-0.2.2.tar.gz 51052 BLAKE2B 82b1933d335096f85d311fff8e252a4c36ce56922084c8ffdc01535cee3529c705627ff986d1bfdb60a8b9679db5042a1511a17adf93860509a47aad2660efe9 SHA512 97c61c731d3dd8cadbfcb36defd1a678f776a2012fda1159621d3e364e25ca74cd0d284980f52095a2df31973cefba09f9b3efe72ba95b4f65ca13e4aaec5e20
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MYPN=astroML_addons
|
||||
MYP=${MYPN}-${PV}
|
||||
|
||||
DESCRIPTION="Performance add-ons for the astroML package"
|
||||
HOMEPAGE="https://github.com/astroML/astroML_addons"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${MYPN}/${MYP}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/astroml[${PYTHON_USEDEP}]"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]"
|
||||
|
||||
S="${WORKDIR}/${MYP}"
|
||||
|
||||
DOCS=( README.rst )
|
@ -1,23 +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">
|
||||
astroML is split into two components. The core astroML library is written
|
||||
in python only, and is designed to be very easy to install for any users,
|
||||
even those who don't have a working C or fortran compiler. A companion library,
|
||||
astroML_addons, can be optionally installed for increased performance on
|
||||
certain algorithms. Every algorithm in astroML_addons has a pure python
|
||||
counterpart in the core astroML implementation, but the astroML_addons library
|
||||
contains faster and more efficient implementations in compiled code.
|
||||
Furthermore, if astroML_addons is installed on your system, the core astroML
|
||||
library will import and use the faster routines by default.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="pypi">astroML_addons</remote-id>
|
||||
<remote-id type="github">astroML/astroML_addons</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST astroML-0.3.tar.gz 242925 BLAKE2B f0a5d650cbd7e16b7c2a47cd83206312d7781c5a9b118a726ac19355f6de76c4fc2301ac91c7ad44b8076b61c167ea9c34272e9d63442e3fb606a0bf31acbfec SHA512 7b9c6824ec1c09c35a0e9ea10674c93c7f301a3b15c5104357d9749534b78203c33eaac82c8ec1d1c51bdf30e1408d21002d1d2e7e243aa08c28cc7b1f1ab74a
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
|
||||
|
||||
inherit distutils-r1 virtualx
|
||||
|
||||
MYPN=astroML
|
||||
MYP=${MYPN}-${PV}
|
||||
|
||||
DESCRIPTION="Python Machine Learning library for astronomy"
|
||||
HOMEPAGE="http://www.astroml.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${MYPN}/${MYP}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="examples test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/astropy[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]
|
||||
sci-libs/scikits_learn[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
S="${WORKDIR}/${MYP}"
|
||||
|
||||
DOCS=( CHANGES.rst README.rst )
|
||||
|
||||
python_test() {
|
||||
virtx nosetests --verbose
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
insinto /usr/share/doc/${PF}
|
||||
use examples && doins -r examples
|
||||
}
|
@ -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">
|
||||
AstroML is a Python module for machine learning and data mining built on
|
||||
numpy, scipy, scikit-learn, and matplotlib. It contains a growing library of
|
||||
statistical and machine learning routines for analyzing astronomical data in
|
||||
Python, loaders for several open astronomical datasets, and a large suite of
|
||||
examples of analyzing and visualizing astronomical datasets.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="pypi">astroML</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -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
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_5,3_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
|
||||
}
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,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 ~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
|
||||
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
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
--- a/astroplan/conftest.py.orig 2016-11-30 23:17:49.057492656 +0000
|
||||
+++ b/astroplan/conftest.py 2016-11-30 23:18:11.076451659 +0000
|
||||
@@ -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'
|
@ -1,16 +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">
|
||||
Astroplan is an observation planning package for astronomers that can help
|
||||
you plan for everything but the clouds.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="pypi">astroplan</remote-id>
|
||||
<remote-id type="github">astropy/astroplan</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,3 +0,0 @@
|
||||
DIST astropy-helpers-1.2.tar.gz 134346 BLAKE2B bbd341a164bfbbc7e6a7eed98f4880e9505d458a6ae3e94d0b4f6a3be074bc01833cbc62015f60b77bb0f11e96a394bb3e6002e9cfce59dc467e5259d06fb0e0 SHA512 c343b2d8a2f37f8baa94a4920c458b23fe28e5afa812937559cd10c1f6750bacc21aec38b8f52367ec68e2ea3ffeea85125290c320288888b3076abebb8f2e7e
|
||||
DIST astropy-helpers-1.3.1.tar.gz 136460 BLAKE2B 123b9de9dcf7dfa6206a4ec452b5c5fa782cad5600a3b8b8a63974ff0d15b64a2e1c77659d98bf14cfcd4e2ba5b5ea87700bea01ff5454c64b8f239d14580568 SHA512 796e9827a6c29e148474180c9c8f934a51a8ed455991d84a096025ed5d8aecf764a8152a8b24aa1aec6c254b39ca3f13ebfc764717bd0109022b86c384ebaa99
|
||||
DIST astropy-helpers-2.0.1.tar.gz 122118 BLAKE2B 366d3c2af2c53082d23b1a5951b0a6c2e990fc1ba38af98bc2e0647b421c17943fbbab8727370eb15c16339fc6265c6a42c7ce85c0fd8c3ff616b44777489213 SHA512 ce0fb8bccc11b4e26ae9455f156274a4fbdf82bb1b6bf6c8322b0cb218502bcf291c175149e71ebd31cbd0434455a3c974cccd38c38f9263ae624cf2edffd475
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_5 )
|
||||
|
||||
inherit distutils-r1 xdg-utils
|
||||
|
||||
DESCRIPTION="Helpers for Astropy and Affiliated packages"
|
||||
HOMEPAGE="https://github.com/astropy/astropy-helpers"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -e '/import ah_bootstrap/d' -i setup.py || die "Removing ah_bootstrap failed"
|
||||
xdg_environment_reset
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue