Add Python flavors.

Even if those ports do not support more than one Python version, it
makes it easier to depend on them.

Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2018-05-22 13:14:43 +00:00
parent f29f7241e1
commit 28466ca689
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=470609
3 changed files with 3 additions and 0 deletions

View file

@ -12,6 +12,7 @@ MAINTAINER= olgeni@FreeBSD.org
COMMENT= Python libraries for ROX
USES= python:2.7 shebangfix tar:bzip2
USE_PYTHON= flavors
USE_GNOME= pygtk2:run
SHEBANG_FILES= ROX-Lib2/AppRun ROX-Lib2/python/make_docs.py

View file

@ -14,6 +14,7 @@ COMMENT= PagerDuty Agent software
LICENSE= BSD3CLAUSE
USES= python:2.7 shebangfix
USE_PYTHON= flavors
SHEBANG_FILES= bin/*
NO_ARCH= yes
NO_BUILD= yes

View file

@ -29,6 +29,7 @@ USE_LDCONFIG= yes
.if defined(PYTHON_SLAVEPORT)
USES+= python:2.7
USE_PYTHON= flavors
CONFIGURE_ARGS+=--with-python
PLIST_FILES= %%PYTHON_SITELIBDIR%%/_cracklib.a \
%%PYTHON_SITELIBDIR%%/_cracklib.so \