/[gentoo-x86]/dev-python/mantissa/mantissa-0.8.1.ebuild
Gentoo

Contents of /dev-python/mantissa/mantissa-0.8.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Fri Aug 7 06:36:53 2015 UTC (4 years, 11 months ago) by idella4
Branch: MAIN
CVS Tags: HEAD
bump; restrict test phase due to massive failure rate, issue @ upstream of prior version extended informing of the increase, rm stray line form prior version

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)

1 idella4 1.1 # Copyright 1999-2015 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/dev-python/mantissa/mantissa-0.8.0.ebuild,v 1.2 2015/07/20 04:30:36 idella4 Exp $
4    
5     EAPI="5"
6     PYTHON_COMPAT=( python2_7 )
7    
8     inherit twisted-r1
9    
10     MY_PN="${PN/m/M}"
11     DESCRIPTION="An extensible, multi-protocol, multi-user, interactive application server"
12     HOMEPAGE="https://github.com/twisted/mantissa"
13     SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
14    
15     KEYWORDS="~amd64 ~x86"
16     IUSE="test"
17    
18     # https://github.com/twisted/mantissa/issues/27
19     # Source still missing a folder 'doc' that has required modules and
20     # the fail / error rate is far higher then in 0.8.0
21     RESTRICT="test"
22    
23     RDEPEND="
24     >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
25     >=dev-python/axiom-0.7.0[${PYTHON_USEDEP}]
26     >=dev-python/cssutils-0.9.5[${PYTHON_USEDEP}]
27     virtual/python-imaging[${PYTHON_USEDEP}]
28     >=dev-python/nevow-0.9.5[${PYTHON_USEDEP}]
29     >=dev-python/pytz-2012j[${PYTHON_USEDEP}]
30     >=dev-python/twisted-core-14.0.0[${PYTHON_USEDEP}]
31     >=dev-python/twisted-mail-14.0.0[${PYTHON_USEDEP}]
32     >=dev-python/twisted-conch-14.0.0[${PYTHON_USEDEP}]
33     >=dev-python/vertex-0.2[${PYTHON_USEDEP}]
34     dev-python/pycrypto[${PYTHON_USEDEP}]"
35     DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
36     test? ( ${RDEPEND} )"
37    
38     TWISTED_PLUGINS=( axiom.plugins nevow.plugins xmantissa.plugins )
39    
40     python_test() {
41     # https://github.com/twisted/mantissa/issues/27
42    
43     trial xmantissa || die "tests failed with ${EPYTHON}"
44     }
45    
46     python_install() {
47     distutils-r1_python_install
48    
49     # remove foreign caches we don't want to own
50     find "${D}$(python_get_sitedir)" -name 'dropin.cache' -delete || die
51     # then our own one
52     touch "${D}$(python_get_sitedir)"/xmantissa/plugins/dropin.cache || die
53     }

  ViewVC Help
Powered by ViewVC 1.1.20