Skip to contentSkip to conversation

generate-manifest-2.7.py: Add fractions to ${PN}-numbers

PATCH New Tim Orling 1 participant 2 messages Apr 9, 2015

lore
Share & tools
lore

Tim Orling

author
#0 lore raw

PATCH 1/2 generate-manifest-2.7.py: Add fractions to ${PN}-numbers

python-cryptography requires fractions module which is currently unpackaged.

---
 meta/recipes-devtools/python/python-2.7-manifest.inc | 2 +-
 scripts/contrib/python/generate-manifest-2.7.py      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/python/python-2.7-manifest.inc +1 -1
index 12f775e..4cd7a0c 100644
@@ -175,7 +175,7 @@ FILES_${PN}-netserver="${libdir}/python2.7/cgi.* ${libdir}/python2.7/*HTTPServer
 
 SUMMARY_${PN}-numbers="Python number APIs"
 RDEPENDS_${PN}-numbers="${PN}-core ${PN}-lang ${PN}-re"
-FILES_${PN}-numbers="${libdir}/python2.7/decimal.* ${libdir}/python2.7/numbers.* "
+FILES_${PN}-numbers="${libdir}/python2.7/decimal.* ${libdir}/python2.7/fractions.* ${libdir}/python2.7/numbers.* "
 
 SUMMARY_${PN}-pickle="Python serialisation/persistence support"
 RDEPENDS_${PN}-pickle="${PN}-core ${PN}-codecs ${PN}-io ${PN}-re"
scripts/contrib/python/generate-manifest-2.7.py +1 -1
index 99bdca8..922ebe4 100755
@@ -314,7 +314,7 @@ if __name__ == "__main__":
     "cgi.* *HTTPServer.* SocketServer.*" )
 
     m.addPackage( "${PN}-numbers", "Python number APIs", "${PN}-core ${PN}-lang ${PN}-re",
-    "decimal.* numbers.*" )
+    "decimal.* fractions.* numbers.*" )
 
     m.addPackage( "${PN}-pickle", "Python serialisation/persistence support", "${PN}-core ${PN}-codecs ${PN}-io ${PN}-re",
     "pickle.* shelve.* lib-dynload/cPickle.so pickletools.*" )
Signature · 1 line
2.1.0
author
#1 lore raw

PATCH 2/2 generate-manifest-3.3.py: Add fractions to ${PN}-numbers

python-cryptography requires fractions module which is currently unpackaged.

---
 meta/recipes-devtools/python/python-3.3-manifest.inc | 2 +-
 scripts/contrib/python/generate-manifest-3.3.py      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/python/python-3.3-manifest.inc +1 -1
index 61119c6..a200561 100644
@@ -155,7 +155,7 @@ FILES_${PN}-netserver="${libdir}/python3.3/cgi.* ${libdir}/python3.3/*HTTPServer
 
 SUMMARY_${PN}-numbers="Python number APIs"
 RDEPENDS_${PN}-numbers="${PN}-core ${PN}-lang ${PN}-re"
-FILES_${PN}-numbers="${libdir}/python3.3/decimal.* ${libdir}/python3.3/numbers.* "
+FILES_${PN}-numbers="${libdir}/python3.3/decimal.* ${libdir}/python3.3/fractions.* ${libdir}/python3.3/numbers.* "
 
 SUMMARY_${PN}-pickle="Python serialisation/persistence support"
 RDEPENDS_${PN}-pickle="${PN}-core ${PN}-codecs ${PN}-io ${PN}-re"
scripts/contrib/python/generate-manifest-3.3.py +1 -1
index 48cc84d..df5ebfa 100755
@@ -309,7 +309,7 @@ if __name__ == "__main__":
     "cgi.* *HTTPServer.* SocketServer.*" )
 
     m.addPackage( "${PN}-numbers", "Python number APIs", "${PN}-core ${PN}-lang ${PN}-re",
-    "decimal.* numbers.*" )
+    "decimal.* fractions.* numbers.*" )
 
     m.addPackage( "${PN}-pickle", "Python serialisation/persistence support", "${PN}-core ${PN}-codecs ${PN}-io ${PN}-re",
     "pickle.* shelve.* lib-dynload/cPickle.*.so pickletools.*" )
Signature · 1 line
2.1.0