From d934827bf44b7cfcf6711964418148fa60877668 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 25 Nov 2020 22:39:15 +0000 Subject: gentoo resync : 25.11.2020 --- dev-python/libsass/Manifest | 2 ++ dev-python/libsass/libsass-0.20.1.ebuild | 34 ++++++++++++++++++++++++++++++++ 2 files changed, 36 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 6782ed4378cc..987c7518e173 100644 --- a/dev-python/libsass/Manifest +++ b/dev-python/libsass/Manifest @@ -1,4 +1,6 @@ AUX libsass-0.20.0_rename_sassc.patch 1710 BLAKE2B 410f1256dbe433d5836a0c7f94a30b0fbe174285408d5c3c0589a7f4f58d2417c9be37af6ae137031365450ad2bca51ebb2cd6083c625d95a33ac8c0eb3bc80e SHA512 3e30b6a5cc387aac526ca2159d5854b28090ab41d7d4b2512627cc1e5b392569b81c0b1c845d3311a9cd44c73a6ed109b2a06a9677cbe15a4a39c7ab0c7c4a6d DIST libsass-0.20.0.tar.gz 321750 BLAKE2B 215bbe8d4a60d3f6851bfe92a7fb79e58bdf86fa5334a39c7ed051ad2ffc598e59afcb381f6526d25d6e3d021fd5eda51371a6628c01111f8bed42bda9581cb7 SHA512 ad6054f3e02b39730c4680b64d3ed20ba05443c7019c8a7a47ae557a6f52c60be1326a2cf2421f13de0a57a5f37347dffff1146190d1fa0eb8fd985f27ebf7d7 +DIST libsass-0.20.1.tar.gz 316227 BLAKE2B e4b4955a2ad0722d76e79979405c8e549b911d31c3fb828563e1e52cad9f9fe72cf543bd5e2ac2383faf85a44f4f0258253f7d45394f37d30076425660ebd031 SHA512 8918154f9fc4b0618d4729195414b2d8c5818a3e4dde2d4e084a73c01c3f6a2d46028a35b4e11759bc001266bcf03423319230682507c6952c9b0eb2df17feaf EBUILD libsass-0.20.0.ebuild 880 BLAKE2B 2efb02d977f7a5882ac76b4e5303fce24090b4cbe2ed8376770e5f4c27016c56b004d5fed0209b74df1c4efa0ec237c07cef40b8fff0f459098ad033cb818e96 SHA512 c97b6c5f00487efbc32b0a72decac4bbc5e5e3964cee52328cd5577ed3971edbbc87ec38e01eca4f05da402a57617f7a11b846656713a1e602d814d522e1ea12 +EBUILD libsass-0.20.1.ebuild 890 BLAKE2B 35bf7806ab68b864e95354f664d092ec2701a45fccd12ce816dc0fddddb6099e3f5b98239677161379cb246acd3e5338b9659458b9d8b7d6f865a2cce59dad1e SHA512 2ee5a699f5f32e445dedca329b4576175957e4a4f8f0c0cdf1a80f04b9d96fb752251c83933bdbc19b5931c2b75593925ff0bfe9dd37d6071f3e905ba3d2a27b MISC metadata.xml 412 BLAKE2B 1c1563b175b955ba98fa211a2277e49347a6e3bdf4aa4fc585a2eeab65b080e2b63ddaaac5958521f9e421ac3c0a8bb5872416e0186490b0185eea76d527dbab SHA512 d5cfa13aa12b5612ac426563ec40fe585231a3a599b91490d81745c5b77c9ea603335fedfac9d62e810694e25f2fa5ed71e47e13c85cb75db57c116db3164225 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