From owner-svn-ports-head@freebsd.org Mon Jul 1 06:56:30 2019 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 DA50615CE45F; Mon, 1 Jul 2019 06:56:30 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A416B9644B; Mon, 1 Jul 2019 06:56:30 +0000 (UTC) (envelope-from koobs@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 6F486966E; Mon, 1 Jul 2019 06:56:30 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x616uU3e053755; Mon, 1 Jul 2019 06:56:30 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x616uUo9053754; Mon, 1 Jul 2019 06:56:30 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201907010656.x616uUo9053754@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Mon, 1 Jul 2019 06:56:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r505544 - head/print/dot2tex X-SVN-Group: ports-head X-SVN-Commit-Author: koobs X-SVN-Commit-Paths: head/print/dot2tex X-SVN-Commit-Revision: 505544 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: A416B9644B X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.83 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.84)[-0.835,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 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, 01 Jul 2019 06:56:31 -0000 Author: koobs Date: Mon Jul 1 06:56:29 2019 New Revision: 505544 URL: https://svnweb.freebsd.org/changeset/ports/505544 Log: print/dot2tex: Fix incorrect Python version spec dot2tex supports Python 2 and 3. This change removes the unecessary version spec restriction to 2.7. While I'm here: - Add PKGNAMEPREFIX (unique package names per flavor) - Enable USE_PYTHON=concurrent, each package flavor installs scripts in common locations - Add TEST_DEPENDS/test target - Add python to CATEGORIES - Pet portlint (Make file sort/group order) PR: 237984 Approved by: portmgr (maintainer timeout: 1 month) MFH: 2019Q2 (blanket(s): ports (& Python) compliance) Modified: head/print/dot2tex/Makefile Modified: head/print/dot2tex/Makefile ============================================================================== --- head/print/dot2tex/Makefile Mon Jul 1 06:40:11 2019 (r505543) +++ head/print/dot2tex/Makefile Mon Jul 1 06:56:29 2019 (r505544) @@ -3,7 +3,9 @@ PORTNAME= dot2tex PORTVERSION= 2.9.0 -CATEGORIES= print +PORTREVISION= 1 +CATEGORIES= print python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= tota@FreeBSD.org COMMENT= Graphviz to LaTeX converter @@ -13,11 +15,21 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyparsing>=1.4.8:devel/py-pyparsing@${PY_FLAVOR} \ dot:graphics/graphviz +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} -NO_ARCH= yes -USES= python:2.7 -USE_PYTHON= distutils autoplist +USES= python USE_GITHUB= yes +USE_PYTHON= distutils autoplist concurrent + +# Enable this before running test target +# bsd.tex.mk doesnt support :test (only) depends +#USE_TEX= latex + GH_ACCOUNT= kjellmf + +NO_ARCH= yes + +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} -m nose .include