From 9f7759b3b1be5a3bc7794010a8ebf9334f017d2f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 15 Nov 2022 06:52:13 +0000 Subject: gentoo auto-resync : 15:11:2022 - 06:52:13 --- dev-python/Manifest.gz | Bin 261860 -> 261862 bytes dev-python/libsass-python/Manifest | 2 +- .../libsass-python/libsass-python-0.22.0-r1.ebuild | 60 +++++++++++++++++++++ .../libsass-python/libsass-python-0.22.0.ebuild | 57 -------------------- 4 files changed, 61 insertions(+), 58 deletions(-) create mode 100644 dev-python/libsass-python/libsass-python-0.22.0-r1.ebuild delete mode 100644 dev-python/libsass-python/libsass-python-0.22.0.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index 2fb182dccf1d..3bcf9275c41b 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/libsass-python/Manifest b/dev-python/libsass-python/Manifest index 6787956656c3..dfd6ff3b5566 100644 --- a/dev-python/libsass-python/Manifest +++ b/dev-python/libsass-python/Manifest @@ -2,5 +2,5 @@ AUX libsass-0.20.0_rename_sassc.patch 1710 BLAKE2B 410f1256dbe433d5836a0c7f94a30 DIST libsass-python-0.21.0.gh.tar.gz 55774 BLAKE2B 3c584ff3b6c09bc768554a3a4f7ef28ecea0726f59206da8540f9c1b4db74ab1235695074dd6b95db74f174066bb856c9854026525da82e7763f341920f0bd53 SHA512 d5b7a1bf0dc736a6a38e2e609f0a213306de31d5ad84cfdcd96f9ff72a1c38f15bad3cf25a1cec6dca5a9f3b00a8509afff2b4ea5e4db80e218e3ae603d55856 DIST libsass-python-0.22.0.gh.tar.gz 55135 BLAKE2B 8495462fa8e6a68bf73ecdf68771c577bad1affa1121c1781dac41c912aae731df88c2b1d1a4ef363e50a98ff1b471e7c45562faa6f2425e8ec5f47f9cf76c6c SHA512 13914b60fe19fc70d197a948a2bc83f7646e4acaa45caed6df68bf2eb10e0a7ef811cdbbcc7a4338f9c1433cba8e316146c20072dc4ff34f51e094ead1bfdcd7 EBUILD libsass-python-0.21.0-r1.ebuild 1563 BLAKE2B 00bef7766dd45363f3f5e6261521c346bebb2c7b569208ea268e62c26fef0b94eff2606fcc2b21f49b2ccc3c6baea430dae0025af8189fb4f8786a4ae025a33e SHA512 99468a2bb65170cf23b295b3ca531fa193e1738ce38be37521132c9fc39fa478556f881ed7a46a21c8116fd240e25001de461de42fe6783db377a80f60c7be1c -EBUILD libsass-python-0.22.0.ebuild 1173 BLAKE2B e5f1b670b58b5e5f566d616eb38955aa3fed61b5861776ddd5fb0b3ef56f6103e4c94eafda023650ede35baa1a907175d1e2dc11a3697d1e3de128983b792b16 SHA512 7041ed8e6b7171f0cb60593249f88c5083d6e29f4ff45d1adcef0033f998d7aab38b139e60ad98d1847f9f7a3ddc0b56e938fd50ddfb401064615f9fe4fbfe00 +EBUILD libsass-python-0.22.0-r1.ebuild 1326 BLAKE2B 8c1798849cd4220285eeba5c72f2ac4cc256e88c48deb09ee4469dd9849ffbd32abfe7c8135dd96cd078dc6ad2d8b3f8f1541d007730d1adf20bbb7b063efe89 SHA512 c8dee4204397d0a3cea64f7cdd7e1f5fbeecab2837c8fcf61a5ee84ebd4ba5fbe20ab594dd1d4e5e03eea504e2038fa4114b0ebab98c3546c3017713da3988f7 MISC metadata.xml 430 BLAKE2B 6d9f1d6a435110869d11d460136c6e1ede1119110111de1fd737caa92f52688a305645478542efc9a33f30f5534b55421ab63470db342a781b5f8f008048ba3f SHA512 b6dc1c8363dc915ad1ee1d6d1ec4f7599625648c0d75d4b159215069716a8e60f0efc72ad846cf59f7cf2736d083f4e37784c818d287b38e06b066b997c2f3ae diff --git a/dev-python/libsass-python/libsass-python-0.22.0-r1.ebuild b/dev-python/libsass-python/libsass-python-0.22.0-r1.ebuild new file mode 100644 index 000000000000..6365fb9fef85 --- /dev/null +++ b/dev-python/libsass-python/libsass-python-0.22.0-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +DESCRIPTION="A straightforward binding of libsass for Python" +HOMEPAGE=" + https://github.com/sass/libsass-python/ + https://pypi.org/project/libsass/ +" +SRC_URI=" + https://github.com/sass/libsass-python/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + >=dev-libs/libsass-3.6.5 +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + test? ( + dev-python/PyQt5[testlib,${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + echo "${PV}" > .libsass-upstream-version || die + distutils-r1_src_prepare + export SYSTEM_SASS=1 + # https://bugs.gentoo.org/881339 + # the package is applying C++ flags to C sources + sed -i -e "s:'-std=gnu++0x',::" -e "s:'-lstdc++'::" setup.py || die +} + +python_test() { + local EPYTEST_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 +} diff --git a/dev-python/libsass-python/libsass-python-0.22.0.ebuild b/dev-python/libsass-python/libsass-python-0.22.0.ebuild deleted file mode 100644 index 939120f5558e..000000000000 --- a/dev-python/libsass-python/libsass-python-0.22.0.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..11} ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 - -DESCRIPTION="A straightforward binding of libsass for Python" -HOMEPAGE=" - https://github.com/sass/libsass-python/ - https://pypi.org/project/libsass/ -" -SRC_URI=" - https://github.com/sass/libsass-python/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND=" - >=dev-libs/libsass-3.6.5 -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - test? ( - dev-python/PyQt5[testlib,${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - echo "${PV}" > .libsass-upstream-version || die - distutils-r1_src_prepare - export SYSTEM_SASS=1 -} - -python_test() { - local EPYTEST_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 -} -- cgit v1.2.3