Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2018 01:21:45 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r472580 - head/security/py-pycryptodome
Message-ID:  <201806170121.w5H1LjKa030504@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Jun 17 01:21:45 2018
New Revision: 472580
URL: https://svnweb.freebsd.org/changeset/ports/472580

Log:
  security/py-pycryptodome: Make namespace changeable by slave ports
  
  Also transfer maintainership to john@saltant.com.
  
  PR:		225216
  Submitted by:	John W. O'Brien <john@saltant.com>

Modified:
  head/security/py-pycryptodome/Makefile

Modified: head/security/py-pycryptodome/Makefile
==============================================================================
--- head/security/py-pycryptodome/Makefile	Sun Jun 17 01:16:58 2018	(r472579)
+++ head/security/py-pycryptodome/Makefile	Sun Jun 17 01:21:45 2018	(r472580)
@@ -3,11 +3,12 @@
 
 PORTNAME=	pycryptodome
 DISTVERSION=	3.6.1
+PORTREVISION=	1
 CATEGORIES=	security python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	yuri@FreeBSD.org
+MAINTAINER=	john@saltant.com
 COMMENT=	Cryptographic library for Python
 
 LICENSE=	BSD2CLAUSE
@@ -18,12 +19,14 @@ CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}pycrypto
 USES=		python
 USE_PYTHON=	autoplist distutils
 
+NAMESPACE?=	Crypto
+
 post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Crypto/Cipher/*.so
-	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Crypto/Hash/*.so
-	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Crypto/Math/*.so
-	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Crypto/Protocol/*.so
-	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Crypto/Util/*.so
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${NAMESPACE}/Cipher/*.so
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${NAMESPACE}/Hash/*.so
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${NAMESPACE}/Math/*.so
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${NAMESPACE}/Protocol/*.so
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${NAMESPACE}/Util/*.so
 
 do-test:
 	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test



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