add 9 recipes
cover add 9 recipes
- 1 for meta-oe
- 8 for meta-python
//Hongxu
The following changes since commit 1cbd1bc195017312ba8cf670b340f61a2ac6207b:
unionfs-fuse: 0.26 -> 2.0 (2017-07-14 23:45:53 +0200)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib hongxu/add-recipe1
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=hongxu/add-recipe1
Hongxu Jia (9):
glade: add recipe 3.20.0
python3-coverage: add recipe 4.4.1
python3-langtable: add recipe 0.0.37
python3-ntplib: add recipe 0.3.3
python3-ordered-set: add recipe 2.0.2
python3-requests-file: add recipe 1.4.2
python3-requests-ftp: add recipe 0.3.1
python3-pid: add recipe 2.1.1
python3-prctl: add recipe 1.6.1
.../glade/glade/remove-yelp-help-rules-var.patch | 39 ++++++++++++++
...gnome-doc-utils.make-sysrooted-pkg-config.patch | 0
.../{files => glade3}/0002-fix-gcc-6-build.patch | 0
meta-oe/recipes-devtools/glade/glade_3.20.0.bb | 27 ++++++++++
.../python/python3-coverage_4.4.1.bb | 10 ++++
.../python/python3-langtable_0.0.37.bb | 22 ++++++++
.../python/python3-ntplib_0.3.3.bb | 12 +++++
.../python/python3-ordered-set_2.0.2.bb | 10 ++++
.../0001-remove-requirement-of-nose.patch | 29 ++++++++++
.../recipes-devtools/python/python3-pid_2.1.1.bb | 14 +++++
.../0001-support-cross-complication.patch | 61 ++++++++++++++++++++++
.../recipes-devtools/python/python3-prctl_1.6.1.bb | 22 ++++++++
.../python/python3-requests-file_1.4.2.bb | 14 +++++
.../python/python3-requests-ftp_0.3.1.bb | 14 +++++
14 files changed, 274 insertions(+)
create mode 100644 meta-oe/recipes-devtools/glade/glade/remove-yelp-help-rules-var.patch
rename meta-oe/recipes-devtools/glade/{files => glade3}/0001-gnome-doc-utils.make-sysrooted-pkg-config.patch (100%)
rename meta-oe/recipes-devtools/glade/{files => glade3}/0002-fix-gcc-6-build.patch (100%)
create mode 100644 meta-oe/recipes-devtools/glade/glade_3.20.0.bb
create mode 100644 meta-python/recipes-devtools/python/python3-coverage_4.4.1.bb
create mode 100644 meta-python/recipes-devtools/python/python3-langtable_0.0.37.bb
create mode 100644 meta-python/recipes-devtools/python/python3-ntplib_0.3.3.bb
create mode 100644 meta-python/recipes-devtools/python/python3-ordered-set_2.0.2.bb
create mode 100644 meta-python/recipes-devtools/python/python3-pid/0001-remove-requirement-of-nose.patch
create mode 100644 meta-python/recipes-devtools/python/python3-pid_2.1.1.bb
create mode 100644 meta-python/recipes-devtools/python/python3-prctl/0001-support-cross-complication.patch
create mode 100644 meta-python/recipes-devtools/python/python3-prctl_1.6.1.bb
create mode 100644 meta-python/recipes-devtools/python/python3-requests-file_1.4.2.bb
create mode 100644 meta-python/recipes-devtools/python/python3-requests-ftp_0.3.1.bbSignature · 1 line
2.8.1
PATCH 1/9 glade: add recipe 3.20.0
The newly added glade is the original Glade codebase, and glade3 is a complete rewrite of it.
---
.../glade/glade/remove-yelp-help-rules-var.patch | 39 ++++++++++++++++++++++
...gnome-doc-utils.make-sysrooted-pkg-config.patch | 0
.../{files => glade3}/0002-fix-gcc-6-build.patch | 0
meta-oe/recipes-devtools/glade/glade_3.20.0.bb | 27 +++++++++++++++
4 files changed, 66 insertions(+)
create mode 100644 meta-oe/recipes-devtools/glade/glade/remove-yelp-help-rules-var.patch
rename meta-oe/recipes-devtools/glade/{files => glade3}/0001-gnome-doc-utils.make-sysrooted-pkg-config.patch (100%)
rename meta-oe/recipes-devtools/glade/{files => glade3}/0002-fix-gcc-6-build.patch (100%)
create mode 100644 meta-oe/recipes-devtools/glade/glade_3.20.0.bbmeta-oe/recipes-devtools/glade/glade/remove-yelp-help-rules-var.patch new file +39 -0
@@ -0,0 +1,39 @@ +From 42efc94c11d510b41d8cf3407e1c3900eb52b600 Mon Sep 17 00:00:00 2001 +From: Hongxu Jia <[email protected]> +Date: Thu, 4 Jun 2015 16:28:02 +0800 +Subject: [PATCH] Remove unused variable (YELP_HELP_RULES) + +Upstream-Status: Pending + +Signed-off-by: Hongxu Jia <[email protected]> +--- + help/Makefile.am | 2 -- + help/Makefile.in | 2 -- + 2 files changed, 4 deletions(-) + +diff --git a/help/Makefile.am b/help/Makefile.am +index 50c0e84..5c5d2e9 100644 +--- a/help/Makefile.am ++++ b/help/Makefile.am +@@ -1,5 +1,3 @@ +-@YELP_HELP_RULES@ +- + HELP_ID = glade + + HELP_FILES = \ +diff --git a/help/Makefile.in b/help/Makefile.in +index 6978ea5..e1c7d3b 100644 +--- a/help/Makefile.in ++++ b/help/Makefile.in +@@ -521,8 +521,6 @@ uninstall-am: + + .PRECIOUS: Makefile + +-@YELP_HELP_RULES@ +- + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: +-- +1.9.1 +
meta-oe/recipes-devtools/glade/glade3/0001-gnome-doc-utils.make-sysrooted-pkg-config.patch renamed from meta-oe/recipes-devtools/glade/files/0001-gnome-doc-utils.make-sysrooted-pkg-config.patch +0 -0
meta-oe/recipes-devtools/glade/glade3/0002-fix-gcc-6-build.patch renamed from meta-oe/recipes-devtools/glade/files/0002-fix-gcc-6-build.patch +0 -0
meta-oe/recipes-devtools/glade/glade_3.20.0.bb new file +27 -0
@@ -0,0 +1,27 @@ +SUMMARY = "Glade - A User Interface Designer" +HOMEPAGE = "http://www.gnu.org/software/gnash" +LICENSE = "GPLv2 & LGPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=aabe87591cb8ae0f3c68be6977bb5522 \ + file://COPYING.GPL;md5=9ac2e7cff1ddaf48b6eab6028f23ef88 \ + file://COPYING.LGPL;md5=252890d9eee26aab7b432e8b8a616475" +DEPENDS = "gtk+ gtk+3 glib-2.0 libxml2 intltool-native \ + gnome-common-native \ +" + + +inherit autotools pkgconfig pythonnative gnomebase gobject-introspection + +SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/glade/3.20/glade-${PV}.tar.xz \ + file://remove-yelp-help-rules-var.patch \ + " +SRC_URI[md5sum] = "9964a2da14c5f845eae363889586ca43" +SRC_URI[sha256sum] = "82d96dca5dec40ee34e2f41d49c13b4ea50da8f32a3a49ca2da802ff14dc18fe" + +EXTRA_OECONF += "--disable-man-pages" + +FILES_${PN} += "${datadir}/* ${libdir}/glade/modules/libgladegtk.so" +FILES_${PN}-dev += "${libdir}/glade/modules/libgladegtk.la" +FILES_${PN}-dbg += "${libdir}/glade/modules/.debug/libgladegtk.so" + +PYTHON_PN = "python" +
Signature · 1 line
2.8.1
PATCH 2/9 python3-coverage: add recipe 4.4.1
In reply to Hongxu Jia--- meta-python/recipes-devtools/python/python3-coverage_4.4.1.bb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-coverage_4.4.1.bb
meta-python/recipes-devtools/python/python3-coverage_4.4.1.bb new file +10 -0
@@ -0,0 +1,10 @@ +SUMMARY = "Code coverage measurement for Python" +HOMEPAGE = "https://coverage.readthedocs.io" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2ee41112a44fe7014dce33e26468ba93" + +SRC_URI[md5sum] = "4c4d997cb32be4703f1fde54e6cd1b1c" +SRC_URI[sha256sum] = "7a9c44400ee0f3b4546066e0710e1250fd75831adc02ab99dda176ad8726f424" + +inherit pypi setuptools3 +
Signature · 1 line
2.8.1
PATCH 3/9 python3-langtable: add recipe 0.0.37
In reply to Hongxu Jia--- .../python/python3-langtable_0.0.37.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-langtable_0.0.37.bb
meta-python/recipes-devtools/python/python3-langtable_0.0.37.bb new file +22 -0
@@ -0,0 +1,22 @@ +DESCRIPTION = "langtable is used to guess reasonable defaults for locale,\ +keyboard, territory" +HOMEPAGE = "https://github.com/mike-fabian/langtable/" +LICENSE = "GPLv3+" +SECTION = "devel/python" + +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" + +S = "${WORKDIR}/git" +B = "${S}" + +SRCREV = "3f001eef027ba69ef2fdb35c670b7da26b79b5e2" +PV = "0.0.37+git${SRCPV}" +SRC_URI = "git://github.com/mike-fabian/langtable.git;branch=master \ +" + +inherit setuptools3 python3native + +DISTUTILS_INSTALL_ARGS = "--prefix=${D}/${prefix} \ + --install-data=${D}/${datadir}/langtable" + +FILES_${PN} += "${datadir}/*"
Signature · 1 line
2.8.1
PATCH 4/9 python3-ntplib: add recipe 0.3.3
In reply to Hongxu Jia--- meta-python/recipes-devtools/python/python3-ntplib_0.3.3.bb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-ntplib_0.3.3.bb
meta-python/recipes-devtools/python/python3-ntplib_0.3.3.bb new file +12 -0
@@ -0,0 +1,12 @@ +DESCRIPTION = "This module offers a simple interface to query NTP servers from Python." +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://ntplib.py;beginline=1;endline=23;md5=afa07338a9595257e94c205c3e72224d" + +SRCNAME = "ntplib" +SRC_URI[md5sum] = "c7cc8e9b09f40c84819859d70b7784ca" +SRC_URI[sha256sum] = "c4621b64d50be9461d9bd9a71ba0b4af06fbbf818bbd483752d95c1a4e273ede" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit setuptools3 python3native pypi
Signature · 1 line
2.8.1
PATCH 5/9 python3-ordered-set: add recipe 2.0.2
In reply to Hongxu Jia--- .../recipes-devtools/python/python3-ordered-set_2.0.2.bb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-ordered-set_2.0.2.bb
meta-python/recipes-devtools/python/python3-ordered-set_2.0.2.bb new file +10 -0
@@ -0,0 +1,10 @@ +SUMMARY = "A MutableSet that remembers its order, so that every entry has an index." +HOMEPAGE = "http://github.com/LuminosoInsight/ordered-set" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://MIT-LICENSE;md5=0feb0c85b722f488b87844fb5f81d2dc" + +SRC_URI[md5sum] = "7b8d73dc64fd3c783ecb48e050bfcc0d" +SRC_URI[sha256sum] = "942cad5d7d5b0760d5cbe93dfb385ac2ed402ca1d48c9f4e102d7d5cce3a90eb" + +inherit pypi setuptools3 +
Signature · 1 line
2.8.1
PATCH 6/9 python3-requests-file: add recipe 1.4.2
In reply to Hongxu Jia--- .../recipes-devtools/python/python3-requests-file_1.4.2.bb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-requests-file_1.4.2.bb
meta-python/recipes-devtools/python/python3-requests-file_1.4.2.bb new file +14 -0
@@ -0,0 +1,14 @@ +SUMMARY = "File transport adapter for Requests" +HOMEPAGE = "http://github.com/dashea/requests-file" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=9cc728d6087e43796227b0a31422de6b" + +SRC_URI[md5sum] = "a907efb75faf0ccbb1857432bf9d8c0f" +SRC_URI[sha256sum] = "f518e7cfe048e053fd1019dfb891b4c55b871c56c5a31693d733240c80b8f191" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += " \ + python3-requests \ +" +
Signature · 1 line
2.8.1
PATCH 7/9 python3-requests-ftp: add recipe 0.3.1
In reply to Hongxu Jia--- .../recipes-devtools/python/python3-requests-ftp_0.3.1.bb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-requests-ftp_0.3.1.bb
meta-python/recipes-devtools/python/python3-requests-ftp_0.3.1.bb new file +14 -0
@@ -0,0 +1,14 @@ +SUMMARY = "FTP Transport Adapter for Requests" +HOMEPAGE = "http://github.com/Lukasa/requests-ftp" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=6683a23c9968b97709441dc884d46df6" + +SRC_URI[md5sum] = "1a52ad1219e696b5abd5449d1ccc0294" +SRC_URI[sha256sum] = "7504ceb5cba8a5c0135ed738596820a78c5f2be92d79b29f96ba99b183d8057a" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += " \ + python3-requests \ +" +
Signature · 1 line
2.8.1
PATCH 8/9 python3-pid: add recipe 2.1.1
In reply to Hongxu Jia--- .../0001-remove-requirement-of-nose.patch | 29 ++++++++++++++++++++++ .../recipes-devtools/python/python3-pid_2.1.1.bb | 14 +++++++++++ 2 files changed, 43 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pid/0001-remove-requirement-of-nose.patch create mode 100644 meta-python/recipes-devtools/python/python3-pid_2.1.1.bb
meta-python/recipes-devtools/python/python3-pid/0001-remove-requirement-of-nose.patch new file +29 -0
@@ -0,0 +1,29 @@ +From 04d04a8fa1ef3d8dbdaebbaac9ae936e1c8234c1 Mon Sep 17 00:00:00 2001 +From: Hongxu Jia <[email protected]> +Date: Wed, 28 Jun 2017 21:17:43 -0400 +Subject: [PATCH] remove requirement of nose + +The nose extends unittest to make testing easier. +Do not need the test suite, so remove requirement of nose. + +Upstream-Status: Inappropriate [oe specific] + +Signed-off-by: Hongxu Jia <[email protected]> +--- + setup.py | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/setup.py b/setup.py +index 3f7c7cb..c42a546 100644 +--- a/setup.py ++++ b/setup.py +@@ -53,6 +53,4 @@ setup( + keywords='pid pidfile context manager decorator', + packages=["pid"], + install_requires=[], +- test_suite='nose.collector', +- setup_requires=['nose>=1.0'], + ) +-- +2.8.1 +
meta-python/recipes-devtools/python/python3-pid_2.1.1.bb new file +14 -0
@@ -0,0 +1,14 @@ +SUMMARY = "Pidfile featuring stale detection and file-locking, can also \ +be used as context-manager or decorator" +HOMEPAGE = "https://github.com/trbs/pid/" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=83d53cbd3105063f20305bc313464e29" + +SRC_URI[md5sum] = "9634b1e3d545544a9d496e25e4530d14" +SRC_URI[sha256sum] = "b443169d3dc21397695b4a82016fadb4cfdb0ed8b2ddb4aaa428e1701bb34e1f" + +inherit pypi setuptools3 + +SRC_URI += " \ + file://0001-remove-requirement-of-nose.patch \ +"
Signature · 1 line
2.8.1
PATCH 9/9 python3-prctl: add recipe 1.6.1
In reply to Hongxu Jia--- .../0001-support-cross-complication.patch | 61 ++++++++++++++++++++++ .../recipes-devtools/python/python3-prctl_1.6.1.bb | 22 ++++++++ 2 files changed, 83 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-prctl/0001-support-cross-complication.patch create mode 100644 meta-python/recipes-devtools/python/python3-prctl_1.6.1.bb
meta-python/recipes-devtools/python/python3-prctl/0001-support-cross-complication.patch new file +61 -0
@@ -0,0 +1,61 @@ +From 9a16800738547d117284354bbcad7dd77d9d0344 Mon Sep 17 00:00:00 2001 +From: Hongxu Jia <[email protected]> +Date: Thu, 21 Apr 2016 03:05:57 -0400 +Subject: [PATCH] support cross-complication + +Upstream-Status: Inappropriate [oe specific] + +Signed-off-by: Hongxu Jia <[email protected]> +--- + setup.py | 35 ----------------------------------- + 1 file changed, 35 deletions(-) + +diff --git a/setup.py b/setup.py +index 658d1a5..e8be7eb 100755 +--- a/setup.py ++++ b/setup.py +@@ -13,41 +13,6 @@ import sys + # - Need gcc + # - Need C headers + # - Need libcap headers +-if not sys.platform.startswith('linux'): +- sys.stderr.write("This module only works on linux\n") +- sys.exit(1) +- +-kvers = os.uname()[2] +-if kvers < '2.6.18' and not os.environ.get("PRCTL_SKIP_KERNEL_CHECK",False): +- sys.stderr.write("This module requires linux 2.6.18 or newer\n") +- sys.exit(1) +- +-if sys.version_info[:2] < (2,4): +- sys.stderr.write("This module requires python 2.4 or newer\n") +- sys.exit(1) +- +-exit = False +-try: +- subprocess.call(['gcc','-v'], stdout=subprocess.PIPE, stderr=subprocess.PIPE) +-except: +- sys.stderr.write("You need to install gcc to build this module\n") +- sys.exit(1) +- +-sp = subprocess.Popen(['cpp'], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) +-sp.communicate('#include <sys/prctl.h>\n'.encode()) +-if sp.returncode: +- sys.stderr.write("You need to install libc development headers to build this module\n") +- exit = True +- +-sp = subprocess.Popen(['cpp'], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) +-sp.communicate('#include <sys/capability.h>\n'.encode()) +-if sp.returncode: +- sys.stderr.write("You need to install libcap development headers to build this module\n") +- exit = True +- +-if exit: +- sys.exit(1) +- + _prctl = Extension("_prctl", + sources = ['_prctlmodule.c'], + depends = ['securebits.h'], +-- +2.8.1 +
meta-python/recipes-devtools/python/python3-prctl_1.6.1.bb new file +22 -0
@@ -0,0 +1,22 @@ +SUMMARY = "Control process attributes through prctl" +DESCRIPTION = "The linux prctl function allows you to control specific characteristics of a \ +process' behaviour. Usage of the function is fairly messy though, due to \ +limitations in C and linux. This module provides a nice non-messy python(ic) \ +interface." +SECTION = "devel/python" +LICENSE = "GPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=5eb2f4bcd60326f83e5deb542372d52f" + +S = "${WORKDIR}/git" +B = "${S}" + +SRCREV = "1107d0be7bec4b28c85c62c454882d16844c930a" +PV = "1.6.1+git${SRCPV}" + +SRC_URI = "git://github.com/seveas/python-prctl;branch=master \ + file://0001-support-cross-complication.patch \ +" +inherit setuptools3 python3native + +DEPENDS += "libcap" +
Signature · 1 line
2.8.1