From owner-svn-ports-head@freebsd.org Sun Jan 24 20:49:08 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 44189738F for ; Sun, 24 Jan 2016 20:49:08 +0000 (UTC) (envelope-from sobomax@sippysoft.com) Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D24E2135E for ; Sun, 24 Jan 2016 20:49:07 +0000 (UTC) (envelope-from sobomax@sippysoft.com) Received: by mail-wm0-x22d.google.com with SMTP id b14so52389243wmb.1 for ; Sun, 24 Jan 2016 12:49:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sippysoft-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=09PnGcn5/IGnK+QVDhvixuLE1BHPCnahvyFnROV4lGg=; b=SScChJeE7O+Q0rBJ2azeotK7k7mzurA9JJwKA878Kg5sJWgl86FghatuMPnqORUaYk Kr9W89Qe3Cc7qyz+aKp6GmsiEka3A1JN4uhNrmOHZs1BGxFHFfDehN/M0yKGVAjAvIUP lIFZ1i4kb+gf2Sed5OJwhU8itjJ1XiRE1aOMH/pG6K1pE/mTyjIp2lQUbErx/CstSxF6 xXWRtY8tDdliDaeu0r0eTuZZ6TcTYqMpx2CRBYPRApfoW4x04vCc9kjZv9QqrYBUraSn AzUCQnaTLpEaZZnB8xF+iOkZdZJXqwbxeYVnpneKpZ23yKsejtT+B2MP1N4mPQghqmvF SD1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=09PnGcn5/IGnK+QVDhvixuLE1BHPCnahvyFnROV4lGg=; b=GhW6/lsk+KF5bjV1eoBVtnCTsN/d22g10KyT1Uof19CH8FamXUoCUQecPrUCk4qJXQ zjbbdUvLrtwJ+Sj7tdVV/YG6NAx3KFxW6yPWZ8x3EM0LnIM8S7xgwNITUZ0bzTzlsbz8 UEY/+l1ZU55LNMSDQYZTXc2TBCCxRdzjoZPb4N+2cFDXC2nEWrTZ92qrr5nR+alYkE0Y hWU55yb5r+Sh9QhYPf/gF2v2g/gfPENjAkSi7nVAS8xin3ZbS9Te43I6HswNVsRO+Fsa yhqKwiEJ5u/NXULmCOctlnroqKwg+Swhc37wGdn1Kp0kOvGiPnPpS5SFrkvSwLa8lwit Dqvg== X-Gm-Message-State: AG10YOQadufylYHHVX/W/hVuX5fRbBDBNMKt0AnYR5GM6E5bEntgrmoJSfvjeeCji/4QCdsivuP9aS743nwA9Ch5 MIME-Version: 1.0 X-Received: by 10.28.23.73 with SMTP id 70mr13840190wmx.37.1453668545134; Sun, 24 Jan 2016 12:49:05 -0800 (PST) Sender: sobomax@sippysoft.com Received: by 10.27.39.195 with HTTP; Sun, 24 Jan 2016 12:49:05 -0800 (PST) In-Reply-To: <201601241356.u0ODu0oK074295@repo.freebsd.org> References: <201601241356.u0ODu0oK074295@repo.freebsd.org> Date: Sun, 24 Jan 2016 12:49:05 -0800 X-Google-Sender-Auth: fZ_Dws65vUDGx33_7xWXByOZQjc Message-ID: Subject: Re: svn: head/math/py-cdecimal From: Maxim Sobolev To: Dmitry Marakasov Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jan 2016 20:49:08 -0000 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 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 > >