From 908778078736bd36f7a60a2d576d415cb8e000fa Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 22 May 2021 07:31:18 +0100 Subject: gentoo resync : 22.05.2021 --- dev-python/libsass/Manifest | 4 ++- dev-python/libsass/libsass-0.21.0.ebuild | 53 ++++++++++++++++++++++++++++++++ dev-python/libsass/metadata.xml | 8 ++--- 3 files changed, 58 insertions(+), 7 deletions(-) create mode 100644 dev-python/libsass/libsass-0.21.0.ebuild (limited to 'dev-python/libsass') diff --git a/dev-python/libsass/Manifest b/dev-python/libsass/Manifest index 258b08d3c600..f265610fff25 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.1.tar.gz 316227 BLAKE2B e4b4955a2ad0722d76e79979405c8e549b911d31c3fb828563e1e52cad9f9fe72cf543bd5e2ac2383faf85a44f4f0258253f7d45394f37d30076425660ebd031 SHA512 8918154f9fc4b0618d4729195414b2d8c5818a3e4dde2d4e084a73c01c3f6a2d46028a35b4e11759bc001266bcf03423319230682507c6952c9b0eb2df17feaf +DIST libsass-python-0.21.0.gh.tar.gz 55774 BLAKE2B 3c584ff3b6c09bc768554a3a4f7ef28ecea0726f59206da8540f9c1b4db74ab1235695074dd6b95db74f174066bb856c9854026525da82e7763f341920f0bd53 SHA512 d5b7a1bf0dc736a6a38e2e609f0a213306de31d5ad84cfdcd96f9ff72a1c38f15bad3cf25a1cec6dca5a9f3b00a8509afff2b4ea5e4db80e218e3ae603d55856 EBUILD libsass-0.20.1.ebuild 886 BLAKE2B 94a8372dbf0353ecbd32a27f5fb2842654eccaa9093a8a8b437df1dd79755e93d9de2af16d48407e20a60fea6386d08ca02618badba2f4ae72397fe4b7bd6c38 SHA512 8a3754e235124aed45afe5dfb3c5b741300c33d4a7d2f3fb11246fb1949e08c9862bd9df4ae4a1696484e78726fab5cddec0fc496a99d1eb634e3a604b27d5b1 -MISC metadata.xml 475 BLAKE2B 8a6ef9c2f30ece13a6999c9c1a3f367464e8174f30bdd271bccfdd1cb6ecb115c55d82d30d7088d8c6ee3ba0d5924bd30b45fcc2a8664b1860b5637fbc8b9412 SHA512 1571c99f8c2e7631869972da697f784c3b0670ac6bec93ba9ecb0e78024e75a26800b0e21fb424d218a89c2b9f8cc965973df7a2d6e6fec900a310305ee85907 +EBUILD libsass-0.21.0.ebuild 1403 BLAKE2B e2a3007b4fb99625c3f87a410e9aeea1caba7cbc9d95ce8fa6e1956af07f8b0868649203eed6c69513a551a54f19a25ef6edc7703fcca76afdf86cc5759a37ea SHA512 e8d747fa91052e1ba2d1c1ee3ac7e815cb57310b2d1646de7e8d1f3bef1a2775a7fbe0570d8d39b9bced8416341108bb4f4d83464b21d20e2c73482cd7d87e2c +MISC metadata.xml 328 BLAKE2B c75e306610c41d64a7d68392c44c72827ecaae50a26ea524d8826d48c418e7fc34a2345d682dd9f6ccd5db887f032de1b6c6051801037a67dbe5e1700b9e1d77 SHA512 fb6418e4e357c35fda2e78378db2b7646a49401989a695b0ae615d11f132267819fe896335259482b6b91c20cfc832417e4fe2ce0a93768b3de8f85b0db93806 diff --git a/dev-python/libsass/libsass-0.21.0.ebuild b/dev-python/libsass/libsass-0.21.0.ebuild new file mode 100644 index 000000000000..e3565c7cdb2d --- /dev/null +++ b/dev-python/libsass/libsass-0.21.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +inherit distutils-r1 + +MY_P="libsass-python-${PV}" +DESCRIPTION="A straightforward binding of libsass for Python" +HOMEPAGE="https://github.com/sass/libsass-python/" +SRC_URI=" + https://github.com/sass/libsass-python/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~x86" + +RDEPEND=">=dev-libs/libsass-3.6.5" +DEPEND=${RDEPEND} +BDEPEND=" + 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 + +src_prepare() { + echo "${PV}" > .libsass-upstream-version || die + distutils-r1_src_prepare + export SYSTEM_SASS=1 +} + +python_test() { + local deselect=( + # probably broken by removal of sassc + sasstests.py::SasscTestCase::test_sassc_stdout + # skip the pip tests because they need an internet connection + # not relevant for gentoo anyway + sasstests.py::DistutilsTestCase::test_build_sass + sasstests.py::DistutilsTestCase::test_output_style + ) + + epytest sasstests.py ${deselect[@]/#/--deselect } +} diff --git a/dev-python/libsass/metadata.xml b/dev-python/libsass/metadata.xml index 7038044626d6..82636ad94d40 100644 --- a/dev-python/libsass/metadata.xml +++ b/dev-python/libsass/metadata.xml @@ -1,14 +1,10 @@ - - andrewammerlaan@riseup.net + + andrewammerlaan@gentoo.org Andrew Ammerlaan - - proxy-maint@gentoo.org - Proxy Maintainers - libsass -- cgit v1.2.3