git: 2038c59d2f9f - main - sysutils/py-google-compute-engine: Clean up Makefile

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 19 Nov 2022 08:18:38 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2038c59d2f9f86da0766d6d0307f7c1e9022dc31

commit 2038c59d2f9f86da0766d6d0307f7c1e9022dc31
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-11-19 08:13:49 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-11-19 08:13:49 +0000

    sysutils/py-google-compute-engine: Clean up Makefile
    
    Reference:      https://github.com/GoogleCloudPlatform/compute-image-packages/blob/20190522/packages/python-google-compute-engine/setup.py#L26-L27
---
 sysutils/py-google-compute-engine/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/sysutils/py-google-compute-engine/Makefile b/sysutils/py-google-compute-engine/Makefile
index c3062706ee47..bf3b8d1692c2 100644
--- a/sysutils/py-google-compute-engine/Makefile
+++ b/sysutils/py-google-compute-engine/Makefile
@@ -11,15 +11,12 @@ LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}boto>0:devel/py-boto@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}distro>0:sysutils/py-distro@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}netaddr>0:net/py-netaddr@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}netifaces>0:net/py-netifaces@${PY_FLAVOR} \
 		google_oslogin_control:sysutils/google-compute-engine-oslogin \
 		sudo:security/sudo
 
-.if ${FLAVOR:Upy36:Mpy3*}
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}distro>0:sysutils/py-distro@${PY_FLAVOR}
-.endif
-
 USES=		python:3.6+ shebangfix
 USE_PYTHON=	autoplist concurrent distutils