From d544ffed2b95d34d4191c5b6ea7ddf6af8078c4c Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Wed, 4 Nov 2020 10:38:28 +0100 Subject: dev-python/libsass: version bump 0.20.1 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan Signed-off-by: Matt Turner --- dev-python/libsass/Manifest | 1 + dev-python/libsass/libsass-0.20.1.ebuild | 34 ++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 dev-python/libsass/libsass-0.20.1.ebuild (limited to 'dev-python/libsass') diff --git a/dev-python/libsass/Manifest b/dev-python/libsass/Manifest index fa9922776b2e..2499831023c1 100644 --- a/dev-python/libsass/Manifest +++ b/dev-python/libsass/Manifest @@ -1 +1,2 @@ DIST libsass-0.20.0.tar.gz 321750 BLAKE2B 215bbe8d4a60d3f6851bfe92a7fb79e58bdf86fa5334a39c7ed051ad2ffc598e59afcb381f6526d25d6e3d021fd5eda51371a6628c01111f8bed42bda9581cb7 SHA512 ad6054f3e02b39730c4680b64d3ed20ba05443c7019c8a7a47ae557a6f52c60be1326a2cf2421f13de0a57a5f37347dffff1146190d1fa0eb8fd985f27ebf7d7 +DIST libsass-0.20.1.tar.gz 316227 BLAKE2B e4b4955a2ad0722d76e79979405c8e549b911d31c3fb828563e1e52cad9f9fe72cf543bd5e2ac2383faf85a44f4f0258253f7d45394f37d30076425660ebd031 SHA512 8918154f9fc4b0618d4729195414b2d8c5818a3e4dde2d4e084a73c01c3f6a2d46028a35b4e11759bc001266bcf03423319230682507c6952c9b0eb2df17feaf diff --git a/dev-python/libsass/libsass-0.20.1.ebuild b/dev-python/libsass/libsass-0.20.1.ebuild new file mode 100644 index 000000000000..065c56e9574f --- /dev/null +++ b/dev-python/libsass/libsass-0.20.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="A straightforward binding of libsass for Python" +HOMEPAGE="https://github.com/sass/libsass-python" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="dev-libs/libsass + dev-python/six[${PYTHON_USEDEP}] + test? ( + dev-python/PyQt5[testlib,${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + )" + +# Remove sassc, in favour of pysassc, see: https://github.com/sass/libsass-python/issues/134 +# This avoids a file collision with dev-lang/sassc +PATCHES=( "${FILESDIR}"/${PN}-0.20.0_rename_sassc.patch ) + +distutils_enable_tests pytest + +python_test() { + "${EPYTHON}" sasstests.py || die "Tests fail with ${EPYTHON}" +} -- cgit v1.2.3-65-gdbad