mirror of
https://abf.rosa.ru/djam/python-yamale.git
synced 2025-02-23 13:32:49 +00:00
Imported from SRPM
This commit is contained in:
commit
69cc28a077
2 changed files with 48 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
sources:
|
||||||
|
yamale-3.0.6.tar.gz: ec8d72e99c4a3be7b245fe548af4b85e22a67839
|
46
python-yamale.spec
Normal file
46
python-yamale.spec
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
%define debug_package %{nil}
|
||||||
|
%define oname Yamale
|
||||||
|
%global srcname yamale
|
||||||
|
|
||||||
|
Name: python-%{srcname}
|
||||||
|
Version: 3.0.6
|
||||||
|
Release: 1
|
||||||
|
Summary: YAML validator
|
||||||
|
License: MIT
|
||||||
|
Group: Development/Python
|
||||||
|
URL: https://github.com/23andMe/Yamale
|
||||||
|
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: pkgconfig(python3)
|
||||||
|
BuildRequires: python3egg(setuptools)
|
||||||
|
BuildRequires: python3-yaml
|
||||||
|
|
||||||
|
BuildRequires: pkgconfig(python)
|
||||||
|
BuildRequires: pythonegg(setuptools)
|
||||||
|
BuildRequires: python-yaml
|
||||||
|
|
||||||
|
%description
|
||||||
|
A schema and validator for YAML
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -qn %{oname}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%{py3_install}
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
%package -n python3-%{srcname}
|
||||||
|
|
||||||
|
%description -n python3-%{srcname}
|
||||||
|
A much more elaborate, renewed alternative implementation
|
||||||
|
for Python's platform.linux_distribution()
|
||||||
|
|
||||||
|
%files -n python3-%{srcname}
|
||||||
|
%doc README.md LICENSE
|
||||||
|
%{_bindir}/%{srcname}
|
||||||
|
%{py3_puresitedir}
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Add table
Reference in a new issue