Compare commits

...

No commits in common. "c9" and "c8s" have entirely different histories.
c9 ... c8s

8 changed files with 93 additions and 110 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/into-dbus-python-0.8.2.tar.gz
/into-dbus-python-0.06.tar.gz

View File

@ -1 +0,0 @@
ee19fba19bcfb67c641810676e5bb95f907730b7 SOURCES/into-dbus-python-0.8.2.tar.gz

3
README.md Normal file
View File

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

View File

@ -1,108 +0,0 @@
%global srcname into-dbus-python
Name: python-%{srcname}
Version: 0.8.2
Release: 1%{?dist}
Summary: Transformer to dbus-python types
License: Apache-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
# Required due to a setuptools bug that was fixed in setuptools 61.0.
# Previous to that version, setuptools loads the __init__.py module to
# obtain the value of the __version__ attribute.
BuildRequires: python3-dbus-signature-pyparsing
BuildRequires: python3-dbus
%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}/into_dbus_python/
%{python3_sitelib}/into_dbus_python-*.egg-info/
%changelog
* Fri May 05 2023 Bryan Gurney <bgurney@redhat.com> - 0.8.2-1
- Update to 0.8.2
- Resolves: rhbz#2193199
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.08-5
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Thu Jul 29 2021 Bryan Gurney <bgurney@redhat.com> - 0.08-4
- Remove check test
- Remove BuildRequires for python3-dbus-signature-pyparsing and python3-dbus
- Resolves: rhbz#1986609
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.08-3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Dec 7 2020 mulhern<amulhern@redhat.com> - 0.08-1
- New version: 0.08
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.07-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.07-4
- Rebuilt for Python 3.9
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.07-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Sep 6 2019 mulhern <amulhern@redhat.com> - 0.07-2
- Use tracing profile for tests
* Fri Sep 6 2019 mulhenr <amulhern@redhat.com> - 0.07-1
- New version: 0.07
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.06-7
- Rebuilt for Python 3.8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.06-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.06-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.06-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.06-3
- Rebuilt for Python 3.7
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.06-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Mon Jan 08 2018 Ilya Gradina <ilya.gradina@gmail.com> - 0.06-1
- Initial package

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}

View File

@ -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 <releng@fedoraproject.org> - 0.06-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Mon Jan 08 2018 Ilya Gradina <ilya.gradina@gmail.com> - 0.06-1
- Initial package

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (into-dbus-python-0.06.tar.gz) = 1ed28b5fbc9914f90731a7d37a683d1dd48da6464b7058fde64a15173df5aceb883b3524bbb42025be7162cef2a75c8e4a273de020955a9726299e8d84e933bd

20
tests/tests.yml Normal file
View File

@ -0,0 +1,20 @@
---
- hosts: localhost
roles:
- role: standard-test-source
tags:
- always
- role: standard-test-basic
tags:
- classic
required_packages:
- python3-hs-dbus-signature
- python3-into-dbus-python
- python3-pytest
- python3-hypothesis
tests:
- simple:
dir: ./
run: py.test-3 source/tests -rsx -v