Page MenuHomeFreeBSD

D11095.id30862.diff
No OneTemporary

D11095.id30862.diff

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_CMD} "__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 <bsd.port.mk>
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.

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 28, 11:18 AM (6 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15622484
Default Alt Text
D11095.id30862.diff (1 KB)

Event Timeline