Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Oct 2018 21:10:02 +0200
From:      Tobias Kortkamp <t@tobik.me>
To:        Steve Wills <swills@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r482352 - head/devel/py-pyral
Message-ID:  <1539889802.3405062.1546876056.59A0DC23@webmail.messagingengine.com>
In-Reply-To: <201810181852.w9IIqw98052606@repo.freebsd.org>
References:  <201810181852.w9IIqw98052606@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1539889802.3405062.1546876056.59A0DC23>