Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Sep 2015 17:03:24 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r395874 - head/databases/py-psycopg2
Message-ID:  <201509021703.t82H3OaV024945@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Sep  2 17:03:23 2015
New Revision: 395874
URL: https://svnweb.freebsd.org/changeset/ports/395874

Log:
  - Strip shared library
  - Bump PORTREVISION for package change

Modified:
  head/databases/py-psycopg2/Makefile

Modified: head/databases/py-psycopg2/Makefile
==============================================================================
--- head/databases/py-psycopg2/Makefile	Wed Sep  2 17:03:19 2015	(r395873)
+++ head/databases/py-psycopg2/Makefile	Wed Sep  2 17:03:23 2015	(r395874)
@@ -3,6 +3,7 @@
 
 PORTNAME=	psycopg2
 PORTVERSION=	2.6.1
+PORTREVISION=	1
 CATEGORIES=	databases python
 MASTER_SITES=	http://initd.org/psycopg/tarballs/PSYCOPG-${PORTVERSION:R:S|.|-|}/ \
 		CHEESESHOP
@@ -21,6 +22,9 @@ USES=		pgsql python
 PORTDOCS=	AUTHORS INSTALL NEWS PKG-INFO README.rst
 PORTEXAMPLES=	*
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/psycopg2/_psycopg.so
+
 post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}/
 	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/



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