Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2013 03:21:47 +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: r334383 - head/security/py-m2crypto
Message-ID:  <201311200321.rAK3Llil005337@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Nov 20 03:21:47 2013
New Revision: 334383
URL: http://svnweb.freebsd.org/changeset/ports/334383

Log:
  - Support STAGEDIR
  - Pet portlint

Modified:
  head/security/py-m2crypto/Makefile
  head/security/py-m2crypto/distinfo   (contents, props changed)

Modified: head/security/py-m2crypto/Makefile
==============================================================================
--- head/security/py-m2crypto/Makefile	Wed Nov 20 03:21:41 2013	(r334382)
+++ head/security/py-m2crypto/Makefile	Wed Nov 20 03:21:47 2013	(r334383)
@@ -8,22 +8,22 @@ CATEGORIES=	security python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	M2Crypto-${PORTVERSION}
-DIST_SUBDIR=	python
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Crypto and SSL toolkit for Python
 
 BUILD_DEPENDS=	${LOCALBASE}/bin/swig:${PORTSDIR}/devel/swig13
 
-USE_OPENSSL=	yes
-USE_PYTHON=	-2.7
-USE_PYDISTUTILS=yes
 PYDISTUTILS_BUILDARGS=	build_ext --openssl="${OPENSSLBASE}"
 PYDISTUTILS_PKGNAME=	M2Crypto
+USE_OPENSSL=	yes
+USE_PYDISTUTILS=yes
+USE_PYTHON=	-2.7
+MAKE_ARGS=	PYTHON_VERSION=${PYTHON_VER}
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|setuptools|do_not_use_&|; /test_suite/d' ${WRKSRC}/${PYSETUP}
-	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|; s|$$(PYVER)|${PYTHON_VER}|' ${WRKSRC}/SWIG/Makefile
+#	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|; s|$$(PYVER)|${PYTHON_VER}|' ${WRKSRC}/SWIG/Makefile
+	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/SWIG/Makefile
 
 .include <bsd.port.mk>

Modified: head/security/py-m2crypto/distinfo
==============================================================================
--- head/security/py-m2crypto/distinfo	Wed Nov 20 03:21:41 2013	(r334382)
+++ head/security/py-m2crypto/distinfo	Wed Nov 20 03:21:47 2013	(r334383)
@@ -1,2 +1,2 @@
-SHA256 (python/M2Crypto-0.21.1.tar.gz) = 25b94498505c2d800ee465db0cc1aff097b1615adc3ac042a1c85ceca264fc0a
-SIZE (python/M2Crypto-0.21.1.tar.gz) = 413563
+SHA256 (M2Crypto-0.21.1.tar.gz) = 25b94498505c2d800ee465db0cc1aff097b1615adc3ac042a1c85ceca264fc0a
+SIZE (M2Crypto-0.21.1.tar.gz) = 413563



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