/[gentoo-x86]/dev-python/lesscpy/lesscpy-0.10.2.ebuild
Gentoo

Contents of /dev-python/lesscpy/lesscpy-0.10.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Jun 26 04:46:18 2015 UTC (3 years, 5 months ago) by idella4
Branch: MAIN
CVS Tags: HEAD
bump; add py3 support, substitute and update test phase, upstream bug cited in comment

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

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/lesscpy/lesscpy-0.9j.ebuild,v 1.4 2015/03/08 23:52:22 pacho Exp $
4
5 EAPI=5
6 PYTHON_COMPAT=( python{2_7,3_3,3_4} )
7
8 inherit distutils-r1
9
10 DESCRIPTION="A compiler written in Python for the LESS language"
11 HOMEPAGE="https://pypi.python.org/pypi/lesscpy"
12 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
13
14 LICENSE="Apache-2.0"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17 IUSE="test"
18
19 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
20 RDEPEND="dev-python/ply[${PYTHON_USEDEP}]
21 dev-python/six[${PYTHON_USEDEP}]"
22
23 python_test() {
24 # https://github.com/lesscpy/lesscpy/issues/74
25 esetup.py test
26 # This is equally effective
27 # nosetests -v || die "tests failed under ${EPYTHON}"
28 }

  ViewVC Help
Powered by ViewVC 1.1.20