diff options
Diffstat (limited to 'dev-python/mantissa')
-rw-r--r-- | dev-python/mantissa/Manifest | 1 | ||||
-rw-r--r-- | dev-python/mantissa/mantissa-0.8.3.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/mantissa/Manifest b/dev-python/mantissa/Manifest index d3147080028d..574de1232d74 100644 --- a/dev-python/mantissa/Manifest +++ b/dev-python/mantissa/Manifest @@ -1,3 +1,4 @@ DIST Mantissa-0.7.0.tar.gz 827087 SHA256 30bc3bb452810561e81e84bb73be00287d32c17fcdf4f0da837a63cbba7e7fa7 SHA512 a0ef58902d0d752f2643f0c9639d9338a0441651cc0a2c3b45493a79b81757c4b642a7adcc940e0228033280927b7dad460a345fac62da1dcb9d73babd981d8c WHIRLPOOL 283b02ebea0c7a0d6dd6a7345b473a9f9d0ab3f955c5424ed6090cf50d63f3df2a68b6ab07efe459828a75dc841e5e540a66313e9428bb8e88fb3a96762b6576 DIST mantissa-0.8.0.tar.gz 828094 SHA256 bcc3908dfe9e8c3dd1a460b2194564d38521d53bcb601f12c9da0a8a936119f1 SHA512 8ca2b84c1c2715025db4a3cde4516c0a8604c8e40bda325d727ac28dbf1997ffb387439461d7b866ec77eb82ca192739355797123e55b7ad30c580b3c71dea9b WHIRLPOOL e4f8858940e87ef0ebbfda522e97da19024dcac18ad59a8d6bac7486aacf05ae728903e8330a845d3a9bc502f3455bb47fe1e6c742d2e09a78621e789c9b680a DIST mantissa-0.8.1.tar.gz 808299 SHA256 e0c536a257dad3ee231cc4e1c60bd170d2f2b54dd43cd54a57033d019755ffe3 SHA512 6c5896a0b6d07d0b3c836fcc961240625cca4fe037dd7cb0f105357762a5a5b0288438c39b0aa0521dd7b29a37bde49a739273d82f53c900692d0ea9a8e3db86 WHIRLPOOL 2c4f3c1fcd924afc929e42b74a6e54e6663a4ac82a43e2a3dfdafe2f4ecf6cbd08be96d7e012d3d4410770b0d231c75547ca69731b30e51d1ffde63ac1faa615 +DIST mantissa-0.8.3.tar.gz 839984 SHA256 c3e8faab1ee9510edc9d5c22abd848e0d29074df3aa6d4272a2a120ea779192b SHA512 2287f09b39540e4b66e0d61ab6031fc3b08af679815eca778049240b3bd298a40fc981784b61543ac68f7692a676f334753b84dcfd52f754d367502383e14fda WHIRLPOOL 5974272cae40e591a83d4951cb129d0e55fc43a130a1a1c4b3f1bc239b1b78936c55162a2b0d7039be24657592956d7e3a6f76628e272fc1066066b2cd6642ae diff --git a/dev-python/mantissa/mantissa-0.8.3.ebuild b/dev-python/mantissa/mantissa-0.8.3.ebuild new file mode 100644 index 000000000000..4a957d7881eb --- /dev/null +++ b/dev-python/mantissa/mantissa-0.8.3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +PYTHON_COMPAT=( python2_7 ) + +inherit twisted-r1 + +MY_PN="${PN/m/M}" +DESCRIPTION="An extensible, multi-protocol, multi-user, interactive application server" +HOMEPAGE="https://github.com/twisted/mantissa" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +IUSE="test" + +# https://github.com/twisted/mantissa/issues/27 +# Source still missing a folder 'doc' that has required modules and +# the fail / error rate is far higher then in 0.8.0 +RESTRICT="test" + +RDEPEND=" + >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}] + >=dev-python/axiom-0.7.0[${PYTHON_USEDEP}] + >=dev-python/cssutils-0.9.5[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + >=dev-python/nevow-0.9.5[${PYTHON_USEDEP}] + >=dev-python/pytz-2012j[${PYTHON_USEDEP}] + >=dev-python/twisted-core-14.0.0[${PYTHON_USEDEP}] + >=dev-python/twisted-mail-14.0.0[${PYTHON_USEDEP}] + >=dev-python/twisted-conch-14.0.0[${PYTHON_USEDEP}] + >=dev-python/vertex-0.2[${PYTHON_USEDEP}] + dev-python/pycrypto[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( ${RDEPEND} )" + +TWISTED_PLUGINS=( axiom.plugins nevow.plugins xmantissa.plugins ) + +python_test() { + # https://github.com/twisted/mantissa/issues/27 + + trial xmantissa || die "tests failed with ${EPYTHON}" +} + +python_install() { + distutils-r1_python_install + + # remove foreign caches we don't want to own + find "${D}$(python_get_sitedir)" -name 'dropin.cache' -delete || die + # then our own one + touch "${D}$(python_get_sitedir)"/xmantissa/plugins/dropin.cache || die +} |