summaryrefslogtreecommitdiffstats
path: root/scripts/contrib/python
diff options
context:
space:
mode:
authorLi Zhou <li.zhou@windriver.com>2017-04-10 02:08:19 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-11 18:10:18 +0100
commita2d5c0b60280b6fb107936162367a24373763d97 (patch)
treec64a5fba9f0304ac21371f1b72fe434f74a8d68f /scripts/contrib/python
parent124b3ea99b0c45e891dc2f01235e315871756b49 (diff)
downloadpoky-a2d5c0b60280b6fb107936162367a24373763d97.tar.gz
python2/3: Move config/Makefile from core package to dev package
Move config/Makefile in libdir from core package to dev package for python, because it is only needed in development process. (From OE-Core rev: 8b55d055f046677c18eeaefe3ca18869eedeb14d) Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib/python')
-rwxr-xr-xscripts/contrib/python/generate-manifest-2.7.py5
-rwxr-xr-xscripts/contrib/python/generate-manifest-3.5.py5
2 files changed, 6 insertions, 4 deletions
diff --git a/scripts/contrib/python/generate-manifest-2.7.py b/scripts/contrib/python/generate-manifest-2.7.py
index 5504b62271..8c3655d395 100755
--- a/scripts/contrib/python/generate-manifest-2.7.py
+++ b/scripts/contrib/python/generate-manifest-2.7.py
@@ -193,7 +193,7 @@ if __name__ == "__main__":
193 "UserDict.* UserList.* UserString.* " + 193 "UserDict.* UserList.* UserString.* " +
194 "lib-dynload/binascii.so lib-dynload/_struct.so lib-dynload/time.so " + 194 "lib-dynload/binascii.so lib-dynload/_struct.so lib-dynload/time.so " +
195 "lib-dynload/xreadlines.so types.* platform.* ${bindir}/python* " + 195 "lib-dynload/xreadlines.so types.* platform.* ${bindir}/python* " +
196 "_weakrefset.* sysconfig.* _sysconfigdata.* config/Makefile " + 196 "_weakrefset.* sysconfig.* _sysconfigdata.* " +
197 "${includedir}/python${PYTHON_MAJMIN}/pyconfig*.h " + 197 "${includedir}/python${PYTHON_MAJMIN}/pyconfig*.h " +
198 "${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py ") 198 "${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py ")
199 199
@@ -207,7 +207,8 @@ if __name__ == "__main__":
207 "${base_libdir}/*.a " + 207 "${base_libdir}/*.a " +
208 "${base_libdir}/*.o " + 208 "${base_libdir}/*.o " +
209 "${datadir}/aclocal " + 209 "${datadir}/aclocal " +
210 "${datadir}/pkgconfig " ) 210 "${datadir}/pkgconfig " +
211 "config/Makefile ")
211 212
212 m.addPackage( "${PN}-2to3", "Python automated Python 2 to 3 code translator", "${PN}-core", 213 m.addPackage( "${PN}-2to3", "Python automated Python 2 to 3 code translator", "${PN}-core",
213 "${bindir}/2to3 lib2to3" ) # package 214 "${bindir}/2to3 lib2to3" ) # package
diff --git a/scripts/contrib/python/generate-manifest-3.5.py b/scripts/contrib/python/generate-manifest-3.5.py
index 5835de8689..075860c418 100755
--- a/scripts/contrib/python/generate-manifest-3.5.py
+++ b/scripts/contrib/python/generate-manifest-3.5.py
@@ -206,7 +206,7 @@ if __name__ == "__main__":
206 "UserDict.* UserList.* UserString.* " + 206 "UserDict.* UserList.* UserString.* " +
207 "lib-dynload/binascii.*.so lib-dynload/_struct.*.so lib-dynload/time.*.so " + 207 "lib-dynload/binascii.*.so lib-dynload/_struct.*.so lib-dynload/time.*.so " +
208 "lib-dynload/xreadlines.*.so types.* platform.* ${bindir}/python* " + 208 "lib-dynload/xreadlines.*.so types.* platform.* ${bindir}/python* " +
209 "_weakrefset.* sysconfig.* _sysconfigdata.* config/Makefile " + 209 "_weakrefset.* sysconfig.* _sysconfigdata.* " +
210 "${includedir}/python${PYTHON_BINABI}/pyconfig*.h " + 210 "${includedir}/python${PYTHON_BINABI}/pyconfig*.h " +
211 "${libdir}/python${PYTHON_MAJMIN}/collections " + 211 "${libdir}/python${PYTHON_MAJMIN}/collections " +
212 "${libdir}/python${PYTHON_MAJMIN}/_collections_abc.* " + 212 "${libdir}/python${PYTHON_MAJMIN}/_collections_abc.* " +
@@ -223,7 +223,8 @@ if __name__ == "__main__":
223 "${base_libdir}/*.a " + 223 "${base_libdir}/*.a " +
224 "${base_libdir}/*.o " + 224 "${base_libdir}/*.o " +
225 "${datadir}/aclocal " + 225 "${datadir}/aclocal " +
226 "${datadir}/pkgconfig " ) 226 "${datadir}/pkgconfig " +
227 "config/Makefile ")
227 228
228 m.addPackage( "${PN}-2to3", "Python automated Python 2 to 3 code translator", "${PN}-core", 229 m.addPackage( "${PN}-2to3", "Python automated Python 2 to 3 code translator", "${PN}-core",
229 "lib2to3" ) # package 230 "lib2to3" ) # package