Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2014 03:07:11 +0000 (UTC)
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341497 - head/textproc/py-sphinx
Message-ID:  <201401280307.s0S37BUL048647@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lwhsu
Date: Tue Jan 28 03:07:11 2014
New Revision: 341497
URL: http://svnweb.freebsd.org/changeset/ports/341497
QAT: https://qat.redports.org/buildarchive/r341497/

Log:
  - Update to 1.2.1
  - Fix Python 3 support

Modified:
  head/textproc/py-sphinx/Makefile
  head/textproc/py-sphinx/distinfo

Modified: head/textproc/py-sphinx/Makefile
==============================================================================
--- head/textproc/py-sphinx/Makefile	Tue Jan 28 02:58:32 2014	(r341496)
+++ head/textproc/py-sphinx/Makefile	Tue Jan 28 03:07:11 2014	(r341497)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	sphinx
-PORTVERSION=	1.2
+PORTVERSION=	1.2.1
 CATEGORIES=	textproc python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -26,14 +26,14 @@ PYDISTUTILS_AUTOPLIST=	yes
 PYDISTUTILS_PKGNAME=	Sphinx
 
 post-build:
-	cd ${WRKSRC} && \
-	${SETENV} PYTHONPATH=${STAGEDIR}/${PYTHONPREFIX_SITELIBDIR}:${PYTHONPREFIX_SITELIBDIR} \
+	cd ${WRKSRC}/build/lib && \
+	${SETENV} PYTHONPATH=${WRKSRC}/build/lib:${PYTHONPREFIX_SITELIBDIR} \
 	${PYTHON_CMD} -m sphinx.pycode.pgen2.driver -c 'import load_grammar'
 
 post-install:
-	${INSTALL_DATA} ${WRKSRC}/sphinx/pycode/Grammar${PYTHON_VER}.pickle \
+	${INSTALL_DATA} ${WRKSRC}/build/lib/sphinx/pycode/Grammar-py${PYTHON_VER:R}-${PORTNAME}${PORTVERSION:R}.pickle \
 	${STAGEDIR}/${PYTHONPREFIX_SITELIBDIR}/${PYEASYINSTALL_EGG}/sphinx/pycode/
 
-	${ECHO_CMD} ${PYTHON_SITELIBDIR:S;${PYTHONBASE}/;;}/${PYEASYINSTALL_EGG}/sphinx/pycode/Grammar${PYTHON_VER}.pickle >> ${TMPPLIST}
+	@${ECHO_CMD} ${PYTHON_SITELIBDIR:S;${PYTHONBASE}/;;}/${PYEASYINSTALL_EGG}/sphinx/pycode/Grammar-py${PYTHON_VER:R}-${PORTNAME}${PORTVERSION:R}.pickle >> ${TMPPLIST}
 
 .include <bsd.port.mk>

Modified: head/textproc/py-sphinx/distinfo
==============================================================================
--- head/textproc/py-sphinx/distinfo	Tue Jan 28 02:58:32 2014	(r341496)
+++ head/textproc/py-sphinx/distinfo	Tue Jan 28 03:07:11 2014	(r341497)
@@ -1,2 +1,2 @@
-SHA256 (python/Sphinx-1.2.tar.gz) = bc3c424a0114ff4711f64353cc3eaca30682a5bbfabf3a7f338cd5ea70af79da
-SIZE (python/Sphinx-1.2.tar.gz) = 3123291
+SHA256 (python/Sphinx-1.2.1.tar.gz) = 182e5c81c3250e1752e744b6a35af4ef680bb6251276b49ef7d17f1d25e9ce70
+SIZE (python/Sphinx-1.2.1.tar.gz) = 3135360



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