diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2017-07-18 02:09:11 -0400 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-07-24 18:58:52 +0200 |
commit | e81db0521ad7270846c1d0507caa4e4c0071e517 (patch) | |
tree | 86b4416036d5f255747df6fa03c92ccd03ec8499 | |
parent | 6220deb3bf0daf00b16adf44f1311c77f91c9602 (diff) | |
download | meta-openembedded-contrib-e81db0521ad7270846c1d0507caa4e4c0071e517.tar.gz |
python3-pid: add recipe 2.1.1
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pid/0001-remove-requirement-of-nose.patch | 29 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pid_2.1.1.bb | 14 |
2 files changed, 43 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pid/0001-remove-requirement-of-nose.patch b/meta-python/recipes-devtools/python/python3-pid/0001-remove-requirement-of-nose.patch new file mode 100644 index 0000000000..3beef0700a --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pid/0001-remove-requirement-of-nose.patch @@ -0,0 +1,29 @@ +From 04d04a8fa1ef3d8dbdaebbaac9ae936e1c8234c1 Mon Sep 17 00:00:00 2001 +From: Hongxu Jia <hongxu.jia@windriver.com> +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 <hongxu.jia@windriver.com> +--- + 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 + diff --git a/meta-python/recipes-devtools/python/python3-pid_2.1.1.bb b/meta-python/recipes-devtools/python/python3-pid_2.1.1.bb new file mode 100644 index 0000000000..c88d9a0b55 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pid_2.1.1.bb @@ -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 \ +" |