From owner-svn-ports-head@freebsd.org Mon Feb 26 22:32:14 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3226EF28DF9; Mon, 26 Feb 2018 22:32:14 +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 1EDEC6F3D0; Mon, 26 Feb 2018 22:32:13 +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 17DA62199F; Mon, 26 Feb 2018 22:32:13 +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 w1QMWCMT027788; Mon, 26 Feb 2018 22:32:12 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1QMWC9T027787; Mon, 26 Feb 2018 22:32:12 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201802262232.w1QMWC9T027787@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Mon, 26 Feb 2018 22:32:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r463082 - head/security/py-python-registry X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/security/py-python-registry X-SVN-Commit-Revision: 463082 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: Mon, 26 Feb 2018 22:32:14 -0000 Author: sunpoet Date: Mon Feb 26 22:32:12 2018 New Revision: 463082 URL: https://svnweb.freebsd.org/changeset/ports/463082 Log: Simplify Makefile: use PY_ENUM34 With hat: python Modified: head/security/py-python-registry/Makefile Modified: head/security/py-python-registry/Makefile ============================================================================== --- head/security/py-python-registry/Makefile Mon Feb 26 22:32:07 2018 (r463081) +++ head/security/py-python-registry/Makefile Mon Feb 26 22:32:12 2018 (r463082) @@ -13,6 +13,8 @@ COMMENT= Read access to Windows Registry files LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.TXT +RUN_DEPENDS= ${PY_ENUM34} + USE_GITHUB= yes GH_ACCOUNT= williballenthin @@ -27,12 +29,6 @@ OPTIONS_DEFINE= DOCS EXAMPLES PORTDOCS= * PORTEXAMPLES= * -.include - -.if ${PYTHON_REL} < 3400 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>=0:devel/py-enum34@${FLAVOR} -.endif - post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/CHANGELOG.TXT ${WRKSRC}/CONTRIBUTORS.TXT ${WRKSRC}/README.MD \ @@ -42,4 +38,4 @@ post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/samples/*.py ${STAGEDIR}${EXAMPLESDIR} -.include +.include