[oe-commits] [openembedded-core] 25/36: python3-gitdb: add it for python3-git

git at git.openembedded.org git at git.openembedded.org
Wed May 18 22:25:21 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit afe4800e2406aab2929c350b3ca5f74df5edf553
Author: Robert Yang <liezhi.yang at windriver.com>
AuthorDate: Wed May 18 00:43:41 2016 -0700

    python3-gitdb: add it for python3-git
    
    Need add python3-git to buildtools-tarball for the py3 build, and the
    dependencies chain is:
    
    python3-git -> python3-gitdb
    
    Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 .../python/{python-gitdb_0.6.4.bb => python-gitdb.inc} |  5 -----
 meta/recipes-devtools/python/python-gitdb_0.6.4.bb     | 18 ++----------------
 meta/recipes-devtools/python/python3-gitdb_0.6.4.bb    |  7 +++++++
 3 files changed, 9 insertions(+), 21 deletions(-)

diff --git a/meta/recipes-devtools/python/python-gitdb_0.6.4.bb b/meta/recipes-devtools/python/python-gitdb.inc
similarity index 77%
copy from meta/recipes-devtools/python/python-gitdb_0.6.4.bb
copy to meta/recipes-devtools/python/python-gitdb.inc
index c82df1e..6467bd2 100644
--- a/meta/recipes-devtools/python/python-gitdb_0.6.4.bb
+++ b/meta/recipes-devtools/python/python-gitdb.inc
@@ -3,7 +3,6 @@ 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"
 
@@ -14,8 +13,4 @@ UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/gitdb/"
 
 S = "${WORKDIR}/gitdb-${PV}"
 
-inherit distutils
-
-RDEPENDS_${PN} += "python-smmap python-async python-mmap python-lang python-zlib python-io python-shell"
-
 BBCLASSEXTEND = "nativesdk"
diff --git a/meta/recipes-devtools/python/python-gitdb_0.6.4.bb b/meta/recipes-devtools/python/python-gitdb_0.6.4.bb
index c82df1e..1777395 100644
--- a/meta/recipes-devtools/python/python-gitdb_0.6.4.bb
+++ b/meta/recipes-devtools/python/python-gitdb_0.6.4.bb
@@ -1,21 +1,7 @@
-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] = "44e4366b8bdfd306b075c3a52c96ae1a"
-SRC_URI[sha256sum] = "a3ebbc27be035a2e874ed904df516e35f4a29a778a764385de09de9e0f139658"
+require python-gitdb.inc
 
-UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/gitdb/"
-
-S = "${WORKDIR}/gitdb-${PV}"
+DEPENDS = "python-async python-smmap"
 
 inherit distutils
 
 RDEPENDS_${PN} += "python-smmap python-async python-mmap python-lang python-zlib python-io python-shell"
-
-BBCLASSEXTEND = "nativesdk"
diff --git a/meta/recipes-devtools/python/python3-gitdb_0.6.4.bb b/meta/recipes-devtools/python/python3-gitdb_0.6.4.bb
new file mode 100644
index 0000000..9927658
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-gitdb_0.6.4.bb
@@ -0,0 +1,7 @@
+require python-gitdb.inc
+
+DEPENDS = "python3-async python3-smmap"
+
+inherit distutils3
+
+RDEPENDS_${PN} += "python3-smmap python3-async python3-mmap python3-lang python3-io python3-shell"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list