Date: Sun, 24 Jan 2016 12:49:05 -0800 From: Maxim Sobolev <sobomax@FreeBSD.org> To: Dmitry Marakasov <amdmi3@freebsd.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn: head/math/py-cdecimal Message-ID: <CAH7qZftWmkOeDUQxYR8m0cDorTmT=5JcA93RtKLJOk%2Bry_wTCg@mail.gmail.com> In-Reply-To: <201601241356.u0ODu0oK074295@repo.freebsd.org> References: <201601241356.u0ODu0oK074295@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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> > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAH7qZftWmkOeDUQxYR8m0cDorTmT=5JcA93RtKLJOk%2Bry_wTCg>