diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-05-16 15:42:36 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-05-16 17:56:57 +0200 |
commit | 4edfca6c7b2111b778b86084e1d3be8ce44f362f (patch) | |
tree | 26f95e22116fddf084b282e75fb17ee23f9e9803 /dev-python/testpath/testpath-0.3.ebuild | |
parent | dev-python/traitlets: Drop old (diff) | |
download | gentoo-4edfca6c7b2111b778b86084e1d3be8ce44f362f.tar.gz gentoo-4edfca6c7b2111b778b86084e1d3be8ce44f362f.tar.bz2 gentoo-4edfca6c7b2111b778b86084e1d3be8ce44f362f.zip |
dev-python/testpath: Drop old
Package-Manager: Portage-2.3.36, Repoman-2.3.9
Diffstat (limited to 'dev-python/testpath/testpath-0.3.ebuild')
-rw-r--r-- | dev-python/testpath/testpath-0.3.ebuild | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/dev-python/testpath/testpath-0.3.ebuild b/dev-python/testpath/testpath-0.3.ebuild deleted file mode 100644 index efa5591fab24..000000000000 --- a/dev-python/testpath/testpath-0.3.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) - -inherit distutils-r1 - -DESCRIPTION="Test utilities for code working with files and commands" -HOMEPAGE="http://jupyter.org" -SRC_URI="https://github.com/jupyter/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="doc test" - -DEPEND=" - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - virtual/python-pathlib[${PYTHON_USEDEP}] - ) - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - " - -PATCHES=( - "${FILESDIR}"/${PN}-0.2-setup.py.patch - ) - -python_prepare_all() { - # Prevent un-needed download during build - if use doc; then - sed -e "/^ 'sphinx.ext.intersphinx',/d" -i doc/conf.py || die - fi - - distutils-r1_python_prepare_all -} - -python_compile_all() { - use doc && emake -C doc html -} - -python_install_all() { - use doc && HTML_DOCS=( doc/_build/html/. ) - distutils-r1_python_install_all - } - -python_test() { - distutils_install_for_testing - cd "${TEST_DIR}"/lib || die - cp -r "${S}"/tests "${TEST_DIR}"/lib/ || die - py.test || die -} |