Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106223341
D11095.id30862.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D11095.id30862.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D11095: add shared py-backports namespace file for backports.* modules
Attached
Detach File
Event Timeline
Log In to Comment