[python-warlock] Initial import.

Alan Pevec apevec at fedoraproject.org
Wed Aug 22 13:48:25 UTC 2012


commit 7db0652b47a8322be3f4bfcb1672b61b2889f5ef
Author: Alan Pevec <apevec at redhat.com>
Date:   Wed Aug 22 15:47:48 2012 +0200

    Initial import.

 .gitignore          |    1 +
 python-warlock.spec |   44 ++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 46 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c5c1f33 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/warlock-0.4.0.tar.gz
diff --git a/python-warlock.spec b/python-warlock.spec
new file mode 100644
index 0000000..1cd1054
--- /dev/null
+++ b/python-warlock.spec
@@ -0,0 +1,44 @@
+Name:           python-warlock
+Version:        0.4.0
+Release:        2%{?dist}
+Summary:        Python object model built on top of JSON schema
+
+License:        ASL 2.0
+URL:            http://pypi.python.org/pypi/warlock/0.4.0
+Source0:        http://pypi.python.org/packages/source/w/warlock/warlock-%{version}.tar.gz
+BuildArch:      noarch
+
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools
+
+Requires: python-jsonschema
+BuildRequires: python-jsonschema
+
+%description
+Build self-validating python objects using JSON schemas
+
+%prep
+%setup -q -n warlock-%{version}
+# Remove bundled egg-info
+rm -rf warlock.egg-info
+
+%build
+%{__python} setup.py build
+
+%check
+%{__python} setup.py test
+
+%install
+%{__python} setup.py install --skip-build --root %{buildroot}
+
+%files
+%doc README.md LICENSE
+%{python_sitelib}/warlock
+%{python_sitelib}/warlock-%{version}-py?.?.egg-info
+
+%changelog
+* Wed Aug 22 2012 Alan Pevec <apevec at redhat.com> 0.4.0-2
+- Add missing build requirements
+
+* Fri Aug 10 2012 Dan Prince - 0.4.0-1
+- Initial package.
diff --git a/sources b/sources
index e69de29..ef1ef3b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+cd232322e891f1ccb8152e308dfdf558  warlock-0.4.0.tar.gz


More information about the scm-commits mailing list