[python-docopt] inital version

Martin Sivák msivak at fedoraproject.org
Tue Jan 15 12:15:45 UTC 2013


commit 474ffe87a6d0225a034436677fecd87e8129afd2
Author: Martin Sivak <msivak at redhat.com>
Date:   Tue Jan 15 13:15:32 2013 +0100

    inital version

 .gitignore         |    1 +
 python-docopt.spec |   42 ++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 44 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..d364300 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/docopt-0.5.0.tar.gz
diff --git a/python-docopt.spec b/python-docopt.spec
new file mode 100644
index 0000000..52437bd
--- /dev/null
+++ b/python-docopt.spec
@@ -0,0 +1,42 @@
+Name:           python-docopt
+Version:        0.5.0
+Release:        1%{?dist}
+Summary:        Pythonic argument parser, that will make you smile
+
+License:        MIT
+URL:            https://github.com/docopt/docopt
+Source0:        http://pypi.python.org/packages/source/d/docopt/docopt-%{version}.tar.gz
+
+BuildRequires:  python-setuptools
+BuildRequires:  python-nose
+BuildRequires:  python2-devel
+BuildArch:      noarch
+
+%description
+Isn't it awesome how optparse and argparse generate help messages
+based on your code?!
+
+Hell no! You know what's awesome? It's when the option parser is
+generated based on the beautiful help message that you write yourself!
+This way you don't need to write thisstupid repeatable parser-code,
+and instead can write only the help message--*the way you want it*.
+
+%prep
+%setup -q -n docopt-%{version}
+
+# remove upstream egg-info
+rm -rf *.egg-info
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
+
+%files
+%{python_sitelib}/docopt.py*
+%{python_sitelib}/docopt-*.egg-info
+
+%changelog
+* Mon Jan 14 2013 Martin Sivak <msivak at euryale.brq.redhat.com> - 0.5.0-1
+- Inital release
diff --git a/sources b/sources
index e69de29..f7263f2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+989daa2e653346a98617309ef92c2947  docopt-0.5.0.tar.gz


More information about the scm-commits mailing list