Package init

This commit is contained in:
hht8 2021-08-24 10:44:01 +08:00
parent 6a5f6fbc89
commit 6338df661e
2 changed files with 48 additions and 0 deletions

BIN
notario-0.0.16.tar.gz Normal file

Binary file not shown.

48
python-notario.spec Normal file
View 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