/[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 629092 - (show annotations) (download)
Sat May 31 15:48:05 2014 UTC (7 years, 3 months ago) by pterjan
File size: 833 byte(s)
Rebuild for new Python
1 Name: python-warlock
2 Version: 1.0.1
3 Release: %mkrel 4
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 BuildArch: noarch
10 Group: Development/Python
11
12 BuildRequires: python-devel
13 BuildRequires: python-setuptools
14
15 Requires: python-jsonschema
16 BuildRequires: python-jsonschema
17
18 %description
19 Build self-validating python objects using JSON schemas
20
21 %prep
22 %setup -q -n warlock-%{version}
23 # Remove bundled egg-info
24 rm -rf warlock.egg-info
25
26 %build
27 %{__python} setup.py build
28
29 %check
30 %{__python} setup.py test
31
32 %install
33 %{__python} setup.py install --skip-build --root %{buildroot}
34
35 %files
36 %doc README.md
37 %{python_sitelib}/warlock
38 %{python_sitelib}/warlock-%{version}-py?.?.egg-info

  ViewVC Help
Powered by ViewVC 1.1.28