svn commit: r482352 - head/devel/py-pyral

Tobias Kortkamp t at tobik.me
Thu Oct 18 19:10:10 UTC 2018


On Thu, Oct 18, 2018, at 20:52, Steve Wills wrote:
> Author: swills
> Date: Thu Oct 18 18:52:58 2018
> New Revision: 482352
> URL: https://svnweb.freebsd.org/changeset/ports/482352
> 
> Log:
>   devel/py-pyral: update to 1.4.1
>   
>   PR:		232369
>   Submitted by:	Nathan <ndowens at yahoo.com>
> 
> Modified:
>   head/devel/py-pyral/Makefile   (contents, props changed)
>   head/devel/py-pyral/distinfo   (contents, props changed)
> 
> Modified: head/devel/py-pyral/Makefile
> ==============================================================================
> --- head/devel/py-pyral/Makefile	Thu Oct 18 18:52:17 2018	(r482351)
> +++ head/devel/py-pyral/Makefile	Thu Oct 18 18:52:58 2018	(r482352)
> @@ -2,7 +2,7 @@
>  # $FreeBSD$
>  
>  PORTNAME=	pyral
> -PORTVERSION=	1.3.2
> +PORTVERSION=	1.4.1
>  CATEGORIES=	devel python
>  MASTER_SITES=	CHEESESHOP
>  PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
> @@ -11,12 +11,24 @@ MAINTAINER=	ports at FreeBSD.org
>  COMMENT=	Rally REST Tookit for Python
>  
>  LICENSE=	BSD3CLAUSE
> +LICENSE_FILE=	${WRKSRC}/LICENSE
>  
>  RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
>  		${PYTHON_PKGNAMEPREFIX}requests>=2.12.5:www/py-requests@${PY_FLAVOR}
>  
> -USES=		python
> +USES=		python shebangfix
>  USE_PYTHON=	autoplist concurrent distutils
> +
> +SHEBANG_GLOB=	*.py
>  NO_ARCH=	yes
> +EXAMPLE_FILES=	*.py
> +
> +OPTIONS_DEFINE=	EXAMPLES
> +
> +do-install-EXAMPLES-on:
> +	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
> +	${INSTALL_DATA} ${EXAMPLE_FILES:S|^|${WRKSRC}/examples/|} ${STAGEDIR}$
> {EXAMPLESDIR}
> +	${FIND} -s ${STAGEDIR}${EXAMPLESDIR} -not -type d | ${SORT} | \
> +		${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST}

Why not use PORTEXAMPLES instead of the custom EXAMPLE_FILES and
TMPPLIST thingamabob?


More information about the svn-ports-all mailing list