From 9d2a2f3a4b75df4de7a52490ec618c57ad9fdfb9 Mon Sep 17 00:00:00 2001 From: Patrice Clement Date: Sat, 31 Mar 2018 23:16:14 +0200 Subject: dev-python/lesscpy: version bump. Closes: https://bugs.gentoo.org/634018 Package-Manager: Portage-2.3.19, Repoman-2.3.6 --- dev-python/lesscpy/lesscpy-0.13.0.ebuild | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 dev-python/lesscpy/lesscpy-0.13.0.ebuild (limited to 'dev-python/lesscpy/lesscpy-0.13.0.ebuild') diff --git a/dev-python/lesscpy/lesscpy-0.13.0.ebuild b/dev-python/lesscpy/lesscpy-0.13.0.ebuild new file mode 100644 index 000000000000..fe7989aca099 --- /dev/null +++ b/dev-python/lesscpy/lesscpy-0.13.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit distutils-r1 + +# incomplete tarball +RESTRICT="test" + +DESCRIPTION="A compiler written in Python for the LESS language" +HOMEPAGE="https://pypi.python.org/pypi/lesscpy" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="dev-python/ply[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}]" + +python_test() { + # https://github.com/lesscpy/lesscpy/issues/74 + esetup.py test + # This is equally effective + # nosetests -v || die "tests failed under ${EPYTHON}" +} -- cgit v1.2.3-65-gdbad