summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-05-21 15:54:57 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-05-21 15:56:26 +0200
commit100364bd9607e0c7dd1a0729df3ada25d37e29bd (patch)
tree8ec6058f845015edb833b8f0ee53160727d445ba
parentdev-lang/sassc: bump to 3.6.2, add self as maintainer (diff)
downloadgentoo-100364bd9607e0c7dd1a0729df3ada25d37e29bd.tar.gz
gentoo-100364bd9607e0c7dd1a0729df3ada25d37e29bd.tar.bz2
gentoo-100364bd9607e0c7dd1a0729df3ada25d37e29bd.zip
dev-python/libsass: skip irrelevant network tests
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
-rw-r--r--dev-python/libsass/libsass-0.21.0.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-python/libsass/libsass-0.21.0.ebuild b/dev-python/libsass/libsass-0.21.0.ebuild
index a0e7d0f4ae0..7731f43a20b 100644
--- a/dev-python/libsass/libsass-0.21.0.ebuild
+++ b/dev-python/libsass/libsass-0.21.0.ebuild
@@ -6,13 +6,13 @@ EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
-MY_P=libsass-python-${PV}
+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}
+S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0"
@@ -43,6 +43,10 @@ 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 }