python-dbus-signature-pypar.../python-dbus-signature-pyparsing.spec

61 lines
1.5 KiB
RPMSpec
Raw Normal View History

%global srcname dbus-signature-pyparsing
Name: python-%{srcname}
Version: 0.03
2018-06-19 08:58:36 +00:00
Release: 3%{?dist}
Summary: Parser for a D-Bus Signature
License: ASL 2.0
URL: https://github.com/stratis-storage/dbus-signature-pyparsing
Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
%global _description \
%{summary}.
%description %{_description}
%package -n python3-%{srcname}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{srcname}}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pytest
BuildRequires: python3-pyparsing
BuildRequires: python3-hypothesis
BuildRequires: python3-hs-dbus-signature
Requires: python3-pyparsing
%description -n python3-%{srcname} %{_description}
Python 3 version.
%prep
%autosetup -n %{srcname}-%{version}
%build
%py3_build
%install
%py3_install
%check
PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} -v tests
%files -n python3-%{srcname}
%license LICENSE
%doc README.rst
%{python3_sitelib}/dbus_signature_pyparsing/
%{python3_sitelib}/dbus_signature_pyparsing-*.egg-info/
%changelog
2018-06-19 08:58:36 +00:00
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.03-3
- Rebuilt for Python 3.7
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.03-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Mon Jan 08 2018 Ilya Gradina <ilya.gradina@gmail.com> - 0.03-1
- Initial package