Mageia Bugzilla – Attachment 11564 Details for
Bug 26374
kwalify : new package request, python kwalify (needed for West)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
python-pykwalify.spec
python-pykwalify.spec (text/x-matlab), 1.66 KB, created by
Jybz
on 2020-03-23 10:39:04 CET
(
hide
)
Description:
python-pykwalify.spec
Filename:
MIME Type:
Creator:
Jybz
Created:
2020-03-23 10:39:04 CET
Size:
1.66 KB
patch
obsolete
>%global module pykwalify > >Name: python-%{module} >Summary: YAML/JSON validation library >Version: 1.7.0 >Release: %mkrel 1 >License: Python >Group: Development/Python >URL: https://pypi.python.org/pypi/pykwalify/ >%undefine _disable_source_fetch >Source0: https://pypi.python.org/packages/source/p/%{module}/%{module}-%{version}.tar.gz >BuildArch: noarch >BuildRequires: locales > >%description >YAML/JSON validation library >Kwalify is a parser, schema validator and data binding tool for YAML and JSON. > >YAML and JSON are simple and nice format for structured data and easier for >human to read and write than XML. But there have been no schema for YAML such >as RelaxNG or DTD. Kwalify gets over this situation. > >%package -n python3-%{module} >Group: Development/Python >Summary: YAML/JSON validation library >BuildRequires: pkgconfig(python3) >BuildRequires: python3dist(setuptools) >BuildRequires: python3dist(setuptools-scm) >BuildRequires: python3dist(docopt) >= 0.6.2 ># BuildRequires: python3dist(dateutil) >= 2.4.2 >BuildRequires: python3-dateutil ># BuildRequires: python3dist(yaml) >= 3.11 ># BuildRequires: python3dist(pyaml) >= 3.11 >BuildRequires: python3-yaml ># BuildRequires: python3-pyaml > >%{?python_provide:%python_provide python3-%{module}} > >%description -n python3-%{module} >YAML/JSON validation library > >%prep >%autosetup -p1 -n %{module}-%{version} > ># remove bundled egg-info >rm -rf python_%{module}.egg-info/ > >%build >%py3_build > >%install >%py3_install > >%files -n python3-%{module} >%license LICENSE >%{_bindir} >%{python3_sitelib}/%{module} >%{python3_sitelib}/%{module}-%{version}-py%{python3_version}.egg-info
%global module pykwalify Name: python-%{module} Summary: YAML/JSON validation library Version: 1.7.0 Release: %mkrel 1 License: Python Group: Development/Python URL: https://pypi.python.org/pypi/pykwalify/ %undefine _disable_source_fetch Source0: https://pypi.python.org/packages/source/p/%{module}/%{module}-%{version}.tar.gz BuildArch: noarch BuildRequires: locales %description YAML/JSON validation library Kwalify is a parser, schema validator and data binding tool for YAML and JSON. YAML and JSON are simple and nice format for structured data and easier for human to read and write than XML. But there have been no schema for YAML such as RelaxNG or DTD. Kwalify gets over this situation. %package -n python3-%{module} Group: Development/Python Summary: YAML/JSON validation library BuildRequires: pkgconfig(python3) BuildRequires: python3dist(setuptools) BuildRequires: python3dist(setuptools-scm) BuildRequires: python3dist(docopt) >= 0.6.2 # BuildRequires: python3dist(dateutil) >= 2.4.2 BuildRequires: python3-dateutil # BuildRequires: python3dist(yaml) >= 3.11 # BuildRequires: python3dist(pyaml) >= 3.11 BuildRequires: python3-yaml # BuildRequires: python3-pyaml %{?python_provide:%python_provide python3-%{module}} %description -n python3-%{module} YAML/JSON validation library %prep %autosetup -p1 -n %{module}-%{version} # remove bundled egg-info rm -rf python_%{module}.egg-info/ %build %py3_build %install %py3_install %files -n python3-%{module} %license LICENSE %{_bindir} %{python3_sitelib}/%{module} %{python3_sitelib}/%{module}-%{version}-py%{python3_version}.egg-info
View Attachment As Raw
Actions:
View
Attachments on
bug 26374
: 11564