Index: devel/py-backports/Makefile =================================================================== --- /dev/null +++ devel/py-backports/Makefile @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= backports +PORTVERSION= 1 +CATEGORIES= devel python +DISTFILES= + +MAINTAINER= lifanov@FreeBSD.org +COMMENT= Shared namespace shim for py-backports.* ports + +LICENSE= MIT + +NO_FETCH= yes +NO_BUILD= yes +NO_ARCH= yes +USES= python:2.7 + +PLIST_FILES= ${PYTHON_SITELIBDIR}/backports/__init__.py \ + ${PYTHON_SITELIBDIR}/backports/__init__.pyc \ + ${PYTHON_SITELIBDIR}/backports/__init__.${PYTHON_PYOEXTENSION} + +do-install: + ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/backports + ${ECHO} '__path__ = __import__('pkgutil').extend_path(__path__, __name__)' > ${STAGEDIR}${PYTHON_SITELIBDIR}/backports/__init__.py + (cd ${STAGEDIR}${PYTHON_SITELIBDIR} && ${PYTHON_CMD} -O -m compileall .) + (cd ${STAGEDIR}${PYTHON_SITELIBDIR} && ${PYTHON_CMD} -m compileall .) + +.include Index: devel/py-backports/pkg-descr =================================================================== --- /dev/null +++ devel/py-backports/pkg-descr @@ -0,0 +1,4 @@ +shared namespace shim for py-backports.* ports + +py-backports provides a common backports/__init__.py, +which is shared among all py-backports.* ports.