commit 308b1e342fe30d61974f022716e8f6ff18383b4c6f634cdb49d28b57a1a4d345 Author: OBS User unknown Date: Fri Mar 28 03:58:04 2008 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cmdln?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/cmdln-1.1.1.tar.bz2 b/cmdln-1.1.1.tar.bz2 new file mode 100644 index 0000000..7762174 --- /dev/null +++ b/cmdln-1.1.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a45130304cf3031cbf8be0170790a7a9b4cd2c951a02be91c23ea1c41f9ac441 +size 67505 diff --git a/python-cmdln.changes b/python-cmdln.changes new file mode 100644 index 0000000..8d39be5 --- /dev/null +++ b/python-cmdln.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Mar 6 09:11:00 CET 2008 - toms@suse.de + +- Initial package 1.1.1 diff --git a/python-cmdln.spec b/python-cmdln.spec new file mode 100644 index 0000000..548dc41 --- /dev/null +++ b/python-cmdln.spec @@ -0,0 +1,67 @@ +# +# spec file for package python-cmdln (Version 0) +# +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# nodebuginfo + +%define _name cmdln +%define version 1.1.1 +%define unmangled_version 1.1.1 +%define release 1 +Summary: An improved cmd.py for Writing Multi-command Scripts and Shells + +Name: python-cmdln +Version: %{version} +Release: 1 +Source0: %{_name}-%{unmangled_version}.tar.bz2 +License: X11/MIT +Group: Development/Libraries/Python +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Prefix: %{_prefix} +BuildRequires: python-devel python-setuptools +#BuildArch: noarch +Url: http://trentm.com/projects/cmdln + +%description +`cmdln.py` is an extension of Python's default `cmd.py` module that +provides "a simple framework for writing line-oriented command +interpreters". The idea (with both cmd.py and cmdln.py) is to be able +to quickly build multi-sub-command tools (think cvs or svn) and/or +simple interactive shells (think gdb or pdb). Cmdln's extensions make +it more natural to write sub-commands, integrate optparse for simple +option processing, and make having good command documentation easier. + + + +Authors: +-------- + Trent Mick + +%prep +%setup -n %{_name}-%{unmangled_version} + +%build +export CFLAGS="$RPM_OPT_FLAGS" +python setup.py build + +%install +python setup.py install --prefix=%{_prefix} \ + --root=$RPM_BUILD_ROOT \ + --record-rpm=INSTALLED_FILES + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f INSTALLED_FILES +%defattr(-,root,root) +%doc LICENSE.txt README.txt docs/ examples/ + +%changelog +* Thu Mar 06 2008 toms@suse.de +- Initial package 1.1.1 diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4