This commit is contained in:
Anton Bolshakov 2021-05-09 10:56:53 +08:00
parent 4110818dc1
commit e6bb4acbf3
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
3 changed files with 65 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST ipykernel-5.5.3.tar.gz 112656 BLAKE2B 4cad13f24baafc591558136405c8c643e12033ffd01b5608ffdef5442080c3e2003c0f2c4b1562c1f326b4c10e124afc358f5258a6c59b7c9db90b8bb23278e3 SHA512 7b7f0a0aed71f7713934ac071e7283be2028a221fa2b87cad8c2d26821909f81d21dec23a5f72c91e7c9de639b0d7430957c8cc58bbc026d95bd81bb0a005800

View file

@ -0,0 +1,47 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
DESCRIPTION="IPython Kernel for Jupyter"
HOMEPAGE="https://github.com/ipython/ipykernel"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
#https://bugs.gentoo.org/789000
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
RDEPEND="
dev-python/ipython[${PYTHON_USEDEP}]
dev-python/jupyter_client[${PYTHON_USEDEP}]
dev-python/jupyter_core[${PYTHON_USEDEP}]
dev-python/traitlets[${PYTHON_USEDEP}]
www-servers/tornado[${PYTHON_USEDEP}]"
BDEPEND="
test? (
dev-python/flaky[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/nose_warnings_filters[${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest
python_test() {
local deselect=(
# TODO
ipykernel/tests/test_serialize.py::test_numpy_in_seq
ipykernel/tests/test_serialize.py::test_numpy_in_dict
ipykernel/tests/test_serialize.py::test_class
ipykernel/tests/test_serialize.py::test_class_oldstyle
ipykernel/tests/test_serialize.py::test_class_inheritance
)
epytest ${deselect[@]/#/--deselect }
}

View file

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>sci@gentoo.org</email>
<name>Gentoo Science Project</name>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">ipykernel</remote-id>
<remote-id type="github">ipython/ipykernel</remote-id>
</upstream>
</pkgmetadata>