aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2020-12-28 23:02:12 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2020-12-28 23:02:12 +0000
commitaa7a6c429ea62d972467d6755fa7a6f52256b452 (patch)
tree3c451883d3bd4d2ffe401b2b6aee58825505d145 /security
parentc3b3e6a10d663bc2672cdd4bf46943046d03ecba (diff)
downloadports-aa7a6c429ea62d972467d6755fa7a6f52256b452.tar.gz
ports-aa7a6c429ea62d972467d6755fa7a6f52256b452.zip
Drop python 2.7 support from a few ports
With hat: portmgr
Notes
Notes: svn path=/head/; revision=559531
Diffstat (limited to 'security')
-rw-r--r--security/belier/Makefile2
-rw-r--r--security/binwalk/Makefile2
-rw-r--r--security/denyhosts/Makefile2
-rw-r--r--security/gpgme/Makefile2
-rw-r--r--security/pwman3/Makefile2
-rw-r--r--security/py-RestrictedPython/Makefile2
-rw-r--r--security/py-SecretStorage/Makefile2
-rw-r--r--security/py-YubiOTP/Makefile2
-rw-r--r--security/py-acme/Makefile2
-rw-r--r--security/py-argon2-cffi/Makefile2
-rw-r--r--security/py-authlib/Makefile2
-rw-r--r--security/py-btchip-python/Makefile2
-rw-r--r--security/py-cerealizer/Makefile2
-rw-r--r--security/py-cert-human/Makefile2
-rw-r--r--security/py-certbot-apache/Makefile2
-rw-r--r--security/py-certbot-dns-cloudflare/Makefile2
-rw-r--r--security/py-certbot-dns-cpanel/Makefile2
-rw-r--r--security/py-certbot-dns-google/Makefile2
-rw-r--r--security/py-certbot-dns-rfc2136/Makefile2
-rw-r--r--security/py-certbot-dns-route53/Makefile2
-rw-r--r--security/py-certbot-nginx/Makefile2
-rw-r--r--security/py-certbot/Makefile2
-rw-r--r--security/py-certstream/Makefile2
-rw-r--r--security/py-coincurve/Makefile2
-rw-r--r--security/py-cpe/Makefile2
-rw-r--r--security/py-cryptography-vectors/Makefile2
-rw-r--r--security/py-ctypescrypto/Makefile2
-rw-r--r--security/py-cybox/Makefile2
-rw-r--r--security/py-docker-pycreds/Makefile2
-rw-r--r--security/py-ecdsa/Makefile2
-rw-r--r--security/py-ed25519ll/Makefile2
-rw-r--r--security/py-exscript/Makefile2
-rw-r--r--security/py-fail2ban/Makefile2
-rw-r--r--security/py-fido2/Makefile2
-rw-r--r--security/py-flask-httpauth/Makefile2
-rw-r--r--security/py-flask-kerberos/Makefile2
-rw-r--r--security/py-flask-saml/Makefile2
-rw-r--r--security/py-gixy/Makefile2
-rw-r--r--security/py-gnupg/Makefile2
-rw-r--r--security/py-gnutls/Makefile2
-rw-r--r--security/py-google-auth-httplib2/Makefile2
-rw-r--r--security/py-google-auth/Makefile2
-rw-r--r--security/py-gpsoauth/Makefile2
-rw-r--r--security/py-gtts-token/Makefile2
-rw-r--r--security/py-hkdf/Makefile2
-rw-r--r--security/py-itsdangerous/Makefile2
-rw-r--r--security/py-josepy/Makefile2
-rw-r--r--security/py-keepkey/Makefile2
-rw-r--r--security/py-kerberos/Makefile2
-rw-r--r--security/py-keyring/Makefile2
-rw-r--r--security/py-keyrings.alt/Makefile2
-rw-r--r--security/py-libnacl/Makefile2
-rw-r--r--security/py-m2crypto/Makefile2
-rw-r--r--security/py-maec/Makefile2
-rw-r--r--security/py-merkletools/Makefile2
-rw-r--r--security/py-mixbox/Makefile2
-rw-r--r--security/py-mnemonic/Makefile2
-rw-r--r--security/py-msoffcrypto-tool/Makefile2
-rw-r--r--security/py-ntlm-auth/Makefile2
-rw-r--r--security/py-oauth2client/Makefile2
-rw-r--r--security/py-oauthlib/Makefile2
-rw-r--r--security/py-ospd/Makefile2
-rw-r--r--security/py-paramiko1/Makefile2
-rw-r--r--security/py-passlib/Makefile2
-rw-r--r--security/py-pbkdf2/Makefile2
-rw-r--r--security/py-pgpdump/Makefile2
-rw-r--r--security/py-pgpy/Makefile2
-rw-r--r--security/py-potr/Makefile2
-rw-r--r--security/py-pyaes/Makefile2
-rw-r--r--security/py-pyaff4/Makefile2
-rw-r--r--security/py-pyaxo/Makefile2
-rw-r--r--security/py-pyblake2/Makefile2
-rw-r--r--security/py-pyclamd/Makefile2
-rw-r--r--security/py-pycryptodome/Makefile2
-rw-r--r--security/py-pyelliptic/Makefile2
-rw-r--r--security/py-pylibacl/Makefile2
-rw-r--r--security/py-pymacaroons/Makefile2
-rw-r--r--security/py-pysaml24/Makefile2
-rw-r--r--security/py-pyscard/Makefile2
-rw-r--r--security/py-pysha3/Makefile2
-rw-r--r--security/py-pysodium/Makefile2
-rw-r--r--security/py-pyspnego/Makefile2
-rw-r--r--security/py-python-axolotl-curve25519/Makefile2
-rw-r--r--security/py-python-gnupg/Makefile2
-rw-r--r--security/py-python-jose/Makefile2
-rw-r--r--security/py-python-nss/Makefile2
-rw-r--r--security/py-python-openid/Makefile2
-rw-r--r--security/py-python-pam/Makefile2
-rw-r--r--security/py-python-registry/Makefile2
-rw-r--r--security/py-python3-saml/Makefile2
-rw-r--r--security/py-pywinrm/Makefile2
-rw-r--r--security/py-rekall_lib/Makefile2
-rw-r--r--security/py-requests-credssp/Makefile2
-rw-r--r--security/py-requests-kerberos/Makefile2
-rw-r--r--security/py-ropper/Makefile2
-rw-r--r--security/py-rsa/Makefile2
-rw-r--r--security/py-safe/Makefile2
-rw-r--r--security/py-scp/Makefile2
-rw-r--r--security/py-scrypt/Makefile2
-rw-r--r--security/py-securesystemslib/Makefile2
-rw-r--r--security/py-service_identity/Makefile2
-rw-r--r--security/py-social-auth-core/Makefile2
-rw-r--r--security/py-spake2/Makefile2
-rw-r--r--security/py-ssh-audit/Makefile2
-rw-r--r--security/py-ssh/Makefile2
-rw-r--r--security/py-sshpubkeys/Makefile2
-rw-r--r--security/py-stem/Makefile2
-rw-r--r--security/py-stix/Makefile2
-rw-r--r--security/py-tlslite/Makefile2
-rw-r--r--security/py-trustme/Makefile2
-rw-r--r--security/py-tuf/Makefile2
-rw-r--r--security/py-txtorcon/Makefile2
-rw-r--r--security/py-uhashring/Makefile2
-rw-r--r--security/py-vici/Makefile2
-rw-r--r--security/py-virustotal-api/Makefile2
-rw-r--r--security/py-vulndb/Makefile2
-rw-r--r--security/py-webauthn/Makefile2
-rw-r--r--security/py-xkcdpass/Makefile2
-rw-r--r--security/py-xmlsec/Makefile2
-rw-r--r--security/py-yara/Makefile2
-rw-r--r--security/py-yubikey-manager/Makefile2
-rw-r--r--security/py-zkg/Makefile2
-rw-r--r--security/py-zope.password/Makefile2
-rw-r--r--security/py-zxcvbn/Makefile2
-rw-r--r--security/sqlmap/Makefile2
-rw-r--r--security/vinetto/Makefile2
126 files changed, 126 insertions, 126 deletions
diff --git a/security/belier/Makefile b/security/belier/Makefile
index 021ff358913b..f8d8a71a75ab 100644
--- a/security/belier/Makefile
+++ b/security/belier/Makefile
@@ -13,7 +13,7 @@ COMMENT= Easily cross several machines with SSH
RUN_DEPENDS= expect>=5.42.1:lang/expect
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/binwalk/Makefile b/security/binwalk/Makefile
index 2389662006b1..5158cf74a8ee 100644
--- a/security/binwalk/Makefile
+++ b/security/binwalk/Makefile
@@ -11,7 +11,7 @@ COMMENT= Search binary images for embedded files and executable code
LICENSE= MIT
-USES= python
+USES= python:3.6+
USE_GITHUB= yes
GH_ACCOUNT= devttys0
USE_PYTHON= autoplist distutils optsuffix concurrent
diff --git a/security/denyhosts/Makefile b/security/denyhosts/Makefile
index ab61e2392c9f..28bea7c0e637 100644
--- a/security/denyhosts/Makefile
+++ b/security/denyhosts/Makefile
@@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipaddr>=0:devel/py-ipaddr@${PY_FLAVOR}
-USES= cpe python shebangfix
+USES= cpe python:3.6+ shebangfix
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/gpgme/Makefile b/security/gpgme/Makefile
index 06e4ca139688..c0e6ef8fb506 100644
--- a/security/gpgme/Makefile
+++ b/security/gpgme/Makefile
@@ -83,7 +83,7 @@ TEST_USE= QT=testlib_build
BUILD_DEPENDS+= swig:devel/swig \
${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR}
-USES+= python
+USES+= python:3.6+
USE_PYTHON= py3kplist flavors
CONFIGURE_ARGS+=--enable-languages="python"
CONFIGURE_ENV+= BSD_PYTHON="${PYTHON_CMD}" \
diff --git a/security/pwman3/Makefile b/security/pwman3/Makefile
index 9368c21f9229..2f20c39ed851 100644
--- a/security/pwman3/Makefile
+++ b/security/pwman3/Makefile
@@ -15,7 +15,7 @@ COMMENT= Console password management application with sql storage
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.0:security/py-pycrypto@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist concurrent optsuffix
.include <bsd.port.mk>
diff --git a/security/py-RestrictedPython/Makefile b/security/py-RestrictedPython/Makefile
index cdef5abf0e89..387efe2b2740 100644
--- a/security/py-RestrictedPython/Makefile
+++ b/security/py-RestrictedPython/Makefile
@@ -13,7 +13,7 @@ COMMENT= Restricted execution environment for Python
LICENSE= ZPL21
-USES= python zip
+USES= python:3.6+ zip
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-SecretStorage/Makefile b/security/py-SecretStorage/Makefile
index bb05d094cb68..4e68d45f074e 100644
--- a/security/py-SecretStorage/Makefile
+++ b/security/py-SecretStorage/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dbus>=0.84.0:devel/py-dbus@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
diff --git a/security/py-YubiOTP/Makefile b/security/py-YubiOTP/Makefile
index 770982cc9b54..4e8da97166e4 100644
--- a/security/py-YubiOTP/Makefile
+++ b/security/py-YubiOTP/Makefile
@@ -15,7 +15,7 @@ LICENSE= BSD2CLAUSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>
diff --git a/security/py-acme/Makefile b/security/py-acme/Makefile
index fbe0925af5e1..3665999f8a02 100644
--- a/security/py-acme/Makefile
+++ b/security/py-acme/Makefile
@@ -25,7 +25,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=1.2.3:security/py-cryptography
${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
diff --git a/security/py-argon2-cffi/Makefile b/security/py-argon2-cffi/Makefile
index a18f321600cc..dba34e2ae311 100644
--- a/security/py-argon2-cffi/Makefile
+++ b/security/py-argon2-cffi/Makefile
@@ -21,7 +21,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR} \
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR}
-USES= python localbase
+USES= python:3.6+ localbase
USE_PYTHON= autoplist distutils
MAKE_ENV+= ARGON2_CFFI_USE_SYSTEM=1
diff --git a/security/py-authlib/Makefile b/security/py-authlib/Makefile
index e74735f74314..09dc8e2a1902 100644
--- a/security/py-authlib/Makefile
+++ b/security/py-authlib/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/py-btchip-python/Makefile b/security/py-btchip-python/Makefile
index 1ad827c6479a..b3d9f03cead6 100644
--- a/security/py-btchip-python/Makefile
+++ b/security/py-btchip-python/Makefile
@@ -18,7 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mnemonic>=0:security/py-mnemonic@${PY_FLAVOR
${PYTHON_PKGNAMEPREFIX}ecdsa>=0.9:security/py-ecdsa@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hidapi>=0.7.99:comms/py-hidapi@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_GITHUB= yes
USE_PYTHON= autoplist distutils
NO_ARCH= yes
diff --git a/security/py-cerealizer/Makefile b/security/py-cerealizer/Makefile
index caf701f9fc6e..35b91e297b75 100644
--- a/security/py-cerealizer/Makefile
+++ b/security/py-cerealizer/Makefile
@@ -13,7 +13,7 @@ DIST_SUBDIR= python
MAINTAINER= acm@FreeBSD.org
COMMENT= Secure pickle-like module
-USES= python tar:bzip2
+USES= python:3.6+ tar:bzip2
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-cert-human/Makefile b/security/py-cert-human/Makefile
index aa384d2c5fc3..4147f9c6a6b1 100644
--- a/security/py-cert-human/Makefile
+++ b/security/py-cert-human/Makefile
@@ -19,7 +19,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=1.3.4:security/py-cryptography
${PYTHON_PKGNAMEPREFIX}openssl>=0.14:security/py-openssl@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/py-certbot-apache/Makefile b/security/py-certbot-apache/Makefile
index e6fbd8e4eac8..67ed113380fe 100644
--- a/security/py-certbot-apache/Makefile
+++ b/security/py-certbot-apache/Makefile
@@ -19,7 +19,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}acme>=${ACME_VERSION},1:security/py-acme@${P
${PYTHON_PKGNAMEPREFIX}zope.component>0:devel/py-zope.component@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}zope.interface>0:devel/py-zope.interface@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/py-certbot-dns-cloudflare/Makefile b/security/py-certbot-dns-cloudflare/Makefile
index f11c1f0b7fd9..3d977895f408 100644
--- a/security/py-certbot-dns-cloudflare/Makefile
+++ b/security/py-certbot-dns-cloudflare/Makefile
@@ -18,7 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}acme>=${ACME_VERSION},1:security/py-acme@${P
${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}zope.interface>0:devel/py-zope.interface@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/py-certbot-dns-cpanel/Makefile b/security/py-certbot-dns-cpanel/Makefile
index d793d1d4ae15..f63e1cf76609 100644
--- a/security/py-certbot-dns-cpanel/Makefile
+++ b/security/py-certbot-dns-cpanel/Makefile
@@ -15,7 +15,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certbot>0:security/py-certbot@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}zope.interface>0:devel/py-zope.interface@${PY_FLAVOR} \
${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
SUB_FILES= pkg-message
diff --git a/security/py-certbot-dns-google/Makefile b/security/py-certbot-dns-google/Makefile
index b78ad33a7a83..6d48f72af5f7 100644
--- a/security/py-certbot-dns-google/Makefile
+++ b/security/py-certbot-dns-google/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}acme>=${ACME_VERSION},1:security/py-acme@${P
${PYTHON_PKGNAMEPREFIX}oauth2client>=4.0:security/py-oauth2client@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}zope.interface>0:devel/py-zope.interface@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/py-certbot-dns-rfc2136/Makefile b/security/py-certbot-dns-rfc2136/Makefile
index 650bafd3d44f..23de46f6cee5 100644
--- a/security/py-certbot-dns-rfc2136/Makefile
+++ b/security/py-certbot-dns-rfc2136/Makefile
@@ -18,7 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}acme>=${ACME_VERSION},1:security/py-acme@${P
${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}zope.interface>0:devel/py-zope.interface@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/py-certbot-dns-route53/Makefile b/security/py-certbot-dns-route53/Makefile
index 6e5569f8bebf..ef45e8f77a33 100644
--- a/security/py-certbot-dns-route53/Makefile
+++ b/security/py-certbot-dns-route53/Makefile
@@ -18,7 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}acme>=${ACME_VERSION},1:security/py-acme@${P
${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}zope.interface>0:devel/py-zope.interface@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/py-certbot-nginx/Makefile b/security/py-certbot-nginx/Makefile
index 61bdfc95cecb..5b842a204def 100644
--- a/security/py-certbot-nginx/Makefile
+++ b/security/py-certbot-nginx/Makefile
@@ -19,7 +19,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}acme>=${ACME_VERSION},1:security/py-acme@${P
${PYTHON_PKGNAMEPREFIX}pyparsing>=1.5.5:devel/py-pyparsing@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}zope.interface>0:devel/py-zope.interface@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/py-certbot/Makefile b/security/py-certbot/Makefile
index 64bb44680c53..f0c17c5a2469 100644
--- a/security/py-certbot/Makefile
+++ b/security/py-certbot/Makefile
@@ -30,7 +30,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}acme>=${ACME_VERSION},1:security/py-acme@${P
${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/py-certstream/Makefile b/security/py-certstream/Makefile
index b31df4ac245f..43ea78235231 100644
--- a/security/py-certstream/Makefile
+++ b/security/py-certstream/Makefile
@@ -16,7 +16,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}termcolor>=0:devel/py-termcolor@${PY_FLAVO
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}termcolor>=0:devel/py-termcolor@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}websocket-client>=0:www/py-websocket-client@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist concurrent
NO_ARCH= yes
diff --git a/security/py-coincurve/Makefile b/security/py-coincurve/Makefile
index 59af4793ea44..f376da26e464 100644
--- a/security/py-coincurve/Makefile
+++ b/security/py-coincurve/Makefile
@@ -18,7 +18,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi@${PY_FLAVOR} \
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>0:devel/py-asn1crypto@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi@${PY_FLAVOR}
-USES= pkgconfig python
+USES= pkgconfig python:3.6+
USE_PYTHON= distutils autoplist
post-install:
diff --git a/security/py-cpe/Makefile b/security/py-cpe/Makefile
index bea53a974086..1927fc27ca36 100644
--- a/security/py-cpe/Makefile
+++ b/security/py-cpe/Makefile
@@ -13,7 +13,7 @@ COMMENT= CPE: Common Platform Enumeration for Python
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
diff --git a/security/py-cryptography-vectors/Makefile b/security/py-cryptography-vectors/Makefile
index 03946abbb700..a1fa281522d1 100644
--- a/security/py-cryptography-vectors/Makefile
+++ b/security/py-cryptography-vectors/Makefile
@@ -16,7 +16,7 @@ LICENSE_COMB= dual
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.APACHE
LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/LICENSE.BSD
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/py-ctypescrypto/Makefile b/security/py-ctypescrypto/Makefile
index 8079b46c6730..314c62e45528 100644
--- a/security/py-ctypescrypto/Makefile
+++ b/security/py-ctypescrypto/Makefile
@@ -12,7 +12,7 @@ COMMENT= CTypes-based interface for some OpenSSL libcrypto features
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
NO_ARCH= yes
diff --git a/security/py-cybox/Makefile b/security/py-cybox/Makefile
index 831465489ab6..3d98e9fc925d 100644
--- a/security/py-cybox/Makefile
+++ b/security/py-cybox/Makefile
@@ -23,7 +23,7 @@ GH_ACCOUNT= CybOXProject
GH_PROJECT= python-${PORTNAME}
NO_ARCH= yes
-USES= python
+USES= python:3.6+
USE_PYTHON= concurrent distutils autoplist
PORTDOCS= README.rst
diff --git a/security/py-docker-pycreds/Makefile b/security/py-docker-pycreds/Makefile
index 3375c3370d5e..7e20bc0038c7 100644
--- a/security/py-docker-pycreds/Makefile
+++ b/security/py-docker-pycreds/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.4:devel/py-six@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>
diff --git a/security/py-ecdsa/Makefile b/security/py-ecdsa/Makefile
index 1d691d0134d5..1f284dfc64b1 100644
--- a/security/py-ecdsa/Makefile
+++ b/security/py-ecdsa/Makefile
@@ -17,7 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
OPTIONS_RADIO= FASTER
diff --git a/security/py-ed25519ll/Makefile b/security/py-ed25519ll/Makefile
index 198c12762091..45ff31b93bdb 100644
--- a/security/py-ed25519ll/Makefile
+++ b/security/py-ed25519ll/Makefile
@@ -18,7 +18,7 @@ LICENSE= MIT
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils flavors
WRKSRC= ${WRKDIR}/dholth-${PORTNAME}-${DISTNAME}
diff --git a/security/py-exscript/Makefile b/security/py-exscript/Makefile
index 78ac193ebd28..e94f03f82171 100644
--- a/security/py-exscript/Makefile
+++ b/security/py-exscript/Makefile
@@ -17,7 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}configparser>0:devel/py-configparser@${PY_FL
${PYTHON_PKGNAMEPREFIX}paramiko>0:security/py-paramiko@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pycryptodomex>0:security/py-pycryptodomex@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
# Upstream doesn't provide a sdist, yet
USE_GITHUB= yes
GH_ACCOUNT= knipknap
diff --git a/security/py-fail2ban/Makefile b/security/py-fail2ban/Makefile
index 1d4ff489565e..34bf8b59193b 100644
--- a/security/py-fail2ban/Makefile
+++ b/security/py-fail2ban/Makefile
@@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
-USES= python:patch shebangfix
+USES= python:3.6+,patch shebangfix
USE_GITHUB= yes
USE_PYTHON= autoplist distutils
USE_RC_SUBR= fail2ban
diff --git a/security/py-fido2/Makefile b/security/py-fido2/Makefile
index ebf5c89f2fee..18ddfe76eb19 100644
--- a/security/py-fido2/Makefile
+++ b/security/py-fido2/Makefile
@@ -19,7 +19,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=1.5:security/py-cryptography@$
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pycodestyle>0:devel/py-pycodestyle@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
diff --git a/security/py-flask-httpauth/Makefile b/security/py-flask-httpauth/Makefile
index faea20cee84a..a35e70342ab1 100644
--- a/security/py-flask-httpauth/Makefile
+++ b/security/py-flask-httpauth/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>0:www/py-flask@${PY_FLAVOR}
NO_ARCH= yes
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>
diff --git a/security/py-flask-kerberos/Makefile b/security/py-flask-kerberos/Makefile
index a0992d87d4da..14df917e300c 100644
--- a/security/py-flask-kerberos/Makefile
+++ b/security/py-flask-kerberos/Makefile
@@ -15,7 +15,7 @@ LICENSE= BSD2CLAUSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>0:www/py-flask@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}kerberos>1.1.1:security/py-kerberos@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
diff --git a/security/py-flask-saml/Makefile b/security/py-flask-saml/Makefile
index 60c88eef681f..7dfeefb0854b 100644
--- a/security/py-flask-saml/Makefile
+++ b/security/py-flask-saml/Makefile
@@ -14,7 +14,7 @@ LICENSE= APACHE20
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0.8.0:www/py-flask@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}blinker>=1.1:devel/py-blinker@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
diff --git a/security/py-gixy/Makefile b/security/py-gixy/Makefile
index 535a6f19b0be..a2926f5b1f3f 100644
--- a/security/py-gixy/Makefile
+++ b/security/py-gixy/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}configargparse>=0.11.0:devel/py-configargpa
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}argparse>=1.4.0:devel/py-argparse@${PY_FLAVOR}
NO_ARCH= yes
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>
diff --git a/security/py-gnupg/Makefile b/security/py-gnupg/Makefile
index 92b7bd7d42e0..49b227126d13 100644
--- a/security/py-gnupg/Makefile
+++ b/security/py-gnupg/Makefile
@@ -13,7 +13,7 @@ LICENSE= GPLv3
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>=0.5.1:sysutils/py-psutil@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_GITHUB= yes
USE_PYTHON= distutils autoplist
diff --git a/security/py-gnutls/Makefile b/security/py-gnutls/Makefile
index b88689d4ddaf..1a8a90181f09 100644
--- a/security/py-gnutls/Makefile
+++ b/security/py-gnutls/Makefile
@@ -14,7 +14,7 @@ LICENSE= LGPL20
LIB_DEPENDS= libgnutls.so:security/gnutls
-USES= python shebangfix
+USES= python:3.6+ shebangfix
USE_PYTHON= autoplist distutils
PYDISTUTILS_PKGNAME= python_gnutls
NO_ARCH= yes
diff --git a/security/py-google-auth-httplib2/Makefile b/security/py-google-auth-httplib2/Makefile
index 380e5b60a55a..ee1ee2938142 100644
--- a/security/py-google-auth-httplib2/Makefile
+++ b/security/py-google-auth-httplib2/Makefile
@@ -17,7 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}google-auth>=0:security/py-google-auth@${PY_
${PYTHON_PKGNAMEPREFIX}httplib2>=0.9.1:www/py-httplib2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/py-google-auth/Makefile b/security/py-google-auth/Makefile
index 32b066e28f6d..9117243c7104 100644
--- a/security/py-google-auth/Makefile
+++ b/security/py-google-auth/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyasn1-modules>=0.2.1:devel/py-pyasn1-modules@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/py-gpsoauth/Makefile b/security/py-gpsoauth/Makefile
index e38d451669a6..ae2e5f744751 100644
--- a/security/py-gpsoauth/Makefile
+++ b/security/py-gpsoauth/Makefile
@@ -22,7 +22,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.9.1:www/py-requests@${PY_FLAVOR}
USE_GITHUB= yes
GH_ACCOUNT= simon-weber
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
NO_ARCH= yes
diff --git a/security/py-gtts-token/Makefile b/security/py-gtts-token/Makefile
index f75fee4e0925..28fc2a2b4e5e 100644
--- a/security/py-gtts-token/Makefile
+++ b/security/py-gtts-token/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_GITHUB= yes
GH_ACCOUNT= Boudewijn26
GH_PROJECT= gTTS-token
diff --git a/security/py-hkdf/Makefile b/security/py-hkdf/Makefile
index 2b5292465ae7..58a32ef7b90a 100644
--- a/security/py-hkdf/Makefile
+++ b/security/py-hkdf/Makefile
@@ -9,7 +9,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= swills@FreeBSD.org
COMMENT= HMAC-based Extract-and-Expand Key Derivation Function (HKDF)
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>
diff --git a/security/py-itsdangerous/Makefile b/security/py-itsdangerous/Makefile
index 58333d0dade8..6dbf5ac018a9 100644
--- a/security/py-itsdangerous/Makefile
+++ b/security/py-itsdangerous/Makefile
@@ -12,7 +12,7 @@ COMMENT= Various helpers to pass data in untrusted environments
LICENSE= BSD3CLAUSE
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
NO_ARCH= yes
diff --git a/security/py-josepy/Makefile b/security/py-josepy/Makefile
index c3f4a39f0bba..626beb7c178b 100644
--- a/security/py-josepy/Makefile
+++ b/security/py-josepy/Makefile
@@ -24,7 +24,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=4.0:devel/py-coverage@${PY_FLAVOR
${PYTHON_PKGNAMEPREFIX}pytest-flake8>=0.5:devel/py-pytest-flake8@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>=2.8.0:devel/py-pytest@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/py-keepkey/Makefile b/security/py-keepkey/Makefile
index e118cb36bb17..86b7fcd29a9d 100644
--- a/security/py-keepkey/Makefile
+++ b/security/py-keepkey/Makefile
@@ -18,7 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ecdsa>=0.9:security/py-ecdsa@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hidapi>=0.7.99.post15:comms/py-hidapi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}libusb1>=1.6:devel/py-libusb1@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/py-kerberos/Makefile b/security/py-kerberos/Makefile
index d4e310b8316e..8288934f3171 100644
--- a/security/py-kerberos/Makefile
+++ b/security/py-kerberos/Makefile
@@ -21,7 +21,7 @@ GSSAPI_BASE_USES= gssapi
GSSAPI_HEIMDAL_USES= gssapi:heimdal
GSSAPI_MIT_USES= gssapi:mit
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
GSSAPI_BASE_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_kerberosbasic.h \
diff --git a/security/py-keyring/Makefile b/security/py-keyring/Makefile
index 0b6786913d13..6a59e4936a9b 100644
--- a/security/py-keyring/Makefile
+++ b/security/py-keyring/Makefile
@@ -15,7 +15,7 @@ LICENSE= PSFL
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.15.0:devel/py-setuptools_scm@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}entrypoints>=0:devel/py-entrypoints@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/py-keyrings.alt/Makefile b/security/py-keyrings.alt/Makefile
index 19b77608263f..6999d8143269 100644
--- a/security/py-keyrings.alt/Makefile
+++ b/security/py-keyrings.alt/Makefile
@@ -21,7 +21,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.8:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}fs>=0.5:devel/py-fs@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
diff --git a/security/py-libnacl/Makefile b/security/py-libnacl/Makefile
index 4ceab32a51a7..b955bdd604c8 100644
--- a/security/py-libnacl/Makefile
+++ b/security/py-libnacl/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libsodium.so:security/libsodium
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
diff --git a/security/py-m2crypto/Makefile b/security/py-m2crypto/Makefile
index 353d5d724452..d0cfbf978fef 100644
--- a/security/py-m2crypto/Makefile
+++ b/security/py-m2crypto/Makefile
@@ -18,7 +18,7 @@ BUILD_DEPENDS= swig>=2.0.4:devel/swig
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}parameterized>=0:devel/py-parameterized@${PY_FLAVOR} \
${PY_TYPING}
-USES= python ssl
+USES= python:3.6+ ssl
USE_PYTHON= autoplist concurrent distutils
PYDISTUTILS_BUILDARGS= build_ext --openssl=${OPENSSLBASE} --swig=${LOCALBASE}/bin/swig
diff --git a/security/py-maec/Makefile b/security/py-maec/Makefile
index a3903f6f3976..38fd99c7ad20 100644
--- a/security/py-maec/Makefile
+++ b/security/py-maec/Makefile
@@ -23,7 +23,7 @@ GH_ACCOUNT= MAECProject
GH_PROJECT= python-${PORTNAME}
NO_ARCH= yes
-USES= python
+USES= python:3.6+
USE_PYTHON= concurrent distutils autoplist
USE_LOCALE= en_US.UTF-8
diff --git a/security/py-merkletools/Makefile b/security/py-merkletools/Makefile
index 851337a73d6d..37afcac169b4 100644
--- a/security/py-merkletools/Makefile
+++ b/security/py-merkletools/Makefile
@@ -13,7 +13,7 @@ LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pysha3>0:security/py-pysha3@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
NO_ARCH= yes
diff --git a/security/py-mixbox/Makefile b/security/py-mixbox/Makefile
index 6c323c5efd2e..d1a41c740fb2 100644
--- a/security/py-mixbox/Makefile
+++ b/security/py-mixbox/Makefile
@@ -17,7 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ordered-set>=0:devel/py-ordered-set@${PY_FLAVOR}
NO_ARCH= yes
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
.include <bsd.port.pre.mk>
diff --git a/security/py-mnemonic/Makefile b/security/py-mnemonic/Makefile
index 0aaddbfc9b56..562224f8f765 100644
--- a/security/py-mnemonic/Makefile
+++ b/security/py-mnemonic/Makefile
@@ -14,7 +14,7 @@ LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbkdf2>=1.3:security/py-pbkdf2@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>
diff --git a/security/py-msoffcrypto-tool/Makefile b/security/py-msoffcrypto-tool/Makefile
index 792ecc4ecac3..21b70b3f6091 100644
--- a/security/py-msoffcrypto-tool/Makefile
+++ b/security/py-msoffcrypto-tool/Makefile
@@ -14,7 +14,7 @@ LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=2.3:security/py-cryptography@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}olefile>=0.45:devel/py-olefile@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= concurrent distutils autoplist
NO_ARCH= yes
diff --git a/security/py-ntlm-auth/Makefile b/security/py-ntlm-auth/Makefile
index 53fb3ddf7959..e485c1037d32 100644
--- a/security/py-ntlm-auth/Makefile
+++ b/security/py-ntlm-auth/Makefile
@@ -12,7 +12,7 @@ COMMENT= Create NTLM authentication structures
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
NO_ARCH= yes
diff --git a/security/py-oauth2client/Makefile b/security/py-oauth2client/Makefile
index 63124ae19883..c02dbec972db 100644
--- a/security/py-oauth2client/Makefile
+++ b/security/py-oauth2client/Makefile
@@ -19,7 +19,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httplib2>=0.9.1:www/py-httplib2@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}rsa>=3.1.4:security/py-rsa@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.6.1:devel/py-six@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/py-oauthlib/Makefile b/security/py-oauthlib/Makefile
index bfa552266033..0f7e31df8e3e 100644
--- a/security/py-oauthlib/Makefile
+++ b/security/py-oauthlib/Makefile
@@ -30,7 +30,7 @@ SIGNALS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blinker>0:devel/py-blinker@${PY_FLA
SIGNEDTOKEN_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyjwt>=1.0.0:www/py-pyjwt@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
diff --git a/security/py-ospd/Makefile b/security/py-ospd/Makefile
index a9777c2e2956..fe809bd95084 100644
--- a/security/py-ospd/Makefile
+++ b/security/py-ospd/Makefile
@@ -18,7 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}defusedxml>0:devel/py-defusedxml@${PY_FLAVOR
${PYTHON_PKGNAMEPREFIX}paramiko>0:security/py-paramiko@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
NO_ARCH= yes
diff --git a/security/py-paramiko1/Makefile b/security/py-paramiko1/Makefile
index 76673f77782f..1506248462d5 100644
--- a/security/py-paramiko1/Makefile
+++ b/security/py-paramiko1/Makefile
@@ -15,7 +15,7 @@ LICENSE= GPLv2
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ecdsa>0:security/py-ecdsa@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
CONFLICTS_INSTALL= py??-paramiko-*
diff --git a/security/py-passlib/Makefile b/security/py-passlib/Makefile
index 245b1fa3324a..183d99fc568d 100644
--- a/security/py-passlib/Makefile
+++ b/security/py-passlib/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=1.1:devel/py-nose@${PY_FLAVOR}
# Python 2.6,3.3-3.8
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
diff --git a/security/py-pbkdf2/Makefile b/security/py-pbkdf2/Makefile
index 9d57997b95fc..4dee6e998ff1 100644
--- a/security/py-pbkdf2/Makefile
+++ b/security/py-pbkdf2/Makefile
@@ -12,7 +12,7 @@ COMMENT= PKCS5 v2.0 PBKDF2 Module
LICENSE= MIT
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-pgpdump/Makefile b/security/py-pgpdump/Makefile
index 07e6f2f1f3db..21e2903c1fdd 100644
--- a/security/py-pgpdump/Makefile
+++ b/security/py-pgpdump/Makefile
@@ -13,7 +13,7 @@ COMMENT= Python library for parsing PGP packets
LICENSE= BSD2CLAUSE
NO_ARCH= yes
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>
diff --git a/security/py-pgpy/Makefile b/security/py-pgpy/Makefile
index a34653cf230d..4eebca031f7f 100644
--- a/security/py-pgpy/Makefile
+++ b/security/py-pgpy/Makefile
@@ -17,7 +17,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=2.6:security/py-cryptography
${PYTHON_PKGNAMEPREFIX}pyasn1>=0:devel/py-pyasn1@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/py-potr/Makefile b/security/py-potr/Makefile
index d614bd970bfe..e012160b0c33 100644
--- a/security/py-potr/Makefile
+++ b/security/py-potr/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto@${PY_FLAVOR}
-USES= python zip
+USES= python:3.6+ zip
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>
diff --git a/security/py-pyaes/Makefile b/security/py-pyaes/Makefile
index 38ef936cb951..a4685a6de7d1 100644
--- a/security/py-pyaes/Makefile
+++ b/security/py-pyaes/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
NO_ARCH= yes
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>
diff --git a/security/py-pyaff4/Makefile b/security/py-pyaff4/Makefile
index f15c40d38fb1..3c4a688c2efa 100644
--- a/security/py-pyaff4/Makefile
+++ b/security/py-pyaff4/Makefile
@@ -22,7 +22,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>=0:devel/py-future@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR}
NO_ARCH= yes
-USES= python zip
+USES= python:3.6+ zip
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-pyaxo/Makefile b/security/py-pyaxo/Makefile
index f37bb3fd1f1e..a47099f1841e 100644
--- a/security/py-pyaxo/Makefile
+++ b/security/py-pyaxo/Makefile
@@ -19,7 +19,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}passlib>=1.6.1:security/py-passlib@${PY_FLAV
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
diff --git a/security/py-pyblake2/Makefile b/security/py-pyblake2/Makefile
index bfef182c41cc..a3740a8bd3f1 100644
--- a/security/py-pyblake2/Makefile
+++ b/security/py-pyblake2/Makefile
@@ -12,7 +12,7 @@ COMMENT= BLAKE2 hash function extension module
LICENSE= CC0-1.0
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
diff --git a/security/py-pyclamd/Makefile b/security/py-pyclamd/Makefile
index 361ea1961ec6..d1dc8d952ffb 100644
--- a/security/py-pyclamd/Makefile
+++ b/security/py-pyclamd/Makefile
@@ -13,7 +13,7 @@ COMMENT= Python ClamD interface module
LICENSE= LGPL3+
NO_ARCH= yes
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-pycryptodome/Makefile b/security/py-pycryptodome/Makefile
index bf7719526a65..17705255f0ec 100644
--- a/security/py-pycryptodome/Makefile
+++ b/security/py-pycryptodome/Makefile
@@ -14,7 +14,7 @@ LICENSE= PD BSD2CLAUSE APACHE20
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pycrypto
diff --git a/security/py-pyelliptic/Makefile b/security/py-pyelliptic/Makefile
index ed8930ecbe32..e08bcfa3ab3d 100644
--- a/security/py-pyelliptic/Makefile
+++ b/security/py-pyelliptic/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openssl>=0:security/py-openssl@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_GITHUB= yes
GH_ACCOUNT= radfish
USE_PYTHON= autoplist distutils
diff --git a/security/py-pylibacl/Makefile b/security/py-pylibacl/Makefile
index ed8befa93e5a..78838bfd38fc 100644
--- a/security/py-pylibacl/Makefile
+++ b/security/py-pylibacl/Makefile
@@ -13,7 +13,7 @@ COMMENT= Manipulate ACL with Python
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
PORTDOCS= NEWS README
diff --git a/security/py-pymacaroons/Makefile b/security/py-pymacaroons/Makefile
index 5f110c05fa5d..4ab29a4a5d2b 100644
--- a/security/py-pymacaroons/Makefile
+++ b/security/py-pymacaroons/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pynacl>=1.1.2<2.0:security/py-pynacl@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.8.0:devel/py-six@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/py-pysaml24/Makefile b/security/py-pysaml24/Makefile
index fdb87a8a735d..d88391300173 100644
--- a/security/py-pysaml24/Makefile
+++ b/security/py-pysaml24/Makefile
@@ -29,7 +29,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}responses>=0:devel/py-responses@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/py-pyscard/Makefile b/security/py-pyscard/Makefile
index 560317e0703a..2b402b27a9ed 100644
--- a/security/py-pyscard/Makefile
+++ b/security/py-pyscard/Makefile
@@ -18,7 +18,7 @@ BUILD_DEPENDS= swig:devel/swig \
RUN_DEPENDS= pcsc-lite>0:devel/pcsc-lite
## Python3 is supported
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
PYDISTUTILS_BUILD_TARGET= build_ext
diff --git a/security/py-pysha3/Makefile b/security/py-pysha3/Makefile
index 309e9a25f7f7..75988c9bd973 100644
--- a/security/py-pysha3/Makefile
+++ b/security/py-pysha3/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_mips64= fails to compile: KeccakP-1600-opt64.c: error: Not yet implemented
# Actually Python 2.7,3.4+
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
post-install:
diff --git a/security/py-pysodium/Makefile b/security/py-pysodium/Makefile
index 59936c5ae581..9a9df53160bc 100644
--- a/security/py-pysodium/Makefile
+++ b/security/py-pysodium/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= libsodium.so:security/libsodium
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/py-pyspnego/Makefile b/security/py-pyspnego/Makefile
index 71e643e0aa72..a851d08bf245 100644
--- a/security/py-pyspnego/Makefile
+++ b/security/py-pyspnego/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/py-python-axolotl-curve25519/Makefile b/security/py-python-axolotl-curve25519/Makefile
index eed13fe04964..45443356d3b6 100644
--- a/security/py-python-axolotl-curve25519/Makefile
+++ b/security/py-python-axolotl-curve25519/Makefile
@@ -12,7 +12,7 @@ COMMENT= Python wrapper for curve25519 with ed25519 signatures
LICENSE= GPLv3
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
post-install:
diff --git a/security/py-python-gnupg/Makefile b/security/py-python-gnupg/Makefile
index 1bf403539ed7..4d41f4908616 100644
--- a/security/py-python-gnupg/Makefile
+++ b/security/py-python-gnupg/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0.15.2:devel/py-coverage@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
NO_ARCH= yes
USE_PYTHON= autoplist distutils
diff --git a/security/py-python-jose/Makefile b/security/py-python-jose/Makefile
index 3bb9e877fbe9..0ff98385f813 100644
--- a/security/py-python-jose/Makefile
+++ b/security/py-python-jose/Makefile
@@ -12,7 +12,7 @@ COMMENT= Client SDK for TIP API which require Authentication Tokens
LICENSE= MIT
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR}
diff --git a/security/py-python-nss/Makefile b/security/py-python-nss/Makefile
index 2ea51ee05cee..0669ccc0e83b 100644
--- a/security/py-python-nss/Makefile
+++ b/security/py-python-nss/Makefile
@@ -19,7 +19,7 @@ LICENSE_FILE_MPL20= ${WRKSRC}/LICENSE.mpl
LIB_DEPENDS= libnspr4.so:devel/nspr \
libnss3.so:security/nss
-USES= compiler:c11 python tar:bzip2
+USES= compiler:c11 python:3.6+ tar:bzip2
USE_PYTHON= autoplist distutils
PYDISTUTILS_CONFIGUREARGS= --include-root="${LOCALBASE}/include"
diff --git a/security/py-python-openid/Makefile b/security/py-python-openid/Makefile
index b70908ab9e8b..cf5d6c3b2e1d 100644
--- a/security/py-python-openid/Makefile
+++ b/security/py-python-openid/Makefile
@@ -15,7 +15,7 @@ LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
NO_ARCH= yes
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>
diff --git a/security/py-python-pam/Makefile b/security/py-python-pam/Makefile
index b190e0a1b176..e01857af0383 100644
--- a/security/py-python-pam/Makefile
+++ b/security/py-python-pam/Makefile
@@ -12,7 +12,7 @@ COMMENT= Python PAM module
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/py-python-registry/Makefile b/security/py-python-registry/Makefile
index 95f650ef74e0..b625cc8dd17e 100644
--- a/security/py-python-registry/Makefile
+++ b/security/py-python-registry/Makefile
@@ -19,7 +19,7 @@ USE_GITHUB= yes
GH_ACCOUNT= williballenthin
NO_ARCH= yes
-USES= python shebangfix
+USES= python:3.6+ shebangfix
USE_PYTHON= distutils autoplist concurrent
SHEBANG_FILES= samples/*.py
python_OLD_CMD= .*
diff --git a/security/py-python3-saml/Makefile b/security/py-python3-saml/Makefile
index 8a4934ef8dcc..611d7f3c3b79 100644
--- a/security/py-python3-saml/Makefile
+++ b/security/py-python3-saml/Makefile
@@ -17,7 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}defusedxml>=0.5.0:devel/py-defusedxml@${PY_F
${PYTHON_PKGNAMEPREFIX}isodate>=0.5.0:devel/py-isodate@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xmlsec>=0.6.0:security/py-xmlsec@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/py-pywinrm/Makefile b/security/py-pywinrm/Makefile
index c2ba77204391..99798fdd577a 100644
--- a/security/py-pywinrm/Makefile
+++ b/security/py-pywinrm/Makefile
@@ -23,7 +23,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}
# Actually 2.6-2.7,3.3-3.6
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
diff --git a/security/py-rekall_lib/Makefile b/security/py-rekall_lib/Makefile
index 9c0a214feec8..3efcb9b96818 100644
--- a/security/py-rekall_lib/Makefile
+++ b/security/py-rekall_lib/Makefile
@@ -26,7 +26,7 @@ USE_GITHUB= yes
GH_PROJECT= rekall
GH_ACCOUNT= google
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
NO_ARCH= yes
diff --git a/security/py-requests-credssp/Makefile b/security/py-requests-credssp/Makefile
index 29aff1734b40..cfac2beae4ec 100644
--- a/security/py-requests-credssp/Makefile
+++ b/security/py-requests-credssp/Makefile
@@ -18,7 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${P
${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
diff --git a/security/py-requests-kerberos/Makefile b/security/py-requests-kerberos/Makefile
index c3edaef70073..c41b8198c348 100644
--- a/security/py-requests-kerberos/Makefile
+++ b/security/py-requests-kerberos/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>1.1.0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}kerberos>1.1.1:security/py-kerberos@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
NO_ARCH= yes
diff --git a/security/py-ropper/Makefile b/security/py-ropper/Makefile
index b17f9a47f692..becebe741e1f 100644
--- a/security/py-ropper/Makefile
+++ b/security/py-ropper/Makefile
@@ -17,7 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}capstone>=4.0.1:devel/py-capstone@${PY_FLAVO
${PYTHON_PKGNAMEPREFIX}filebytes>=0.10.0:devel/py-filebytes@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}keystone-engine>=0.9.1.3:devel/py-keystone-engine@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_GITHUB= yes
GH_ACCOUNT= sashs
GH_PROJECT= Ropper
diff --git a/security/py-rsa/Makefile b/security/py-rsa/Makefile
index 6fd76dc2b0ff..70db25eb46c8 100644
--- a/security/py-rsa/Makefile
+++ b/security/py-rsa/Makefile
@@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyasn1>=0.1.3:devel/py-pyasn1@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils concurrent
NO_ARCH= yes
diff --git a/security/py-safe/Makefile b/security/py-safe/Makefile
index 1e949b4f218b..73b6b84940f8 100644
--- a/security/py-safe/Makefile
+++ b/security/py-safe/Makefile
@@ -14,7 +14,7 @@ COMMENT= Python library to test password strength
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>
diff --git a/security/py-scp/Makefile b/security/py-scp/Makefile
index a0e4283fd914..9b76a5ac4fad 100644
--- a/security/py-scp/Makefile
+++ b/security/py-scp/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}paramiko>0:security/py-paramiko@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
NO_ARCH= yes
diff --git a/security/py-scrypt/Makefile b/security/py-scrypt/Makefile
index e93cc8b3ec2d..7cb5b9c0aee1 100644
--- a/security/py-scrypt/Makefile
+++ b/security/py-scrypt/Makefile
@@ -12,7 +12,7 @@ COMMENT= Bindings for the scrypt key derivation function library
LICENSE= BSD2CLAUSE
-USES= python ssl
+USES= python:3.6+ ssl
USE_PYTHON= autoplist distutils
post-install:
diff --git a/security/py-securesystemslib/Makefile b/security/py-securesystemslib/Makefile
index 666b61786157..183b8b4ce813 100644
--- a/security/py-securesystemslib/Makefile
+++ b/security/py-securesystemslib/Makefile
@@ -18,7 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.11.0:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pynacl>1.2.0:security/py-pynacl@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_GITHUB= yes # tests/LICENSE not included in PyPI sdist
USE_PYTHON= autoplist distutils
diff --git a/security/py-service_identity/Makefile b/security/py-service_identity/Makefile
index 1aa5d0408db3..49633d536375 100644
--- a/security/py-service_identity/Makefile
+++ b/security/py-service_identity/Makefile
@@ -19,7 +19,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=16.0.0:devel/py-attrs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyasn1-modules>=0:devel/py-pyasn1-modules@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyasn1>=0:devel/py-pyasn1@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
diff --git a/security/py-social-auth-core/Makefile b/security/py-social-auth-core/Makefile
index 734e8cc8f201..fbbd3b4a9be0 100644
--- a/security/py-social-auth-core/Makefile
+++ b/security/py-social-auth-core/Makefile
@@ -23,7 +23,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=1.4:security/py-cryptography@$
${PYTHON_PKGNAMEPREFIX}requests-oauthlib>=0.6.1:www/py-requests-oauthlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
NO_ARCH= yes
diff --git a/security/py-spake2/Makefile b/security/py-spake2/Makefile
index e9717e59fd60..b1e4ff722538 100644
--- a/security/py-spake2/Makefile
+++ b/security/py-spake2/Makefile
@@ -9,7 +9,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= swills@FreeBSD.org
COMMENT= SPAKE2 password-authenticated key exchange (pure python)
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>
diff --git a/security/py-ssh-audit/Makefile b/security/py-ssh-audit/Makefile
index 4c83b312764a..2f47000abdc1 100644
--- a/security/py-ssh-audit/Makefile
+++ b/security/py-ssh-audit/Makefile
@@ -12,7 +12,7 @@ COMMENT= SSH server auditing
LICENSE= MIT
-USES= python
+USES= python:3.6+
USE_GITHUB= yes
GH_ACCOUNT= jtesta
USE_PYTHON= autoplist distutils
diff --git a/security/py-ssh/Makefile b/security/py-ssh/Makefile
index 38d6fae7f5e0..704488495aaa 100644
--- a/security/py-ssh/Makefile
+++ b/security/py-ssh/Makefile
@@ -13,7 +13,7 @@ COMMENT= Python SSH2 protocol library
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.1:security/py-pycrypto@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-sshpubkeys/Makefile b/security/py-sshpubkeys/Makefile
index 808148469350..56ca374f92d2 100644
--- a/security/py-sshpubkeys/Makefile
+++ b/security/py-sshpubkeys/Makefile
@@ -15,7 +15,7 @@ LICENSE= BSD3CLAUSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=2.1.4:security/py-cryptography@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ecdsa>=0.13:security/py-ecdsa@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/py-stem/Makefile b/security/py-stem/Makefile
index 9a7ea12a3d5c..32db8b42d916 100644
--- a/security/py-stem/Makefile
+++ b/security/py-stem/Makefile
@@ -18,7 +18,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyflakes>0:devel/py-pyflakes@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pycodestyle>0:devel/py-pycodestyle@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist concurrent
NO_ARCH= yes
diff --git a/security/py-stix/Makefile b/security/py-stix/Makefile
index ed754ca505ca..98a9721802f5 100644
--- a/security/py-stix/Makefile
+++ b/security/py-stix/Makefile
@@ -25,7 +25,7 @@ GH_ACCOUNT= STIXProject
GH_PROJECT= python-${PORTNAME}
NO_ARCH= yes
-USES= python
+USES= python:3.6+
USE_PYTHON= concurrent distutils autoplist
PORTDOCS= README.rst
diff --git a/security/py-tlslite/Makefile b/security/py-tlslite/Makefile
index ad1958e9ecdf..1c648df46a76 100644
--- a/security/py-tlslite/Makefile
+++ b/security/py-tlslite/Makefile
@@ -11,7 +11,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python module implementing SSL 3.0, TLS 1.0, and TLS 1.1
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-trustme/Makefile b/security/py-trustme/Makefile
index 154257146c83..589cde2b4e03 100644
--- a/security/py-trustme/Makefile
+++ b/security/py-trustme/Makefile
@@ -22,7 +22,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}openssl>=0:security/py-openssl@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}service_identity>=0:security/py-service_identity@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
diff --git a/security/py-tuf/Makefile b/security/py-tuf/Makefile
index 2251f0ea61c4..5489cf3e71ef 100644
--- a/security/py-tuf/Makefile
+++ b/security/py-tuf/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}iso8601>=0.1.12:devel/py-iso8601@${PY_FLAVOR
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
# Actually 2.6-3.5
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/py-txtorcon/Makefile b/security/py-txtorcon/Makefile
index 769207cc85e6..9176f068dde3 100644
--- a/security/py-txtorcon/Makefile
+++ b/security/py-txtorcon/Makefile
@@ -21,7 +21,7 @@ RUN_DEPENDS= \
${PYTHON_PKGNAMEPREFIX}twisted>=15.5.0:devel/py-twisted@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}zope.interface>=3.6.1:devel/py-zope.interface@${PY_FLAVOR}
-USES= python shebangfix
+USES= python:3.6+ shebangfix
USE_PYTHON= distutils autoplist
NO_ARCH= yes
SHEBANG_FILES= examples/*.py
diff --git a/security/py-uhashring/Makefile b/security/py-uhashring/Makefile
index 97f6589fc3fe..9116c2e1d957 100644
--- a/security/py-uhashring/Makefile
+++ b/security/py-uhashring/Makefile
@@ -13,7 +13,7 @@ COMMENT= Full featured consistent hashing python library
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/py-vici/Makefile b/security/py-vici/Makefile
index a7c5246f34e9..84f2baa40ee3 100644
--- a/security/py-vici/Makefile
+++ b/security/py-vici/Makefile
@@ -16,7 +16,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycodestyle>0:devel/py-pycodestyle@${PY_FLA
${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/py-virustotal-api/Makefile b/security/py-virustotal-api/Makefile
index 8a0846983fca..0e81ba1e2b37 100644
--- a/security/py-virustotal-api/Makefile
+++ b/security/py-virustotal-api/Makefile
@@ -12,7 +12,7 @@ COMMENT= Virus Total Public/Private/Intel API
LICENSE= MIT
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-vulndb/Makefile b/security/py-vulndb/Makefile
index c6266fcf4001..74c0efd5d37e 100644
--- a/security/py-vulndb/Makefile
+++ b/security/py-vulndb/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-git>=1.1:devel/py-setuptools-git@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
diff --git a/security/py-webauthn/Makefile b/security/py-webauthn/Makefile
index 5c4ce0bf9487..4c636e387cd6 100644
--- a/security/py-webauthn/Makefile
+++ b/security/py-webauthn/Makefile
@@ -19,7 +19,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cbor2>=4.0.1:devel/py-cbor2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}openssl>=16.0.0:security/py-openssl@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.11.0:devel/py-six@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/py-xkcdpass/Makefile b/security/py-xkcdpass/Makefile
index e91959d71ca0..88c3741a6cad 100644
--- a/security/py-xkcdpass/Makefile
+++ b/security/py-xkcdpass/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.BSD
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_GITHUB= yes
GH_ACCOUNT= jwfh
USE_PYTHON= autoplist concurrent distutils
diff --git a/security/py-xmlsec/Makefile b/security/py-xmlsec/Makefile
index fdcd37b55d7c..d6f7ac4b1666 100644
--- a/security/py-xmlsec/Makefile
+++ b/security/py-xmlsec/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= libltdl.so:devel/libltdl \
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR}
-USES= gnome pkgconfig python
+USES= gnome pkgconfig python:3.6+
USE_GNOME= libxml2 libxslt
USE_PYTHON= autoplist distutils flavors
diff --git a/security/py-yara/Makefile b/security/py-yara/Makefile
index 78f65408020a..949ec062b94a 100644
--- a/security/py-yara/Makefile
+++ b/security/py-yara/Makefile
@@ -18,7 +18,7 @@ USE_GITHUB= yes
GH_ACCOUNT= VirusTotal
GH_PROJECT= yara-python
-USES= localbase python
+USES= localbase python:3.6+
USE_PYTHON= distutils autoplist
PYDISTUTILS_BUILDARGS= --dynamic-linking
diff --git a/security/py-yubikey-manager/Makefile b/security/py-yubikey-manager/Makefile
index fa322b9098a9..87fcde208348 100644
--- a/security/py-yubikey-manager/Makefile
+++ b/security/py-yubikey-manager/Makefile
@@ -26,7 +26,7 @@ RUN_DEPENDS= ${PY_ENUM34} \
u2f-host:security/libu2f-host \
ykpersonalize:security/ykpers
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/security/py-zkg/Makefile b/security/py-zkg/Makefile
index cbf70ec73ba2..f85530673afa 100644
--- a/security/py-zkg/Makefile
+++ b/security/py-zkg/Makefile
@@ -19,7 +19,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}GitPython>=2.1.8:devel/py-gitpython@${PY_FLA
${PYTHON_PKGNAMEPREFIX}semantic-version>=0:devel/py-semantic-version@${PY_FLAVOR} \
git:devel/git
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist concurrent
USE_GITHUB= yes
diff --git a/security/py-zope.password/Makefile b/security/py-zope.password/Makefile
index e2ccfc627255..ad83e5cd9853 100644
--- a/security/py-zope.password/Makefile
+++ b/security/py-zope.password/Makefile
@@ -17,7 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zope.component>=0:devel/py-zope.component@${
${PYTHON_PKGNAMEPREFIX}zope.configuration>=0:devel/py-zope.configuration@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}zope.interface>=0:devel/py-zope.interface@${PY_FLAVOR}
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-zxcvbn/Makefile b/security/py-zxcvbn/Makefile
index 23ded51ecbc6..754af1b299d3 100644
--- a/security/py-zxcvbn/Makefile
+++ b/security/py-zxcvbn/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
NO_ARCH= yes
-USES= python
+USES= python:3.6+
USE_GITHUB= yes
USE_PYTHON= autoplist distutils
GH_ACCOUNT= dwolfhub
diff --git a/security/sqlmap/Makefile b/security/sqlmap/Makefile
index f88e7697e4a4..3ef7cb4bf182 100644
--- a/security/sqlmap/Makefile
+++ b/security/sqlmap/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/sqlmap/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
-USES= python shebangfix
+USES= python:3.6+ shebangfix
USE_PYTHON= autoplist distutils
SHEBANG_FILES= *.py sqlmap/extra/shutils/*.sh sqlmap/extra/shutils/*.py
diff --git a/security/vinetto/Makefile b/security/vinetto/Makefile
index 836e20c54a01..1e77e7dd0033 100644
--- a/security/vinetto/Makefile
+++ b/security/vinetto/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${PY_PILLOW}
-USES= python
+USES= python:3.6+
USE_PYTHON= autoplist distutils concurrent optsuffix
PYDISTUTILS_PKGVERSION= 0.06alpha
NO_ARCH= yes