From owner-svn-ports-head@FreeBSD.ORG Mon Oct 6 15:02:41 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 21401463; Mon, 6 Oct 2014 15:02:41 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0D6FB95C; Mon, 6 Oct 2014 15:02:41 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s96F2elE032671; Mon, 6 Oct 2014 15:02:40 GMT (envelope-from jhale@FreeBSD.org) Received: (from jhale@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s96F2e24032670; Mon, 6 Oct 2014 15:02:40 GMT (envelope-from jhale@FreeBSD.org) Message-Id: <201410061502.s96F2e24032670@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: jhale set sender to jhale@FreeBSD.org using -f From: "Jason E. Hale" Date: Mon, 6 Oct 2014 15:02:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r370185 - head/converters/py-iconv X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 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: Mon, 06 Oct 2014 15:02:41 -0000 Author: jhale Date: Mon Oct 6 15:02:40 2014 New Revision: 370185 URL: https://svnweb.freebsd.org/changeset/ports/370185 QAT: https://qat.redports.org/buildarchive/r370185/ Log: - Convert to USES=python, limit to 2.x - Simplify MASTER_SITES - Strip binaries Modified: head/converters/py-iconv/Makefile Modified: head/converters/py-iconv/Makefile ============================================================================== --- head/converters/py-iconv/Makefile Mon Oct 6 14:58:49 2014 (r370184) +++ head/converters/py-iconv/Makefile Mon Oct 6 15:02:40 2014 (r370185) @@ -5,18 +5,15 @@ PORTNAME= iconv PORTVERSION= 1.0 PORTREVISION= 1 CATEGORIES= converters python -MASTER_SITES= ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= perky +MASTER_SITES= LOCAL/perky PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= python MAINTAINER= ports@FreeBSD.org COMMENT= Iconv wrapper with Unicode codec for Python -USES= iconv -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= iconv python:2 +USE_PYTHON= autoplist distutils .if empty(ICONV_LIB) SETUPINFO= ,library_dirs=["${LOCALBASE}/lib"],\ @@ -30,4 +27,7 @@ post-patch: ${REINPLACE_CMD} 's!^\(.*ext_mod.*\)\()]\)$$!\1${SETUPINFO}\2!g'\ ${WRKSRC}/setup.py +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/iconv.so + .include