From owner-svn-ports-head@freebsd.org Sat Jan 20 12:38:12 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 634C6ECF0AD; Sat, 20 Jan 2018 12:38:12 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E20F277E3F; Sat, 20 Jan 2018 12:38:11 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A85191C6E5; Sat, 20 Jan 2018 12:38:10 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0KCcAxL002291; Sat, 20 Jan 2018 12:38:10 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0KCcAOj002290; Sat, 20 Jan 2018 12:38:10 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201801201238.w0KCcAOj002290@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sat, 20 Jan 2018 12:38:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r459515 - head/devel/py-pathlib X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/devel/py-pathlib X-SVN-Commit-Revision: 459515 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jan 2018 12:38:12 -0000 Author: sunpoet Date: Sat Jan 20 12:38:10 2018 New Revision: 459515 URL: https://svnweb.freebsd.org/changeset/ports/459515 Log: Update USES=python usage - Convert to options helper With hat: python Approved by: portmgr (blanket) Modified: head/devel/py-pathlib/Makefile Modified: head/devel/py-pathlib/Makefile ============================================================================== --- head/devel/py-pathlib/Makefile Sat Jan 20 12:38:05 2018 (r459514) +++ head/devel/py-pathlib/Makefile Sat Jan 20 12:38:10 2018 (r459515) @@ -12,24 +12,19 @@ COMMENT= Python 3.4 pathlib backported to 3.3, 3.2, 3. LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt -USES= python:2.7-3.3 +USES= python:-3.3 USE_PYTHON= distutils autoplist OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${FLAVOR} - -.include - -.if ${PORT_OPTIONS:MDOCS} DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} PORTDOCS= * -PYDISTUTILS_BUILD_TARGET+= build_sphinx +DOCS_VARS= PYDISTUTILS_BUILD_TARGET+=build_sphinx -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/build/sphinx/html && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -and ! -name objects.inv") -.endif .include