Add python-git module
cover Add python-git module
This patchset adds python-git and dependencies, which has been required on the host by buildhistory-diff since it was introduced; thus we need it in the build appliance and buildtools-tarball.
The following changes since commit ff65497cd9a96d5ab49b16ba1f7e30a216ff4a42:
classes/insane: remove la2 check which no longer exists from ERROR_QA (2013-06-28 16:33:05 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib paule/python-git
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/python-git
Paul Eggleton (6):
python-async: add recipe
python-smmap: add recipe
python-gitdb: add recipe
python-git: add recipe
buildtools-tarball: add python-git
packagegroup-self-hosted: add python-git
meta/recipes-core/meta/buildtools-tarball.bb | 1 + .../packagegroups/packagegroup-self-hosted.bb | 1 + meta/recipes-devtools/python/python-async_0.6.1.bb | 17 +++++++++++++++++ .../python/python-git_0.3.2.RC1.bb | 22 ++++++++++++++++++++++ meta/recipes-devtools/python/python-gitdb_0.5.4.bb | 18 ++++++++++++++++++ meta/recipes-devtools/python/python-smmap_0.8.2.bb | 20 ++++++++++++++++++++ 6 files changed, 79 insertions(+) create mode 100644 meta/recipes-devtools/python/python-async_0.6.1.bb create mode 100644 meta/recipes-devtools/python/python-git_0.3.2.RC1.bb create mode 100644 meta/recipes-devtools/python/python-gitdb_0.5.4.bb create mode 100644 meta/recipes-devtools/python/python-smmap_0.8.2.bb
Signature · 1 line
1.8.1.2
PATCH 1/6 python-async: add recipe
This is required by python-gitdb.
--- meta/recipes-devtools/python/python-async_0.6.1.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta/recipes-devtools/python/python-async_0.6.1.bb
meta/recipes-devtools/python/python-async_0.6.1.bb new file +17 -0
@@ -0,0 +1,17 @@ +SUMMARY = "Python framework to process interdependent tasks in a pool of workers" +HOMEPAGE = "http://github.com/gitpython-developers/async" +SECTION = "devel/python" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=88df8e78b9edfd744953862179f2d14e" + +SRC_URI = "http://pypi.python.org/packages/source/a/async/async-${PV}.tar.gz" +SRC_URI[md5sum] = "6f0e2ced1fe85f8410b9bde11be08587" +SRC_URI[sha256sum] = "41d14cc0456e03f34d13af284f65821d07d05c20e621bcaebd38f9ab5095d5d1" + +S = "${WORKDIR}/async-${PV}" + +inherit distutils + +RDEPENDS_${PN} += "python-threading python-lang" + +BBCLASSEXTEND = "nativesdk"
Signature · 1 line
1.8.1.2
PATCH 2/6 python-smmap: add recipe
In reply to Paul EggletonThis is required by python-gitdb.
--- meta/recipes-devtools/python/python-smmap_0.8.2.bb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 meta/recipes-devtools/python/python-smmap_0.8.2.bb
meta/recipes-devtools/python/python-smmap_0.8.2.bb new file +20 -0
@@ -0,0 +1,20 @@ +SUMMARY = "Python implementation of a sliding window memory map manager" +DESCRIPTION = "A pure Python implementation of a sliding memory map to \ +help unifying memory mapped access on 32 and 64 bit systems and to help \ +managing resources more efficiently." +HOMEPAGE = "http://github.com/gitpython-developers/GitPython" +SECTION = "devel/python" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709" + +SRC_URI = "http://pypi.python.org/packages/source/s/smmap/smmap-${PV}.tar.gz" +SRC_URI[md5sum] = "f5426b7626ddcf5e447253fae0396b0c" +SRC_URI[sha256sum] = "dea2955cc045ec5527da6b762f7e95a5be7f645c683b54ccce52d56b4d7e2d6f" + +S = "${WORKDIR}/smmap-${PV}" + +inherit setuptools + +RDEPENDS_${PN} += "python-codecs python-mmap python-lang" + +BBCLASSEXTEND = "nativesdk"
Signature · 1 line
1.8.1.2
PATCH 3/6 python-gitdb: add recipe
In reply to Paul EggletonThis is required by python-git.
--- meta/recipes-devtools/python/python-gitdb_0.5.4.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta/recipes-devtools/python/python-gitdb_0.5.4.bb
meta/recipes-devtools/python/python-gitdb_0.5.4.bb new file +18 -0
@@ -0,0 +1,18 @@ +SUMMARY = "A pure-Python git object database" +HOMEPAGE = "http://github.com/gitpython-developers/gitdb" +SECTION = "devel/python" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=59e5ecb13339a936eedf83282eaf4528" +DEPENDS = "python-async python-smmap" + +SRC_URI = "https://pypi.python.org/packages/source/g/gitdb/gitdb-${PV}.tar.gz" +SRC_URI[md5sum] = "25353bb8d3ea527ba443dd88cd4e8a1c" +SRC_URI[sha256sum] = "de5d2dac0daec4a9cd7bb1ae1cd42d53510dcf597397c608c12a154b69ad3783" + +S = "${WORKDIR}/gitdb-${PV}" + +inherit distutils + +RDEPENDS_${PN} += "python-smmap python-async python-mmap python-lang python-zlib python-io python-shell" + +BBCLASSEXTEND = "nativesdk"
Signature · 1 line
1.8.1.2
PATCH 4/6 python-git: add recipe
In reply to Paul EggletonThis is used by buildhistory-diff and the OE layer index, and thus will be useful in the context of the build appliance and buildtools-tarball.
--- .../python/python-git_0.3.2.RC1.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta/recipes-devtools/python/python-git_0.3.2.RC1.bb
meta/recipes-devtools/python/python-git_0.3.2.RC1.bb new file +22 -0
@@ -0,0 +1,22 @@ +SUMMARY = "Python library used to interact with Git repositories" +DESCRIPTION = "GitPython provides object model read and write access to \ +a git repository. Access repository information conveniently, alter the \ +index directly, handle remotes, or go down to low-level object database \ +access with big-files support." +HOMEPAGE = "http://github.com/gitpython-developers/GitPython" +SECTION = "devel/python" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=8b8d26c37c1d5a04f9b0186edbebc183" +DEPENDS = "python-gitdb" + +SRC_URI = "http://pypi.python.org/packages/source/G/GitPython/GitPython-${PV}.tar.gz" +SRC_URI[md5sum] = "849082fe29adc653a3621465213cab96" +SRC_URI[sha256sum] = "fd6786684a0d0dd7ebb961da754e3312fafe0c8e88f55ceb09858aa0af6094e0" + +S = "${WORKDIR}/GitPython-${PV}" + +inherit setuptools + +RDEPENDS_${PN} += "python-gitdb python-lang python-io python-shell python-math python-re python-subprocess python-stringold" + +BBCLASSEXTEND = "nativesdk"
Signature · 1 line
1.8.1.2
PATCH 5/6 buildtools-tarball: add python-git
In reply to Paul Eggletonpython-git is needed by buildhistory-diff and the OE layer index update script, and on machines where buildtools-tarball is necessary given we are providing python we must provide this module as well.
Fixes [YOCTO #4747].
--- meta/recipes-core/meta/buildtools-tarball.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-core/meta/buildtools-tarball.bb +1 -0
@@ -32,6 +32,7 @@ TOOLCHAIN_HOST_TASK ?= "\ nativesdk-python-unittest \ nativesdk-python-difflib \ nativesdk-python-pprint \ + nativesdk-python-git \ nativesdk-ncurses-terminfo-base \ nativesdk-chrpath \ nativesdk-tar \
Signature · 1 line
1.8.1.2
PATCH 6/6 packagegroup-self-hosted: add python-git
In reply to Paul Eggletonpython-git is needed by buildhistory-diff, so add it to this packagegroup allowing buildhistory-diff to be used within build-appliance-image.
--- meta/recipes-core/packagegroups/packagegroup-self-hosted.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-core/packagegroups/packagegroup-self-hosted.bb +1 -0
@@ -154,6 +154,7 @@ RDEPENDS_packagegroup-self-hosted-extended = "\ python-elementtree \ python-email \ python-fcntl \ + python-git \ python-logging \ python-misc \ python-multiprocessing \
Signature · 1 line
1.8.1.2