init package
This commit is contained in:
parent
bf1d4845b7
commit
1f01d307b9
BIN
python-xmltodict-0.12.0.tar.gz
Normal file
BIN
python-xmltodict-0.12.0.tar.gz
Normal file
Binary file not shown.
43
python-xmltodict.spec
Normal file
43
python-xmltodict.spec
Normal file
@ -0,0 +1,43 @@
|
||||
%bcond_with bootstrap
|
||||
|
||||
Name: python-xmltodict
|
||||
Version: 0.12.0
|
||||
Release: 1
|
||||
Summary: Python module that makes working with XML feel like you are working with JSON
|
||||
License: MIT
|
||||
URL: https://github.com/martinblech/xmltodict
|
||||
Source0: https://github.com/martinblech/xmltodict/archive/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
|
||||
|
||||
%package -n python3-xmltodict
|
||||
Summary: Python module that makes working with XML feel like you are working with JSON
|
||||
BuildRequires: python3-pytest
|
||||
|
||||
%description -n python3-xmltodict
|
||||
Python module that makes working with XML feel like you are working with JSON
|
||||
|
||||
%prep
|
||||
%autosetup -n xmltodict-%{version}
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
%{__python3} -m pytest tests
|
||||
|
||||
%files -n python3-xmltodict
|
||||
%doc README.md CHANGELOG.md
|
||||
%license LICENSE
|
||||
%{python3_sitelib}/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Apr 28 2020 Wei Xiong <myeuler@163.com>
|
||||
- init package
|
||||
Loading…
x
Reference in New Issue
Block a user