/[gentoo-x86]/dev-python/beaker/beaker-1.6.4.ebuild
Gentoo

Contents of /dev-python/beaker/beaker-1.6.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Fri Aug 17 06:54:53 2012 UTC (9 months ago) by patrick
Branch: MAIN
Bump

(Portage version: 2.2.0_alpha121/cvs/Linux x86_64)

1 patrick 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/dev-python/beaker/beaker-1.6.3.ebuild,v 1.1 2012/04/19 07:07:46 patrick Exp $
4    
5     EAPI="3"
6     SUPPORT_PYTHON_ABIS="1"
7     RESTRICT_PYTHON_ABIS="2.4"
8     PYTHON_TESTS_RESTRICTED_ABIS="3.*"
9     PYTHON_TESTS_FAILURES_TOLERANT_ABIS="*-jython"
10     DISTUTILS_SRC_TEST="nosetests"
11    
12     inherit distutils
13    
14     MY_PN="Beaker"
15     MY_P="${MY_PN}-${PV}"
16    
17     DESCRIPTION="A Session and Caching library with WSGI Middleware"
18     HOMEPAGE="http://beaker.groovie.org/ http://pypi.python.org/pypi/Beaker"
19     SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
20    
21     LICENSE="BSD"
22     SLOT="0"
23     KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
24     IUSE="test"
25    
26     DEPEND="dev-python/setuptools
27     test? ( dev-python/webtest )"
28     RDEPEND=""
29    
30     S="${WORKDIR}/${MY_P}"
31    
32     src_prepare() {
33     distutils_src_prepare
34    
35     # Workaround for http://bugs.python.org/issue11276.
36     sed -e "s/import anydbm/& as anydbm/;/import anydbm/a dbm = anydbm" -i beaker/container.py
37     }

  ViewVC Help
Powered by ViewVC 1.1.13