mirror of
https://abf.rosa.ru/djam/python-jsonschema.git
synced 2025-02-23 08:22:52 +00:00
This commit is contained in:
parent
a35433f456
commit
1b99196583
2 changed files with 13 additions and 10 deletions
5
.abf.yml
5
.abf.yml
|
@ -1,5 +1,2 @@
|
|||
removed_sources:
|
||||
jsonschema-2.3.0.tar.gz: 928c9b43f35298346b27b910660944dde931048e
|
||||
jsonschema-2.4.0.tar.gz: 35d4d90ce942a4b030eda75e9a2b32f97e121a98
|
||||
sources:
|
||||
jsonschema-2.6.0.tar.gz: 97e49df4601f7066d9954c0ec4d8d697887b32f0
|
||||
jsonschema-2.6.0.tar.gz: 95f8f2bcfc24fe24f2ffef5fa9c8ddabd59e717f
|
||||
|
|
|
@ -4,14 +4,16 @@ Name: python-%{oname}
|
|||
Version: 2.6.0
|
||||
Release: 1
|
||||
Summary: An implementation of JSON Schema validation for Python
|
||||
Source0: http://pypi.python.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz
|
||||
URL: https://github.com/Julian/jsonschema
|
||||
#Source0: http://pypi.python.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz
|
||||
Source0: %{url}/archive/v%{version}/%{oname}-%{version}.tar.gz
|
||||
License: MIT
|
||||
Group: Development/Python
|
||||
Url: http://github.com/Julian/jsonschema
|
||||
BuildArch: noarch
|
||||
BuildRequires: pkgconfig(python)
|
||||
BuildRequires: pythonegg(nose)
|
||||
BuildRequires: pythonegg(mock)
|
||||
BuildRequires: pythonegg(setuptools)
|
||||
|
||||
BuildRequires: pkgconfig(python3)
|
||||
BuildRequires: python3egg(nose)
|
||||
|
@ -55,12 +57,16 @@ in an enumeration.
|
|||
%setup -q -n %{oname}-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
python3 setup.py build
|
||||
#python setup.py build
|
||||
#python3 setup.py build
|
||||
%py_build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
python setup.py install --root=%{buildroot}
|
||||
python3 setup.py install --root=%{buildroot}
|
||||
#python setup.py install --root=%{buildroot}
|
||||
#python3 setup.py install --root=%{buildroot}
|
||||
%py_install
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
#{_bindir}/nosetests-2* -v || :
|
||||
|
|
Loading…
Add table
Reference in a new issue