/[packages]/cauldron/python-warlock/current/SPECS/python-warlock.spec
ViewVC logotype

Contents of /cauldron/python-warlock/current/SPECS/python-warlock.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 389214 - (show annotations) (download)
Thu Jan 17 21:30:27 2013 UTC (11 years, 3 months ago) by pterjan
File size: 911 byte(s)
oops
1 Name: python-warlock
2 Version: 0.4.0
3 Release: %mkrel 3
4 Summary: Python object model built on top of JSON schema
5
6 License: ASL 2.0
7 URL: http://pypi.python.org/pypi/warlock/0.4.0
8 Source0: http://pypi.python.org/packages/source/w/warlock/warlock-%{version}.tar.gz
9 Patch0: warlock-0.4.0-requirements.patch
10 BuildArch: noarch
11 Group: Development/Python
12
13 BuildRequires: python-devel
14 BuildRequires: python-setuptools
15
16 Requires: python-jsonschema
17 BuildRequires: python-jsonschema
18
19 %description
20 Build self-validating python objects using JSON schemas
21
22 %prep
23 %setup -q -n warlock-%{version}
24 %patch0 -p1 -b .requirements
25 # Remove bundled egg-info
26 rm -rf warlock.egg-info
27
28 %build
29 %{__python} setup.py build
30
31 %check
32 %{__python} setup.py test
33
34 %install
35 %{__python} setup.py install --skip-build --root %{buildroot}
36
37 %files
38 %doc README.md LICENSE
39 %{python_sitelib}/warlock
40 %{python_sitelib}/warlock-%{version}-py?.?.egg-info

  ViewVC Help
Powered by ViewVC 1.1.30