aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2014-01-28 11:07:11 +0800
committerlwhsu <lwhsu@FreeBSD.org>2014-01-28 11:07:11 +0800
commit3e57303b477e4933bbbcba9a462ada4356e6f9f9 (patch)
treeac24acbc4aaa1e8803405583777223033402475f
parent71e24ffbf4261c25a030491ca4279a764b004c31 (diff)
downloadfreebsd-ports-gnome-3e57303b477e4933bbbcba9a462ada4356e6f9f9.tar.gz
freebsd-ports-gnome-3e57303b477e4933bbbcba9a462ada4356e6f9f9.tar.zst
freebsd-ports-gnome-3e57303b477e4933bbbcba9a462ada4356e6f9f9.zip
- Update to 1.2.1
- Fix Python 3 support
-rw-r--r--textproc/py-sphinx/Makefile10
-rw-r--r--textproc/py-sphinx/distinfo4
2 files changed, 7 insertions, 7 deletions
diff --git a/textproc/py-sphinx/Makefile b/textproc/py-sphinx/Makefile
index 52825198d9a2..010875f5b9bf 100644
--- a/textproc/py-sphinx/Makefile
+++ b/textproc/py-sphinx/Makefile
@@ -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>
diff --git a/textproc/py-sphinx/distinfo b/textproc/py-sphinx/distinfo
index fead1470aa19..b698be807f04 100644
--- a/textproc/py-sphinx/distinfo
+++ b/textproc/py-sphinx/distinfo
@@ -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