On 3/2/18 5:51 PM, Yuri Victorovich wrote:
> Author: yuri
> Date: Fri Mar  2 06:51:55 2018
> New Revision: 463374
> URL: https://svnweb.freebsd.org/changeset/ports/463374
> 
> Log:
>   security/nyx: Add USE_PYTHON=noflavors; Add LICENSE_FILE
>   
>   nyx is an app, therefore noflavors.

This reason doesn't sound correct. Could you explain this further?

Context:

FLAVORS are for package building infrastructure to produce multiple
variations of the same underlying port, within the same repository/run,
in Pythons case, for multiple python versions (pyXY-foo).

Whether something is an 'app' or not (by some definition, though i'm
assuming it means 'end user program not library'), does not factor into
whether or not it has or needs flavors, just whether it supports
multiple versions.

Note: Whether or not a port has flavor's is orthogonal (in pythons case)
to whether or not said packages are, or desired to be by the user,
concurrently installable or not.

>   
>   Approved by:        tcberner (mentor, implicit)
>   Approved by:        portmgr (port compliance, infrastructure)
> 
> Modified:
>   head/security/nyx/Makefile
> 
> Modified: head/security/nyx/Makefile
> ==============================================================================
> --- head/security/nyx/Makefile        Fri Mar  2 06:31:47 2018        
> (r463373)
> +++ head/security/nyx/Makefile        Fri Mar  2 06:51:55 2018        
> (r463374)
> @@ -12,12 +12,13 @@ MAINTAINER=       c...@freebsd.org
>  COMMENT=     Command-line monitor for Tor
>  
>  LICENSE=     GPLv3
> +LICENSE_FILE=        ${WRKSRC}/LICENSE
>  
> -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}stem>=1.6.0:security/py-stem@${FLAVOR} \
> -             ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${FLAVOR}
> +RUN_DEPENDS= 
> ${PYTHON_PKGNAMEPREFIX}stem>=1.6.0:security/py-stem@${PY_FLAVOR} \
> +             
> ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
>  
>  USES=                python
> -USE_PYTHON=  distutils autoplist
> +USE_PYTHON=  distutils autoplist noflavors
>  NO_ARCH=     yes
>  
>  PLIST_FILES= man/man1/nyx.1.gz
> 

_______________________________________________
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"

Reply via email to