From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- dev-python/patsy/Manifest | 1 + dev-python/patsy/metadata.xml | 17 ++++++++++++++++ dev-python/patsy/patsy-0.5.1.ebuild | 40 +++++++++++++++++++++++++++++++++++++ 3 files changed, 58 insertions(+) create mode 100644 dev-python/patsy/Manifest create mode 100644 dev-python/patsy/metadata.xml create mode 100644 dev-python/patsy/patsy-0.5.1.ebuild (limited to 'dev-python/patsy') diff --git a/dev-python/patsy/Manifest b/dev-python/patsy/Manifest new file mode 100644 index 000000000000..f7b04d950b14 --- /dev/null +++ b/dev-python/patsy/Manifest @@ -0,0 +1 @@ +DIST patsy-0.5.1.tar.gz 397623 BLAKE2B b8861e8c8e223db5df616c378d5b1ce475a1b337d049723c1a4b01432d9e1569c4b6537dc467fbc1ba83dfc7cd999ad188008e387c446f2133f872393c9eb960 SHA512 aeb56411e68713ec75c0b5344890939f721c460d3c7643b9fd57d7c928421d21408b0f2963348edf27a025842989dbae6fd5cfccd3f9d9497d60a1dffe8d7bdc diff --git a/dev-python/patsy/metadata.xml b/dev-python/patsy/metadata.xml new file mode 100644 index 000000000000..72473dd93d02 --- /dev/null +++ b/dev-python/patsy/metadata.xml @@ -0,0 +1,17 @@ + + + + + sci-mathematics@gentoo.org + Gentoo Mathematics Project + + + A Python package for describing statistical models and for building + design matrices. It is closely inspired by and compatible with the + 'formula' mini-language used in R and S. + + + patsy + + gentoo-staging + diff --git a/dev-python/patsy/patsy-0.5.1.ebuild b/dev-python/patsy/patsy-0.5.1.ebuild new file mode 100644 index 000000000000..55fef3e05212 --- /dev/null +++ b/dev-python/patsy/patsy-0.5.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6..9} ) + +inherit distutils-r1 + +DESCRIPTION="Python module to describe statistical models and design matrices" +HOMEPAGE="https://patsy.readthedocs.org/en/latest/index.html" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" +IUSE="doc" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + sci-libs/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 +} -- cgit v1.3.1