summaryrefslogtreecommitdiff
path: root/python-nosetty.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-nosetty.spec')
-rw-r--r--python-nosetty.spec198
1 files changed, 198 insertions, 0 deletions
diff --git a/python-nosetty.spec b/python-nosetty.spec
new file mode 100644
index 0000000..33f8d5b
--- /dev/null
+++ b/python-nosetty.spec
@@ -0,0 +1,198 @@
+%global _empty_manifest_terminate_build 0
+Name: python-nosetty
+Version: 0.4
+Release: 1
+Summary: A plugin to run nosetests more interactively
+License: GNU LGPL
+URL: http://code.google.com/p/nosetty/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/dc/a4/991360dc5d5b0df8eecfc63224f71b3a8666adaa455364bb892a874fa77e/nosetty-0.4.tar.gz
+BuildArch: noarch
+
+
+%description
+nosetty is a plugin for [http://somethingaboutorange.com/mrl/projects/nose/ nose], a test runner for python. It accepts various commands at the terminal, giving you some one-on-one quality time with your tracebacks. Most importantly, editing a failure point is as easy as typing a number. How about a screenshot?
+
+http://farmdev.com/projects/nosetty/nosetty-screenshot.png
+
+== Install ==
+
+{{{
+easy_install nosetty
+}}}
+
+get the [http://peak.telecommunity.com/DevCenter/EasyInstall easy_install command here].
+
+Development versions are available as:
+
+{{{
+easy_install nosetty==dev
+}}}
+
+...or via subversion at [http://nosetty.googlecode.com/svn/trunk/#egg=nosetty-dev http://nosetty.googlecode.com/svn/trunk/]
+
+== Usage ==
+
+Activate the plugin like so:
+
+{{{
+nosetests --tty
+}}}
+
+But to get some useful results, you'll have to tell it how to hook into your editor and other things. All this is described in detail on the [Recipes] page.
+
+To give the plugin a whirl, you can [http://code.google.com/p/nosetty/source checkout the source] and type...
+
+{{{
+cd src/nosetty
+easy_install .
+nosetests -w examples --tty
+}}}
+
+...to get what's shown in the above screenshot.
+
+== Project Page ==
+
+If you're not already there, the nosetty project lives on [http://code.google.com/p/nosetty/ google code]. Please submit any bugs, patches, failing tests, et cetera using the [http://code.google.com/p/nosetty/issues/list Issue Tracker].
+
+%package -n python3-nosetty
+Summary: A plugin to run nosetests more interactively
+Provides: python-nosetty
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-nosetty
+nosetty is a plugin for [http://somethingaboutorange.com/mrl/projects/nose/ nose], a test runner for python. It accepts various commands at the terminal, giving you some one-on-one quality time with your tracebacks. Most importantly, editing a failure point is as easy as typing a number. How about a screenshot?
+
+http://farmdev.com/projects/nosetty/nosetty-screenshot.png
+
+== Install ==
+
+{{{
+easy_install nosetty
+}}}
+
+get the [http://peak.telecommunity.com/DevCenter/EasyInstall easy_install command here].
+
+Development versions are available as:
+
+{{{
+easy_install nosetty==dev
+}}}
+
+...or via subversion at [http://nosetty.googlecode.com/svn/trunk/#egg=nosetty-dev http://nosetty.googlecode.com/svn/trunk/]
+
+== Usage ==
+
+Activate the plugin like so:
+
+{{{
+nosetests --tty
+}}}
+
+But to get some useful results, you'll have to tell it how to hook into your editor and other things. All this is described in detail on the [Recipes] page.
+
+To give the plugin a whirl, you can [http://code.google.com/p/nosetty/source checkout the source] and type...
+
+{{{
+cd src/nosetty
+easy_install .
+nosetests -w examples --tty
+}}}
+
+...to get what's shown in the above screenshot.
+
+== Project Page ==
+
+If you're not already there, the nosetty project lives on [http://code.google.com/p/nosetty/ google code]. Please submit any bugs, patches, failing tests, et cetera using the [http://code.google.com/p/nosetty/issues/list Issue Tracker].
+
+%package help
+Summary: Development documents and examples for nosetty
+Provides: python3-nosetty-doc
+%description help
+nosetty is a plugin for [http://somethingaboutorange.com/mrl/projects/nose/ nose], a test runner for python. It accepts various commands at the terminal, giving you some one-on-one quality time with your tracebacks. Most importantly, editing a failure point is as easy as typing a number. How about a screenshot?
+
+http://farmdev.com/projects/nosetty/nosetty-screenshot.png
+
+== Install ==
+
+{{{
+easy_install nosetty
+}}}
+
+get the [http://peak.telecommunity.com/DevCenter/EasyInstall easy_install command here].
+
+Development versions are available as:
+
+{{{
+easy_install nosetty==dev
+}}}
+
+...or via subversion at [http://nosetty.googlecode.com/svn/trunk/#egg=nosetty-dev http://nosetty.googlecode.com/svn/trunk/]
+
+== Usage ==
+
+Activate the plugin like so:
+
+{{{
+nosetests --tty
+}}}
+
+But to get some useful results, you'll have to tell it how to hook into your editor and other things. All this is described in detail on the [Recipes] page.
+
+To give the plugin a whirl, you can [http://code.google.com/p/nosetty/source checkout the source] and type...
+
+{{{
+cd src/nosetty
+easy_install .
+nosetests -w examples --tty
+}}}
+
+...to get what's shown in the above screenshot.
+
+== Project Page ==
+
+If you're not already there, the nosetty project lives on [http://code.google.com/p/nosetty/ google code]. Please submit any bugs, patches, failing tests, et cetera using the [http://code.google.com/p/nosetty/issues/list Issue Tracker].
+
+%prep
+%autosetup -n nosetty-0.4
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-nosetty -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4-1
+- Package Spec generated