Package init
This commit is contained in:
parent
6a5f6fbc89
commit
6338df661e
BIN
notario-0.0.16.tar.gz
Normal file
BIN
notario-0.0.16.tar.gz
Normal file
Binary file not shown.
48
python-notario.spec
Normal file
48
python-notario.spec
Normal file
@ -0,0 +1,48 @@
|
||||
%global srcname notario
|
||||
|
||||
Name: python-notario
|
||||
Version: 0.0.16
|
||||
Release: 1
|
||||
Summary: A dictionary validator
|
||||
License: MIT
|
||||
URL: https://github.com/alfredodeza/notario
|
||||
Source0: https://files.pythonhosted.org/packages/88/43/7ba8c182d832f4cadb2ddeed8d1d3a21da7be4b88c1ddb8eaf0aadee37a2/%{srcname}-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-pytest
|
||||
|
||||
%description
|
||||
Notario is flexible and succinct Python dictionary validator with the ability
|
||||
to validate against both keys and values. Schemas are smaller and readable
|
||||
representations of data being validated.
|
||||
|
||||
%package -n python3-%{srcname}
|
||||
Summary: %{summary}
|
||||
Requires: python3
|
||||
|
||||
%description -n python3-%{srcname}
|
||||
Notario is flexible and succinct Python dictionary validator with the ability
|
||||
to validate against both keys and values. Schemas are smaller and readable
|
||||
representations of data being validated.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{srcname}-%{version}
|
||||
|
||||
%build
|
||||
%{py3_build}
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
py.test-%{python3_version} -v notario/tests
|
||||
|
||||
%files -n python3-%{srcname}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%changelog
|
||||
* Wed Aug 18 2021 Python_Bot <Python_Bot@openeuler.org> - 0.0.16-1
|
||||
- Init package
|
||||
Loading…
x
Reference in New Issue
Block a user