summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-06-20 23:23:28 +0200
committerMichał Górny <mgorny@gentoo.org>2021-06-21 00:59:54 +0200
commit076467c485c711d11e65793d22e6a924257a87c0 (patch)
treec751b338aa9bfa2736f86bbac4cbff13b45adc7f /dev-python/patsy
parentdev-python/toolz: Enable py3.10 (diff)
downloadgentoo-076467c485c711d11e65793d22e6a924257a87c0.tar.gz
gentoo-076467c485c711d11e65793d22e6a924257a87c0.tar.bz2
gentoo-076467c485c711d11e65793d22e6a924257a87c0.zip
dev-python/patsy: Disable broken USE=doc (requires py2)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/patsy')
-rw-r--r--dev-python/patsy/patsy-0.5.1.ebuild23
1 files changed, 3 insertions, 20 deletions
diff --git a/dev-python/patsy/patsy-0.5.1.ebuild b/dev-python/patsy/patsy-0.5.1.ebuild
index a652931b88ad..39d9848be72e 100644
--- a/dev-python/patsy/patsy-0.5.1.ebuild
+++ b/dev-python/patsy/patsy-0.5.1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
@@ -13,28 +13,11 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
-IUSE="doc"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/scipy[${PYTHON_USEDEP}]
- "
-BDEPEND="
- doc? (
- dev-python/ipython[${PYTHON_USEDEP}]
- dev-python/matplotlib[${PYTHON_USEDEP}]
- dev-python/sphinx[${PYTHON_USEDEP}]
- dev-python/pandas[${PYTHON_USEDEP}]
- )"
+"
distutils_enable_tests nose
-
-python_compile_all() {
- use doc && emake -C doc html
-}
-
-python_install_all() {
- use doc && HTML_DOCS=( doc/_build/html/. )
- distutils-r1_python_install_all
-}