43 lines
796 B
RPMSpec
43 lines
796 B
RPMSpec
|
|
Name: python3-mallard-ducktype
|
||
|
|
Version: 0.3
|
||
|
|
Release: 5
|
||
|
|
Summary: Parse Ducktype files and convert them to Mallard
|
||
|
|
License: MIT
|
||
|
|
URL: https://pypi.python.org/pypi/mallard-ducktype
|
||
|
|
Source0: https://pypi.python.org/packages/source/m/mallard-ducktype/mallard-ducktype-%{version}.tar.gz
|
||
|
|
|
||
|
|
BuildArch: noarch
|
||
|
|
BuildRequires: python3-devel
|
||
|
|
|
||
|
|
%description
|
||
|
|
Parse Ducktype files and convert them to Mallard.
|
||
|
|
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -n mallard-ducktype-%{version} -p1
|
||
|
|
rm -rf mallard-ducktype-%{version}/mallard_ducktype.egg-info/
|
||
|
|
|
||
|
|
|
||
|
|
%build
|
||
|
|
%py3_build
|
||
|
|
|
||
|
|
|
||
|
|
%install
|
||
|
|
%py3_install
|
||
|
|
|
||
|
|
|
||
|
|
%check
|
||
|
|
%{__python3} setup.py test
|
||
|
|
|
||
|
|
|
||
|
|
%files
|
||
|
|
%doc
|
||
|
|
%{_bindir}/ducktype
|
||
|
|
%{python3_sitelib}/*
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Wed Jan 08 2020 wanjiankang <wanjiankangkang@huawei.com> - 0.3-5
|
||
|
|
- Initial package.
|