From 4002556fcae564d1975c534fef852fcaa6f0c8fa Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Wed, 7 Oct 2020 10:09:21 +0000 Subject: [PATCH] import python-into-dbus-python-0.06-2.el8 --- .gitignore | 1 + .python-into-dbus-python.metadata | 1 + SPECS/python-into-dbus-python.spec | 61 ++++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 .gitignore create mode 100644 .python-into-dbus-python.metadata create mode 100644 SPECS/python-into-dbus-python.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..005089d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/into-dbus-python-0.06.tar.gz diff --git a/.python-into-dbus-python.metadata b/.python-into-dbus-python.metadata new file mode 100644 index 0000000..850ddb8 --- /dev/null +++ b/.python-into-dbus-python.metadata @@ -0,0 +1 @@ +754d40a6bd829607436d473ede6a01ef31ebe839 SOURCES/into-dbus-python-0.06.tar.gz diff --git a/SPECS/python-into-dbus-python.spec b/SPECS/python-into-dbus-python.spec new file mode 100644 index 0000000..fe5526b --- /dev/null +++ b/SPECS/python-into-dbus-python.spec @@ -0,0 +1,61 @@ +%global srcname into-dbus-python + +Name: python-%{srcname} +Version: 0.06 +Release: 2%{?dist} +Summary: Transformer to dbus-python types + +License: ASL 2.0 +URL: https://github.com/stratis-storage/into-dbus-python +Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz + +BuildArch: noarch + +%global _description \ +Facilities for converting an object that inhabits core Python types, e.g.,\ +lists, ints, dicts, to an object that inhabits dbus-python types, e.g.,\ +dbus.Array, dbus.UInt32, dbus.Dictionary based on a specified dbus signature. + +%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-dbus-signature-pyparsing +BuildRequires: python3-dbus +BuildRequires: python3-hypothesis +BuildRequires: python3-hs-dbus-signature +Requires: python3-dbus-signature-pyparsing +Requires: python3-dbus + +%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}/into_dbus_python/ +%{python3_sitelib}/into_dbus_python-*.egg-info/ + +%changelog +* Fri Feb 09 2018 Fedora Release Engineering - 0.06-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Jan 08 2018 Ilya Gradina - 0.06-1 +- Initial package