From 89d444e26ea67b3ba6631077f1e79b1e760b3a0e Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Mon, 8 May 2023 11:46:41 +0200 Subject: [PATCH] import sources --- .gitignore | 1 + python-hs-dbus-signature.spec | 62 +++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 64 insertions(+) create mode 100644 .gitignore create mode 100644 python-hs-dbus-signature.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..eff8bdd --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/hs-dbus-signature-0.05.tar.gz diff --git a/python-hs-dbus-signature.spec b/python-hs-dbus-signature.spec new file mode 100644 index 0000000..685321b --- /dev/null +++ b/python-hs-dbus-signature.spec @@ -0,0 +1,62 @@ +%global srcname hs-dbus-signature + +Name: python-%{srcname} +Version: 0.05 +Release: 3%{?dist} +Summary: Hypothesis Strategy for Generating Arbitrary DBus Signatures + +License: MPLv2.0 +URL: https://github.com/stratis-storage/hs-dbus-signature +Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz + +BuildArch: noarch + +%global _description \ +This package contains a Hypothesis strategy for generating DBus signatures.\ +\ +The strategy is intended to be both sound and complete. That is, it should\ +never generate an invalid DBus signature and it should be capable,\ +modulo size constraints, of generating any valid 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-hypothesis +Requires: python3-hypothesis + +%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.txt +%doc README.rst +%{python3_sitelib}/hs_dbus_signature/ +%{python3_sitelib}/hs_dbus_signature-*.egg-info/ + +%changelog +* Fri Feb 09 2018 Fedora Release Engineering - 0.05-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Jan 08 2018 Ilya Gradina - 0.05-2 +- Minor changes + +* Mon Jan 08 2018 Ilya Gradina - 0.05-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..bc01b09 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (hs-dbus-signature-0.05.tar.gz) = a28919ae8ca3222155b65bc751e9900ba9fe1428726ce4eafcd7a9193c51ce8858a2be7d6028c4aab944e3908a4bd126f38c5ebd93748f26232df0a003aa5cd2