diff options
author | Andrew Ammerlaan <andrewammerlaan@riseup.net> | 2020-11-04 10:38:28 +0100 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2020-11-04 20:38:20 -0500 |
commit | d544ffed2b95d34d4191c5b6ea7ddf6af8078c4c (patch) | |
tree | 4306ea67e7bf37ef63bc99ae224d73180b55272c /dev-python/libsass | |
parent | dev-python/entrypoint2: version bump 0.2.3 (diff) | |
download | gentoo-d544ffed2b95d34d4191c5b6ea7ddf6af8078c4c.tar.gz gentoo-d544ffed2b95d34d4191c5b6ea7ddf6af8078c4c.tar.bz2 gentoo-d544ffed2b95d34d4191c5b6ea7ddf6af8078c4c.zip |
dev-python/libsass: version bump 0.20.1
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-python/libsass')
-rw-r--r-- | dev-python/libsass/Manifest | 1 | ||||
-rw-r--r-- | dev-python/libsass/libsass-0.20.1.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
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}" +} |