[python-jsonschema] Initial import (#824507)

Pádraig Brady pbrady at fedoraproject.org
Fri May 25 15:26:08 UTC 2012


commit d6d23d4cbf0b7a5c0e8ff2a443b58e4e34013b3d
Author: Pádraig Brady <P at draigBrady.com>
Date:   Fri May 25 16:21:56 2012 +0100

    Initial import (#824507)

 .gitignore             |    1 +
 python-jsonschema.spec |   40 ++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 42 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2457db5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/jsonschema-0.2.tar.gz
diff --git a/python-jsonschema.spec b/python-jsonschema.spec
new file mode 100644
index 0000000..dd1f77a
--- /dev/null
+++ b/python-jsonschema.spec
@@ -0,0 +1,40 @@
+# Created by pyp2rpm-0.4.2
+%global pypi_name jsonschema
+
+Name:           python-%{pypi_name}
+Version:        0.2
+Release:        1%{?dist}
+Summary:        An implementation of JSON Schema validation for Python
+
+License:        MIT
+URL:            http://pypi.python.org/pypi/jsonschema/0.2
+Source0:        http://pypi.python.org/packages/source/j/jsonschema/jsonschema-0.2.tar.gz
+BuildArch:      noarch
+
+BuildRequires:  python-devel
+
+
+%description
+jsonschema is JSON Schema validator currently based on
+http://tools.ietf.org/html/draft-zyp-json-schema-03
+
+%prep
+%setup -q -n %{pypi_name}-%{version}
+
+%build
+%{__python} setup.py build
+
+
+%install
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+
+
+%files
+%doc README.rst COPYING
+%{python_sitelib}/%{pypi_name}.*
+%{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
+
+
+%changelog
+* Wed May 23 2012 Pádraig Brady <P at draigBrady.com> - 0.2-1
+- Initial package.
diff --git a/sources b/sources
index e69de29..97c8ed8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d91f3c642f37faf557ab07ed78ee8961  jsonschema-0.2.tar.gz


More information about the scm-commits mailing list