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

Contents of /dev-python/mantissa/mantissa-0.7.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Apr 8 08:05:23 2015 UTC (5 years, 3 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
Drop old Python implementations

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

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.7.0-r1.ebuild,v 1.3 2015/03/08 23:53:24 pacho Exp $
4
5 EAPI="5"
6 PYTHON_COMPAT=( python2_7 )
7
8 inherit twisted-r1
9
10 DESCRIPTION="An extensible, multi-protocol, multi-user, interactive application server"
11 HOMEPAGE="http://divmod.org/trac/wiki/DivmodMantissa http://pypi.python.org/pypi/Mantissa"
12 SRC_URI="mirror://pypi/${TWISTED_PN:0:1}/${TWISTED_PN}/${TWISTED_P}.tar.gz"
13
14 KEYWORDS="amd64 x86"
15 IUSE=""
16
17 DEPEND=">=dev-python/axiom-0.6.0-r1[${PYTHON_USEDEP}]
18 >=dev-python/cssutils-0.9.10-r1[${PYTHON_USEDEP}]
19 virtual/python-imaging[${PYTHON_USEDEP}]
20 >=dev-python/nevow-0.10.0-r1[${PYTHON_USEDEP}]
21 >=dev-python/pytz-2012j[${PYTHON_USEDEP}]
22 dev-python/twisted-core[${PYTHON_USEDEP}]
23 dev-python/twisted-mail[${PYTHON_USEDEP}]
24 >=dev-python/vertex-0.3.0-r1[${PYTHON_USEDEP}]"
25 RDEPEND="${DEPEND}"
26
27 TWISTED_PLUGINS=( axiom.plugins nevow.plugins xmantissa.plugins )
28
29 python_install() {
30 distutils-r1_python_install
31
32 # remove foreign caches we don't want to own
33 find "${D}$(python_get_sitedir)" -name 'dropin.cache' -delete || die
34 # then our own one
35 touch "${D}$(python_get_sitedir)"/xmantissa/plugins/dropin.cache || die
36 }
37
38 python_install_all() {
39 dodoc NAME.txt NEWS.txt
40
41 distutils-r1_python_install_all
42 }
43
44 python_test() {
45 trial xmantissa || die "tests failed with ${EPYTHON}"
46 }

  ViewVC Help
Powered by ViewVC 1.1.20