svn: head/math/py-cdecimal
Maxim Sobolev
sobomax at FreeBSD.org
Sun Jan 24 20:49:08 UTC 2016
Dmitry, thanks for cleaning this up. I am wondering why the strip
functionality has not been added into distutils directly? That would have
saved lot of duplicate post-install glue in all those python ports.
-Max
On Sun, Jan 24, 2016 at 5:56 AM, Dmitry Marakasov <amdmi3 at freebsd.org>
wrote:
> Author: amdmi3
> Date: Sun Jan 24 13:56:00 2016
> New Revision: 407123
> URL: https://svnweb.freebsd.org/changeset/ports/407123
>
> Log:
> - Add LICENSE_FILE
> - Strip library
>
> Modified:
> head/math/py-cdecimal/Makefile
>
> Modified: head/math/py-cdecimal/Makefile
>
> ==============================================================================
> --- head/math/py-cdecimal/Makefile Sun Jan 24 13:54:10 2016
> (r407122)
> +++ head/math/py-cdecimal/Makefile Sun Jan 24 13:56:00 2016
> (r407123)
> @@ -3,6 +3,7 @@
>
> PORTNAME= cdecimal
> PORTVERSION= 2.3
> +PORTREVISION= 1
> CATEGORIES= math
> MASTER_SITES= http://www.bytereef.org/software/mpdecimal/releases/
> PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
> @@ -11,8 +12,12 @@ MAINTAINER= ports at FreeBSD.org
> COMMENT= Fast drop-in replacement for the Decimal module
>
> LICENSE= BSD2CLAUSE
> +LICENSE_FILE= ${WRKSRC}/LICENSE.txt
>
> USES= python
> USE_PYTHON= distutils autoplist
>
> +post-install:
> + @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/cdecimal.so
> +
> .include <bsd.port.mk>
>
>
More information about the svn-ports-head
mailing list