Date: Thu, 31 Jan 2019 05:00:05 +0000 (UTC) From: John Hixson <jhixson@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r491684 - head/net/py-ifaddr Message-ID: <201901310500.x0V505RR022922@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhixson Date: Thu Jan 31 05:00:05 2019 New Revision: 491684 URL: https://svnweb.freebsd.org/changeset/ports/491684 Log: net/py-ifaddr: port fixes - Use conditional ${PY_IPADDRESS} - Add LICENSE_FILE Approved by: araujo (mentor) Differential Revision: https://reviews.freebsd.org/D19018 Modified: head/net/py-ifaddr/Makefile Modified: head/net/py-ifaddr/Makefile ============================================================================== --- head/net/py-ifaddr/Makefile Thu Jan 31 05:00:03 2019 (r491683) +++ head/net/py-ifaddr/Makefile Thu Jan 31 05:00:05 2019 (r491684) @@ -10,18 +10,15 @@ MAINTAINER= jhixson@FreeBSD.org COMMENT= Python Library to enumerate all network interfaces LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt -USES= python:2.7+ +RUN_DEPENDS= ${PY_IPADDRESS} +USES= python + USE_PYTHON= autoplist distutils USE_GITHUB= yes GH_ACCOUNT= pydron -.include <bsd.port.pre.mk> - -.if ${PYTHON_MAJOR_VER} < 3 -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipaddress>0:net/py-ipaddress -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901310500.x0V505RR022922>