freebsd-ports/Mk/Uses
Kubilay Kocak 30e7a4173b Mk/Uses/python.mk: Add support for optional 'test' argument
Some ports may need to use Python for their testing suite but otherwise
do not need it at all (ie, not for build or run). This patch adds
support for the test argument to be used in the USES clause, such as
python:3.2+,test. This enables the relevant Python environment and
modifies TEST_DEPENDS as necessary.

For non-Python ports that use Python as their testing suite, add
python:<ver>,test as required to the USES clause.

PR:			205616
Submitted by:		Brendan Molloy <brendan+freebsd bbqsrc net>
Reviewed by:		mat, miwi, koobs, antoine
Approved by:		koobs (python)
Differential Revision:	https://reviews.freebsd.org/D4711
2016-01-02 15:24:37 +00:00
..
ada.mk Mk/Uses/ada.mk: Support lang/gcc6-aux 2015-12-06 16:21:47 +00:00
alias.mk - Instead of limiting effect of alias.mk to DragonFly, extend it to everything which is not FreeBSD 2015-07-03 16:54:08 +00:00
autoreconf.mk Let USES=autoreconf define AUTORECONF and use it throughout the tree. 2015-11-15 15:34:51 +00:00
bison.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
blaslapack.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
charsetfix.mk Rewrite the target ordering code. 2015-08-17 13:31:25 +00:00
cmake.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
compiler.mk Drop 8 support. 2015-10-15 14:55:14 +00:00
cpe.mk CPE strings are all lower case. 2015-04-02 15:02:44 +00:00
cran.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
desktop-file-utils.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
desthack.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
display.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
dos2unix.mk Rewrite the target ordering code. 2015-08-17 13:31:25 +00:00
drupal.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
elixir.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
erlang.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
execinfo.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
fakeroot.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
fam.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
fmake.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
fonts.mk PLIST_SUB entries need paths relative to PREFIX. 2015-10-21 14:16:36 +00:00
fortran.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
fuse.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
gecko.mk www/firefox: update to 43.0.1 2015-12-19 10:49:09 +00:00
gettext-runtime.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
gettext-tools.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
gettext.mk Split devel/gettext in devel/gettext-runtime and devel/gettext-tools. The 2014-11-29 18:22:32 +00:00
ghostscript.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
gmake.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
gnustep.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
gperf.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
gssapi.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
horde.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
iconv.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
imake.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
jpeg.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
kmod.mk Rewrite the target ordering code. 2015-08-17 13:31:25 +00:00
lha.mk Change the meaning of NO_WRKSUBDIR to force a WRKDIR != WRKSRC. 2015-11-05 12:35:26 +00:00
libarchive.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
libedit.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
libtool.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
localbase.mk - Use -isystem instead of -I to add ${LOCALBASE}/include to the list of header search paths 2015-09-15 21:24:42 +00:00
lua.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
makeinfo.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
makeself.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
metaport.mk meta ports are always NO_ARCH 2015-04-01 17:59:57 +00:00
mono.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
motif.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
ncurses.mk Update ncurses to 6.0 2015-12-05 09:46:20 +00:00
ninja.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
objc.mk Drop 8 support. 2015-10-15 14:55:14 +00:00
openal.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
pathfix.mk Change the meaning of NO_WRKSUBDIR to force a WRKDIR != WRKSRC. 2015-11-05 12:35:26 +00:00
pear.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
perl5.mk Remove lang/perl5.16 and the support bits in perl5.mk, it is no longer 2015-12-31 21:06:14 +00:00
pgsql.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
pkgconfig.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
pure.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
pyqt.mk Uses/pyqt.mk: Move dbussupport to _USE_PYQT_ALL. 2015-12-15 21:37:12 +00:00
python.mk Mk/Uses/python.mk: Add support for optional 'test' argument 2016-01-02 15:24:37 +00:00
qmail.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
qmake.mk Make sure ${WRKSRC}/lib is passed before /usr/local/lib when linking. 2015-12-28 18:51:41 +00:00
readline.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
scons.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
shared-mime-info.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
shebangfix.mk - Add shebangfix documentation bits 2015-10-22 13:36:05 +00:00
tar.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
tcl.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
terminfo.mk Add a way to cleanly handle terminfo.db file used by devel/ncurses 2015-10-08 14:12:53 +00:00
tk.mk Use USESDIR macro 2015-10-10 17:46:45 +00:00
twisted.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
uidfix.mk Always define GID, this fixes build of uidfix when building as root 2015-06-04 11:53:06 +00:00
uniquefiles.mk Rewrite the target ordering code. 2015-08-17 13:31:25 +00:00
waf.mk Fix a typo 2015-04-08 18:32:18 +00:00
webplugin.mk Rewrite the target ordering code. 2015-08-17 13:31:25 +00:00
xfce.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00
zip.mk Change the meaning of NO_WRKSUBDIR to force a WRKDIR != WRKSRC. 2015-11-05 12:35:26 +00:00
zope.mk Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched 2015-10-15 07:36:38 +00:00