diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/patsy |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/patsy')
-rw-r--r-- | dev-python/patsy/Manifest | 5 | ||||
-rw-r--r-- | dev-python/patsy/metadata.xml | 16 | ||||
-rw-r--r-- | dev-python/patsy/patsy-0.4.1.ebuild | 46 |
3 files changed, 67 insertions, 0 deletions
diff --git a/dev-python/patsy/Manifest b/dev-python/patsy/Manifest new file mode 100644 index 000000000000..9c3ffc48537e --- /dev/null +++ b/dev-python/patsy/Manifest @@ -0,0 +1,5 @@ +DIST patsy-0.4.1.zip 425390 SHA256 dc1cc280045b0e6e50c04706fd1e26d2a00ea400aa112f88e8142f88b0b7d3d4 SHA512 24cf2e6f9a33e6dd795a839eb2b2ac9e0d45cd9c3d5250de17722914ac29436d0518388d0696b75d73236eda3c7819dc4fa24d6d9bc37d5ae035dde2af4510c3 WHIRLPOOL 55506dcd5744e769fe1387e8fcaad52743096e0df7d23f02faff20c2c8687fac3cea337bf22c7d9c7984e44c3d107c961ee248d156fafc0dc820574b78903eb6 +EBUILD patsy-0.4.1.ebuild 1108 SHA256 3cf45136dd3f1d7458a32a872d5cc1ce8445bc55f4dc70600b20b03c40836887 SHA512 6a5424428cd8cc91cb955ebfd5e3c0c2dc27fee6ac76e6de2d98ffb6ac5877d0ceceff287f3a9737e815fdd11771faa155f3b36cd3ec7916a3f74236d52f56ba WHIRLPOOL 57c91abd2f35281316026d9c68960afe8f4c6c14f308e6b9c7eecd8c8733569fd94adb27c7078d27dd2295a9f9cca608dd2dfd6f7f21373333208a9fa4c9754a +MISC ChangeLog 4023 SHA256 e57079fb2be9de883acf0e537195241acbd0fe5f855535cd201dcf160436b0a3 SHA512 189097b8f70fbadac045d774e3aea62641d1521350ac81c371fca177c746cd51389ca5c12cbea2747b70dc36822105ea3d85fefcd98bc4715135c940e4de2e0b WHIRLPOOL 0cd90feaed918b6f1e120ccb104b92b7ebb1d570009c3fdd1ab99b2fc0325b206805df1ce0bc2e3ea3c88ca61a449e5a5f94e9af2e0f079a81e98e74e02a5454 +MISC ChangeLog-2015 1232 SHA256 661ff4f449dd5468adef1a1e8d459ef091d5b587fd2bc8b0e700794d9989bf6c SHA512 7f4d82beab78c63ee12c76684a6eb69ac16076685f926bfbf1761d9c5ced317ef79178afd0a419c5bc0d0073fcda01f4520a1dfc3b6b3edf90705c5d44873363 WHIRLPOOL 455b699742c1836925998b9d792e7a8a13ddd030b4ae22819f0dbe4af15e3b38705475e057c58e75648a8fa4650c5153b70529a32c5951299247dc7ab8334d0c +MISC metadata.xml 568 SHA256 ca46c400592bca673979813f9c65996c177c1829a47afc09939072106847e904 SHA512 57957dc18e93d9bc8d53d72bf8c9e601856ffb1511943034ff30aa7d93761f8b986e67daadf8dbcd57ef7714ebf3dda13ccd345df294809954c942cb9bdd1310 WHIRLPOOL 878aa5735416e2ba844a47b45b8638abde73caefce1fb7537959acd99d3ad21f59baa5987714dfc4aee3e7786bf052435c709aae8a4ef90b399e57a960cdf7d6 diff --git a/dev-python/patsy/metadata.xml b/dev-python/patsy/metadata.xml new file mode 100644 index 000000000000..c4917258dafc --- /dev/null +++ b/dev-python/patsy/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci-mathematics@gentoo.org</email> + <name>Gentoo Mathematics Project</name> + </maintainer> + <longdescription> + 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. +</longdescription> + <upstream> + <remote-id type="pypi">patsy</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/patsy/patsy-0.4.1.ebuild b/dev-python/patsy/patsy-0.4.1.ebuild new file mode 100644 index 000000000000..b10300a25936 --- /dev/null +++ b/dev-python/patsy/patsy-0.4.1.ebuild @@ -0,0 +1,46 @@ +# 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="Python module to describe statistical models and design matrices" +HOMEPAGE="http://patsy.readthedocs.org/en/latest/index.html" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" +IUSE="doc test" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + " +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] + doc? ( + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + ) + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +python_compile_all() { + use doc && emake -C doc html +} + +python_test() { + cd "${BUILD_DIR}" || die + nosetests -v || die "Testing failed with ${EPYTHON}" +} + +python_install_all() { + use doc && HTML_DOCS=( doc/_build/html/. ) + distutils-r1_python_install_all +} |