Add python3-nose 48/207448/1 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/5.5/unified/20191031.013105 accepted/tizen/5.5/unified/mobile/hotfix/20201027.072057 accepted/tizen/5.5/unified/wearable/hotfix/20201027.105219 accepted/tizen/6.0/unified/20201030.112400 accepted/tizen/6.0/unified/hotfix/20201102.232715 accepted/tizen/unified/20190613.061430 submit/tizen/20190612.083119 submit/tizen_5.5/20191031.000008 submit/tizen_5.5_mobile_hotfix/20201026.185108 submit/tizen_5.5_wearable_hotfix/20201026.184308 submit/tizen_6.0/20201029.205503 submit/tizen_6.0_hotfix/20201102.192903 submit/tizen_6.0_hotfix/20201103.115103 tizen_5.5.m2_release tizen_6.0.m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 5 Jun 2019 03:44:50 +0000 (12:44 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 5 Jun 2019 03:44:50 +0000 (12:44 +0900)
Change-Id: Ibdf812b84f9c90563b987313ae3aeb056e80c30d
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
packaging/python3-nose.manifest [new file with mode: 0644]
packaging/python3-nose.spec [new file with mode: 0644]

diff --git a/packaging/python3-nose.manifest b/packaging/python3-nose.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/python3-nose.spec b/packaging/python3-nose.spec
new file mode 100644 (file)
index 0000000..3635004
--- /dev/null
@@ -0,0 +1,54 @@
+Name:           python3-nose
+Version:        1.2.1
+Release:        0
+Url:            http://readthedocs.org/docs/nose/
+Summary:        Nose extends unittest to make testing easier
+License:        LGPL-2.0+
+Group:          Platform Development/Python
+Source:         http://pypi.python.org/packages/source/n/nose/nose-%{version}.tar.gz
+Source1001:     %{name}.manifest
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  python3-devel
+BuildRequires:  python3-setuptools
+BuildRequires:  python3-xml
+Requires:       python3-setuptools
+Requires:       python3-xml
+BuildArch:      noarch
+
+%description
+Nose extends the test loading and running features of unittest, making
+it easier to write, find and run tests.
+
+By default, nose will run tests in files or directories under the current
+working directory whose names include "test" or "Test" at a word boundary
+(like "test_this" or "functional_test" or "TestClass" but not
+"libtest"). Test output is similar to that of unittest, but also includes
+captured stdout output from failing tests, for easy print-style debugging.
+
+These features, and many more, are customizable through the use of
+plugins. Plugins included with nose provide support for doctest, code
+coverage and profiling, flexible attribute-based test selection,
+output capture and more.
+
+%prep
+%setup -q -n nose-%{version}
+cp %{SOURCE1001} .
+sed -i 's,man/man1,share/man/man1,' setup.py
+
+%build
+python3 setup.py build
+
+%check
+# python3 setup.py test
+
+%install
+python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%doc NEWS README.txt lgpl.txt
+%{_bindir}/nosetests*
+%{_mandir}/man*/nosetests*
+%{python3_sitelib}/*