7098256 libxml2-26 doesn't deliver .pyc files
authorRich Burridge <rich.burridge@oracle.com>
Tue, 01 Nov 2011 12:44:05 -0700
changeset 558 f30a27eeab26
parent 557 12ef4b51f26c
child 559 5ec27e888a6e
7098256 libxml2-26 doesn't deliver .pyc files
components/libxml2/Makefile
components/libxml2/libxml2-26.p5m
components/libxslt/Makefile
components/libxslt/libxsl-26.p5m
--- a/components/libxml2/Makefile	Tue Nov 01 12:38:51 2011 -0700
+++ b/components/libxml2/Makefile	Tue Nov 01 12:44:05 2011 -0700
@@ -56,6 +56,7 @@
 build:		$(BUILD_32_and_64)
 
 install:	$(INSTALL_32_and_64)
+	$(PYTHON.2.6.32) -m compileall $(PROTO_DIR)/usr/lib/python2.6/vendor-packages
 
 test:		$(TEST_32_and_64)
 
--- a/components/libxml2/libxml2-26.p5m	Tue Nov 01 12:38:51 2011 -0700
+++ b/components/libxml2/libxml2-26.p5m	Tue Nov 01 12:44:05 2011 -0700
@@ -37,8 +37,8 @@
 dir path=usr/lib/python2.6/vendor-packages
 dir path=usr/lib/python2.6/vendor-packages/64
 file path=usr/lib/python2.6/vendor-packages/64/libxml2mod.so
-file path=usr/lib/python2.6/vendor-packages/drv_libxml2.py pkg.tmp.autopyc=false
-file path=usr/lib/python2.6/vendor-packages/libxml2.py pkg.tmp.autopyc=false
+file path=usr/lib/python2.6/vendor-packages/drv_libxml2.py
+file path=usr/lib/python2.6/vendor-packages/libxml2.py
 file path=usr/lib/python2.6/vendor-packages/libxml2mod.so
 legacy pkg=SUNWlxml-python26 desc="The XML library - Python 2.6 bindings" \
     name="The XML library - Python 2.6 bindings"
--- a/components/libxslt/Makefile	Tue Nov 01 12:38:51 2011 -0700
+++ b/components/libxslt/Makefile	Tue Nov 01 12:44:05 2011 -0700
@@ -64,6 +64,7 @@
 build:		$(BUILD_32_and_64)
 
 install:	$(INSTALL_32_and_64)
+	$(PYTHON.2.6.32) -m compileall $(PROTO_DIR)/usr/lib/python2.6/vendor-packages
 
 test:		$(TEST_32_and_64)
 
--- a/components/libxslt/libxsl-26.p5m	Tue Nov 01 12:38:51 2011 -0700
+++ b/components/libxslt/libxsl-26.p5m	Tue Nov 01 12:44:05 2011 -0700
@@ -37,7 +37,7 @@
 dir path=usr/lib/python2.6/vendor-packages
 dir path=usr/lib/python2.6/vendor-packages/64
 file path=usr/lib/python2.6/vendor-packages/64/libxsltmod.so
-file path=usr/lib/python2.6/vendor-packages/libxslt.py pkg.tmp.autopyc=false
+file path=usr/lib/python2.6/vendor-packages/libxslt.py
 file path=usr/lib/python2.6/vendor-packages/libxsltmod.so
 legacy pkg=SUNWlxsl-python26 desc="The XSLT library - Python 2.6 bindings" \
     name="The XSLT library - Python 2.6 bindings"