freebsd-ports/sysutils/py-azure-cli-base/Makefile
Antoine Brodin aa7a6c429e Drop python 2.7 support from a few ports
With hat:	portmgr
2020-12-28 23:02:12 +00:00

31 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= azure-cli-base
PORTVERSION= 1.0.0
CATEGORIES= sysutils python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTFILES=
MAINTAINER= dbaio@FreeBSD.org
COMMENT= Shared namespace for py-azure-* ports
LICENSE= MIT
NO_BUILD= yes
NO_ARCH= yes
USES= python:3.6+
USE_PYTHON= flavors py3kplist
do-install:
${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/azure/cli/command_modules
${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/azure/mgmt/datalake
${INSTALL_DATA} ${FILESDIR}/__init__.py ${STAGEDIR}${PYTHON_SITELIBDIR}/azure
${INSTALL_DATA} ${FILESDIR}/__init__.py ${STAGEDIR}${PYTHON_SITELIBDIR}/azure/cli
${INSTALL_DATA} ${FILESDIR}/__init__.py ${STAGEDIR}${PYTHON_SITELIBDIR}/azure/cli/command_modules
${INSTALL_DATA} ${FILESDIR}/__init__.py ${STAGEDIR}${PYTHON_SITELIBDIR}/azure/mgmt
${INSTALL_DATA} ${FILESDIR}/__init__.py ${STAGEDIR}${PYTHON_SITELIBDIR}/azure/mgmt/datalake
${PYTHON_CMD} -m compileall -d ${PYTHON_SITELIBDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
${PYTHON_CMD} -O -m compileall -d ${PYTHON_SITELIBDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
.include <bsd.port.mk>