summaryrefslogtreecommitdiff
path: root/dev-python/lesscpy
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/lesscpy')
-rw-r--r--dev-python/lesscpy/Manifest6
-rw-r--r--dev-python/lesscpy/lesscpy-0.14.0.ebuild (renamed from dev-python/lesscpy/lesscpy-0.13.0.ebuild)18
-rw-r--r--dev-python/lesscpy/metadata.xml3
3 files changed, 11 insertions, 16 deletions
diff --git a/dev-python/lesscpy/Manifest b/dev-python/lesscpy/Manifest
index 864d3c38287e..4a41082f4536 100644
--- a/dev-python/lesscpy/Manifest
+++ b/dev-python/lesscpy/Manifest
@@ -1,3 +1,3 @@
-DIST lesscpy-0.13.0.tar.gz 157854 BLAKE2B 2a06827233e5142249298c75d323ffaed2cf497f5ddf86023e65235417f3fb970e66a6b112e9eeb38f24868ab98a6d4b9bcb0cf8a53a2121fff44098fdde459a SHA512 227db8212a386b06f288140d09b7505ae43bc6221396fa2d154a6d7f0831cf1ff005d9818fd85fb3804103b725b60827cf56a29930c2de928546ab0dcf3d5877
-EBUILD lesscpy-0.13.0.ebuild 724 BLAKE2B ad1ee2559270c995a799e5ebeb390b9d50a85e2cbbb3b0bf315d0d08fe8878adf8b09c5b2192848cc946e61c703593d3bf7426e4574c7395b98cecaf12c67e19 SHA512 33ec2c85d5198c277ee3fe735c9a935775abf05d81d6e5f7df1466100b7754ef4cd15982b1b6103c66837c1a714ee88a030604c94e4f525dc4484eede8967dd4
-MISC metadata.xml 548 BLAKE2B 48939d5743ccc8041dcc22e6dd09842374253d6a34de93a7fc10119ef2abd8b860d5e9febc18e5b11c5913f52588058706048c3522c7899fd44a1db4c7612da8 SHA512 cd7c549b5130cdc08e12cccb5a0d68b5f19f2fddc97bce839c4dba5300608fe871663154ef0348623c52295e79d6efd6fd42580713a877430e82aa964b1361e7
+DIST lesscpy-0.14.0.tar.gz 186505 BLAKE2B 6c7f4691c352573d081436d5f31ddacbd6b054810f07feafaf654a5c401d98c3274f86f03f68534f661b79bff3d708eb09bfdc0e3b9e800b7e2091060e64c370 SHA512 333015e3d4169fafedf0c295d12d5f0eadb8bea2576d147f1461e5854638b0501ea3038a945924efd81629b66dcc7ffcd3fabd12933529cb5fd4b962e87fe2c3
+EBUILD lesscpy-0.14.0.ebuild 657 BLAKE2B ec33b1041d9ce650f0a3502e4cd7d01b2de0eafd072df55ee3d694094129a11d2b45c25bfb079c521ca458bfec6be7dfc974f5fd28ac70d10b3e67f1a2b4d090 SHA512 5fbf17f56eb4eb27f892e1994e81860695880ce32dc3373b3b6623783b3ed4aeb84df1e95ee5b6ad93d4e0c507641ed4ef9c49d0dcea9ed9f0d475b4ef10b47b
+MISC metadata.xml 441 BLAKE2B c9c2bc6984c96c07afe8d866a5206ea1d64846137321c5d84c281796b3ffb240aef443ce2a380e44fb49d64ee05ac850aba23b83a2e4d5529c75747dbb55c248 SHA512 88fab7282fa26425cd6ad9bef796f763f80ea950ad855c20b1fcf327dd5b0cf3d99177a56231808fbb5f0358cf41abcccfbecc25e8f47e079ea977826fb2e95f
diff --git a/dev-python/lesscpy/lesscpy-0.13.0.ebuild b/dev-python/lesscpy/lesscpy-0.14.0.ebuild
index 669434fc4446..a1000444dda0 100644
--- a/dev-python/lesscpy/lesscpy-0.13.0.ebuild
+++ b/dev-python/lesscpy/lesscpy-0.14.0.ebuild
@@ -1,30 +1,28 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-PYTHON_COMPAT=( python3_6 )
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
-# incomplete tarball
-RESTRICT="test"
+RESTRICT="!test? ( test )"
DESCRIPTION="A compiler written in Python for the LESS language"
HOMEPAGE="https://pypi.org/project/lesscpy/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-LICENSE="Apache-2.0"
+LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+BDEPEND="test? ( dev-python/nose[${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}"
+ nosetests -v || die "tests failed under ${EPYTHON}"
}
diff --git a/dev-python/lesscpy/metadata.xml b/dev-python/lesscpy/metadata.xml
index 492fea94b855..cadd1b8d1443 100644
--- a/dev-python/lesscpy/metadata.xml
+++ b/dev-python/lesscpy/metadata.xml
@@ -9,9 +9,6 @@
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
- <longdescription lang="en">
- A compiler written in Python for the LESS language.
- </longdescription>
<upstream>
<remote-id type="pypi">lesscpy</remote-id>
</upstream>