Compare commits

...

No commits in common. "c8" and "c9s" have entirely different histories.
c8 ... c9s

9 changed files with 144 additions and 67 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

6
.gitignore vendored
View File

@ -1 +1,5 @@
SOURCES/dbus-client-gen-0.4.tar.gz
/dbus-client-gen-0.2.tar.gz
/dbus-client-gen-0.3.tar.gz
/dbus-client-gen-0.4.tar.gz
/dbus-client-gen-0.5.tar.gz
/dbus-client-gen-0.5.1.tar.gz

View File

@ -1 +1 @@
df5a3f9dd1bdb942ad1bb454c16df927945648aa SOURCES/dbus-client-gen-0.4.tar.gz
10f92351b588a12e1107d641fca58be19de093d6 dbus-client-gen-0.5.1.tar.gz

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# python-dbus-client-gen
The python-dbus-client-gen package

View File

@ -1,65 +0,0 @@
%global srcname dbus-client-gen
Name: python-%{srcname}
Version: 0.4
Release: 1%{?dist}
Summary: Library for Generating D-Bus Client Code
License: MPLv2.0
URL: https://github.com/stratis-storage/dbus-client-gen
Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
%global _description \
This library contains a few methods that consume an XML specification\
of a D-Bus interface and return classes or functions that may be useful\
in constructing a python D-Bus client. The XML specification has the format\
of the data returned by the Introspect() method\
of the Introspectable interface.
%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
BuildRequires: python3-hs-dbus-signature
%description -n python3-%{srcname} %{_description}
Python 3 version.
%prep
%autosetup -n %{srcname}-%{version}
%build
%py3_build
%install
%py3_install
%check
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v tests
%files -n python3-%{srcname}
%license LICENSE
%doc README.rst
%{python3_sitelib}/dbus_client_gen/
%{python3_sitelib}/dbus_client_gen-*.egg-info/
%changelog
* Tue Dec 11 2018 Andy Grover <agrover@redhat.com> - 0.4-1
- Update to 0.4
* Tue Aug 7 2018 Andy Grover <agrover@redhat.com> - 0.3-1
- Update to 0.3
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2-1
- Initial package

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

17
plans/unit.fmf Normal file
View File

@ -0,0 +1,17 @@
summary: deterministic (not Hypothesis-based) unit tests
prepare:
- name: Install package
how: install
package: python-dbus-client-gen
discover:
how: shell
url: https://github.com/stratis-storage/dbus-client-gen
ref: v0.5.1
tests:
- name: unit
test: python -m unittest -v tests/test_deterministic.py
execute:
how: tmt

110
python-dbus-client-gen.spec Normal file
View File

@ -0,0 +1,110 @@
%global srcname dbus-client-gen
Name: python-%{srcname}
Version: 0.5.1
Release: 1%{?dist}
Summary: Library for Generating D-Bus Client Code
License: MPL-2.0
URL: https://github.com/stratis-storage/dbus-client-gen
Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
%global _description \
This library contains a few methods that consume an XML specification\
of a D-Bus interface and return classes or functions that may be useful\
in constructing a python D-Bus client. The XML specification has the format\
of the data returned by the Introspect() method\
of the Introspectable interface.
%description %{_description}
%package -n python3-%{srcname}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{srcname}}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%description -n python3-%{srcname} %{_description}
Python 3 version.
%prep
%autosetup -n %{srcname}-%{version}
%build
%py3_build
%install
%py3_install
%files -n python3-%{srcname}
%license LICENSE
%doc README.rst
%{python3_sitelib}/dbus_client_gen/
%{python3_sitelib}/dbus_client_gen-*.egg-info/
%changelog
* Wed May 03 2023 Bryan Gurney <bgurney@redhat.com> - 0.5.1-1
- Update to 0.5.1
- Resolves: rhbz#2192384
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.5-5
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Wed Jul 28 2021 Bryan Gurney <bgurney@redhat.com> - 0.5-4
- Remove check test
- Resolves: rhbz#1986607
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.5-3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Dec 8 2020 mulhern <amulhern@redhat.com> - 0.5-1
- Update to 0.5
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.4-7
- Rebuilt for Python 3.9
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4-5
- Rebuilt for Python 3.8.0rc1 (#1748018)
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4-4
- Rebuilt for Python 3.8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Dec 12 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4-1
- Update to 0.4
* Wed Aug 8 2018 Andy Grover <agrover@redhat.com> - 0.3-4
* Bump version
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.3-2
- Rebuilt for Python 3.7
* Fri Jun 1 2018 Andy Grover <agrover@redhat.com> - 0.3-1
- New upstream release
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2-1
- Initial package

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (dbus-client-gen-0.5.1.tar.gz) = df78a429aa50f7a939fb70a97723fe92775274fa410d508ab6df59c04b6f0ef84aa4b7dfaa3ba8466e8cadc11b4d778e45138768b4cb668b3a0859a75149cb91