Initial import (#824507)
This commit is contained in:
parent
cf5c0c67ba
commit
d6d23d4cbf
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
|||||||
|
/jsonschema-0.2.tar.gz
|
||||||
40
python-jsonschema.spec
Normal file
40
python-jsonschema.spec
Normal file
@ -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@draigBrady.com> - 0.2-1
|
||||||
|
- Initial package.
|
||||||
Loading…
Reference in New Issue
Block a user