From eb8dc40360f0cfef56fb6947cc817a547d6d9bc6 Mon Sep 17 00:00:00 2001 From: Dave Cobbley Date: Tue, 14 Aug 2018 10:05:37 -0700 Subject: [Subtree] Removing import-layers directory As part of the move to subtrees, need to bring all the import layers content to the top level. Change-Id: I4a163d10898cbc6e11c27f776f60e1a470049d8f Signed-off-by: Dave Cobbley Signed-off-by: Brad Bishop --- .../recipes-devtools/python/python-cpuset_1.5.7.bb | 18 +++++++++++ .../python/python-distutils-extra.bb | 9 ++++++ .../python/python-distutils-extra.inc | 13 ++++++++ .../python/python-futures_3.2.0.bb | 13 ++++++++ ...c-add-sysroot-path-to-GI_DATADIR-don-t-se.patch | 28 +++++++++++++++++ .../python/python-pygobject_3.28.0.bb | 35 ++++++++++++++++++++++ .../python/python3-distutils-extra.bb | 11 +++++++ 7 files changed, 127 insertions(+) create mode 100644 meta-openembedded/meta-oe/recipes-devtools/python/python-cpuset_1.5.7.bb create mode 100644 meta-openembedded/meta-oe/recipes-devtools/python/python-distutils-extra.bb create mode 100644 meta-openembedded/meta-oe/recipes-devtools/python/python-distutils-extra.inc create mode 100644 meta-openembedded/meta-oe/recipes-devtools/python/python-futures_3.2.0.bb create mode 100644 meta-openembedded/meta-oe/recipes-devtools/python/python-pygobject/0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch create mode 100644 meta-openembedded/meta-oe/recipes-devtools/python/python-pygobject_3.28.0.bb create mode 100644 meta-openembedded/meta-oe/recipes-devtools/python/python3-distutils-extra.bb (limited to 'meta-openembedded/meta-oe/recipes-devtools/python') diff --git a/meta-openembedded/meta-oe/recipes-devtools/python/python-cpuset_1.5.7.bb b/meta-openembedded/meta-oe/recipes-devtools/python/python-cpuset_1.5.7.bb new file mode 100644 index 0000000000..156e52a3a5 --- /dev/null +++ b/meta-openembedded/meta-oe/recipes-devtools/python/python-cpuset_1.5.7.bb @@ -0,0 +1,18 @@ +SUMMARY = "Cpuset is a Python application to make using the cpusets facilities in the Linux kernel easier" +SECTION = "devel/python" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" + +S = "${WORKDIR}/git" +SRCREV = "ae629aa1dc959342745ad97406adddf63bb6dbdd" +SRC_URI = "git://github.com/lpechacek/cpuset.git;protocol=https;" + +inherit distutils + +RDEPENDS_${PN} = "\ + python-core \ + python-re \ + python-logging \ + python-textutils \ + python-unixadmin \ + " diff --git a/meta-openembedded/meta-oe/recipes-devtools/python/python-distutils-extra.bb b/meta-openembedded/meta-oe/recipes-devtools/python/python-distutils-extra.bb new file mode 100644 index 0000000000..56dd33d7ff --- /dev/null +++ b/meta-openembedded/meta-oe/recipes-devtools/python/python-distutils-extra.bb @@ -0,0 +1,9 @@ +require python-distutils-extra.inc + +inherit setuptools + +DISTUTILS_INSTALL_ARGS += "--install-lib=${libdir}/${PYTHON_DIR}/site-packages" + +RDEPENDS_${PN} = "\ + python-distutils \ +" diff --git a/meta-openembedded/meta-oe/recipes-devtools/python/python-distutils-extra.inc b/meta-openembedded/meta-oe/recipes-devtools/python/python-distutils-extra.inc new file mode 100644 index 0000000000..4d87d77cdb --- /dev/null +++ b/meta-openembedded/meta-oe/recipes-devtools/python/python-distutils-extra.inc @@ -0,0 +1,13 @@ +SUMMARY = "python-distutils extension" +DESCRITION = "python-distutils extension integrating gettext support, themed icons and scrollkeeper based documentation" +HOMEPAGE = "https://launchpad.net/python-distutils-extra" +SECTION = "devel/python" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4325afd396febcb659c36b49533135d4" + +PV = "2.39" +SRC_URI = "https://launchpad.net/python-distutils-extra/trunk/${PV}/+download/python-distutils-extra-${PV}.tar.gz" +SRC_URI[md5sum] = "16e06db0ef73a35b4bff4b9eed5699b5" +SRC_URI[sha256sum] = "723f24f4d65fc8d99b33a002fbbb3771d4cc9d664c97085bf37f3997ae8063af" + +BBCLASSEXTEND = "native" diff --git a/meta-openembedded/meta-oe/recipes-devtools/python/python-futures_3.2.0.bb b/meta-openembedded/meta-oe/recipes-devtools/python/python-futures_3.2.0.bb new file mode 100644 index 0000000000..3ee945fc9c --- /dev/null +++ b/meta-openembedded/meta-oe/recipes-devtools/python/python-futures_3.2.0.bb @@ -0,0 +1,13 @@ +DESCRIPTION = "The concurrent.futures module provides a high-level interface for asynchronously executing callables." +SECTION = "devel/python" +LICENSE = "PSF" +LIC_FILES_CHKSUM = "file://LICENSE;md5=834d982f973c48b6d662b5944c5ab567" +HOMEPAGE = "https://github.com/agronholm/pythonfutures" +DEPENDS = "python" + +SRC_URI[md5sum] = "d1b299a06b96ccb59f70324716dc0016" +SRC_URI[sha256sum] = "9ec02aa7d674acb8618afb127e27fde7fc68994c0437ad759fa094a574adb265" + +inherit pypi setuptools + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-oe/recipes-devtools/python/python-pygobject/0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch b/meta-openembedded/meta-oe/recipes-devtools/python/python-pygobject/0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch new file mode 100644 index 0000000000..9a11442f1c --- /dev/null +++ b/meta-openembedded/meta-oe/recipes-devtools/python/python-pygobject/0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch @@ -0,0 +1,28 @@ +From 5e5350d730f85957a42c6d846d347d080e7dd996 Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin +Date: Fri, 23 Oct 2015 12:40:34 +0300 +Subject: [PATCH] configure.ac: add sysroot path to GI_DATADIR; don't set + introspection scanner and compiler paths + +Upstream-Status: Pending [review on oe-core maillist] +Signed-off-by: Alexander Kanavin +--- + configure.ac | 8 +------- + 1 file changed, 1 insertion(+), 7 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 2c0cfbd..cfcb3bf 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -155,7 +155,7 @@ PKG_CHECK_MODULES(GI, + + GOBJECT_INTROSPECTION_CHECK(introspection_required_version) + +-GI_DATADIR=$($PKG_CONFIG --variable=gidatadir gobject-introspection-1.0) ++GI_DATADIR=$PKG_CONFIG_SYSROOT_DIR$($PKG_CONFIG --variable=gidatadir gobject-introspection-1.0) + AC_SUBST(GI_DATADIR) + + if test "$enable_cairo" != no; then +-- +2.1.4 + diff --git a/meta-openembedded/meta-oe/recipes-devtools/python/python-pygobject_3.28.0.bb b/meta-openembedded/meta-oe/recipes-devtools/python/python-pygobject_3.28.0.bb new file mode 100644 index 0000000000..ab65ba1dcf --- /dev/null +++ b/meta-openembedded/meta-oe/recipes-devtools/python/python-pygobject_3.28.0.bb @@ -0,0 +1,35 @@ +SUMMARY = "Python GObject bindings" +HOMEPAGE = "http://www.pygtk.org/" +SECTION = "devel/python" +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" + +inherit autotools pkgconfig gnomebase distutils-base gobject-introspection + +PYTHON_BASEVERSION = "2.7" +PYTHON_PN = "python" + +DEPENDS += "gnome-common-native python glib-2.0" + +SRCNAME="pygobject" +SRC_URI = " \ + http://ftp.gnome.org/pub/GNOME/sources/${SRCNAME}/${@gnome_verdir("${PV}")}/${SRCNAME}-${PV}.tar.xz \ + file://0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch \ +" + +SRC_URI[md5sum] = "b29d69edb63ae1f555afeb19f90b9996" +SRC_URI[sha256sum] = "42b47b261b45aedfc77e02e3c90a01cd74d6f86c3273c1860a054d531d606e5a" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +BBCLASSEXTEND = "native" + +EXTRA_OECONF = "--disable-cairo --with-python=${PYTHON}" + +RDEPENDS_${PN} += "python-setuptools" +RDEPENDS_${PN}_class-native = "" + +do_install_append() { + # Remove files that clash with python3-pygobject; their content is same + rm -rf ${D}${includedir}/pygobject-3.0//pygobject.h ${D}${libdir}/pkgconfig +} diff --git a/meta-openembedded/meta-oe/recipes-devtools/python/python3-distutils-extra.bb b/meta-openembedded/meta-oe/recipes-devtools/python/python3-distutils-extra.bb new file mode 100644 index 0000000000..af242b8509 --- /dev/null +++ b/meta-openembedded/meta-oe/recipes-devtools/python/python3-distutils-extra.bb @@ -0,0 +1,11 @@ +require python-distutils-extra.inc + +inherit setuptools3 + +S = "${WORKDIR}/python-distutils-extra-${PV}" + +DISTUTILS_INSTALL_ARGS += "--install-lib=${libdir}/${PYTHON_DIR}/site-packages" + +RDEPENDS_${PN} = "\ + python3-setuptools \ +" -- cgit v1.2.3