summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-15 07:40:31 +0100
committerSam James <sam@gentoo.org>2022-04-15 07:43:31 +0100
commit7b60c80571dab6f8d3413573a63bda309004a708 (patch)
tree4825f081f1360941e945deafc8bea212b107c328 /dev-python/pyopenssl
parentdev-python/pyfuse3: fix RedundantUriRename (diff)
downloadgentoo-7b60c80571dab6f8d3413573a63bda309004a708.tar.gz
gentoo-7b60c80571dab6f8d3413573a63bda309004a708.tar.bz2
gentoo-7b60c80571dab6f8d3413573a63bda309004a708.zip
dev-python/pyopenssl: drop unused flag-o-matic
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/pyopenssl')
-rw-r--r--dev-python/pyopenssl/pyopenssl-20.0.1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-python/pyopenssl/pyopenssl-20.0.1.ebuild b/dev-python/pyopenssl/pyopenssl-20.0.1.ebuild
index 3567d1a67960..c03abc041b06 100644
--- a/dev-python/pyopenssl/pyopenssl-20.0.1.ebuild
+++ b/dev-python/pyopenssl/pyopenssl-20.0.1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{7..10} pypy3 )
PYTHON_REQ_USE="threads(+)"
-inherit distutils-r1 flag-o-matic toolchain-funcs
+inherit distutils-r1 toolchain-funcs
MY_PN=pyOpenSSL
MY_P=${MY_PN}-${PV}
@@ -45,6 +45,7 @@ src_configure() {
#include <sys/types.h>
int test[sizeof(time_t) >= 8 ? 1 : -1];
EOF
+
if [[ ${?} -eq 0 ]]; then
PYOPENSSL_SKIP_LARGE_TIME=
einfo "time_t is at least 64-bit long"
@@ -62,5 +63,6 @@ python_test() {
[[ ${PYOPENSSL_SKIP_LARGE_TIME} ]] && deselect+=(
tests/test_crypto.py::TestX509StoreContext::test_verify_with_time
)
+
epytest ${deselect[@]/#/--deselect }
}