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>
This commit is contained in:
Hongxu Jia 2017-07-18 02:09:11 -04:00 committed by Martin Jansa
parent 6220deb3bf
commit e81db0521a
2 changed files with 43 additions and 0 deletions

View File

@ -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

View File

@ -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 \
"