diff --git a/.gitignore b/.gitignore index e69de29..18b6687 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,9 @@ +/dasbus-0.1.tar.gz +/dasbus-0.2.tar.gz +/dasbus-0.3.tar.gz +/dasbus-0.4.tar.gz +/dasbus-1.0.tar.gz +/dasbus-1.1.tar.gz +/dasbus-1.2.tar.gz +/dasbus-1.3.tar.gz +/dasbus-1.4.tar.gz diff --git a/README.md b/README.md new file mode 100644 index 0000000..925c489 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# python-dasbus + +The python-dasbus package \ No newline at end of file diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..f075ad7 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,15 @@ +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_testing +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} + +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_stable +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} diff --git a/python-dasbus.spec b/python-dasbus.spec new file mode 100644 index 0000000..6ddbd23 --- /dev/null +++ b/python-dasbus.spec @@ -0,0 +1,120 @@ +%global srcname dasbus + +Name: python-%{srcname} +Version: 1.4 +Release: 2%{?dist} +Summary: DBus library in Python 3 + +License: LGPLv2+ +URL: https://pypi.python.org/pypi/dasbus +Source0: %{pypi_source} + +BuildArch: noarch + +%global _description %{expand: +Dasbus is a DBus library written in Python 3, based on +GLib and inspired by pydbus. It is designed to be easy +to use and extend.} + +%description %{_description} + +%package -n python3-%{srcname} +Summary: %{summary} +BuildRequires: python3-devel +BuildRequires: python3-setuptools +Requires: python3-gobject-base +%{?python_provide:%python_provide python3-%{srcname}} + +%description -n python3-%{srcname} %{_description} + +%prep +%autosetup -n %{srcname}-%{version} + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{srcname} +%license LICENSE +%doc README.md +%{python3_sitelib}/%{srcname}-*.egg-info/ +%{python3_sitelib}/%{srcname}/ + +%changelog +* Wed Jul 29 2020 Fedora Release Engineering - 1.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jul 24 2020 Vendula Poncova - 1.4-1 +- Handle all errors of the DBus call (vponcova) +- Fix tests for handling DBus errors on the server side (vponcova) +- Run packit smoke tests for all Fedora (jkonecny) +- Fix packit archive creation (jkonecny) +- Add possibility to change setup.py arguments (jkonecny) +* Wed Jun 17 2020 Vendula Poncova - 1.3-1 +- Document differences between dasbus and pydbus (vponcova) +- Improve the support for interface proxies in the service identifier (vponcova) +- Improve the support for interface proxies in the message bus (vponcova) +- Test the interface proxies (vponcova) +- Make the message bus of a service identifier accessible (vponcova) +- Fix the testing environment for Fedora Rawhide (vponcova) +* Mon May 18 2020 Vendula Poncova - 1.2-1 +- Replace ABC with ABCMeta (vponcova) +- Fix typing tests (vponcova) +- Run tests on the latest CentOS (vponcova) +- Install sphinx from PyPI (vponcova) +* Thu May 14 2020 Vendula Poncova - 1.1-1 +- Include tests and examples in the source distribution (vponcova) +- Fix the pylint warning signature-differs (vponcova) +* Tue May 05 2020 Vendula Poncova - 1.0-1 +- Fix the documentation (vponcova) +- Fix minor typos (yurchor) +- Enable Codecov (vponcova) +- Test the documentation build (vponcova) +- Extend the documentation (vponcova) +- Add configuration files for Read the Docs and Conda (vponcova) +- Fix all warnings from the generated documentation (vponcova) +* Wed Apr 08 2020 Vendula Poncova - 0.4-1 +- Replace the error register with the error mapper (vponcova) +- Propagate additional arguments for the client handler factory (vponcova) +- Propagate additional arguments in the class AddressedMessageBus (vponcova) +- Generate the documentation (vponcova) +* Thu Apr 02 2020 Vendula Poncova - 0.3-1 +- Remove generate_dictionary_from_data (vponcova) +- Improve some of the error messages (vponcova) +- Check the list of DBus structures to convert (vponcova) +- Add the Inspiration section to README (vponcova) +- Enable syntax highlighting in README (vponcova) +- Use the class EventLoop in README (vponcova) +- Use the --no-merges option (vponcova) +- Clean up the Makefile (vponcova) +- Add examples (vponcova) +- Add the representation of the event loop (vponcova) +- Enable copr builds and add packit config (dhodovsk) +- Extend README (vponcova) +* Mon Jan 13 2020 Vendula Poncova - 0.2-1 +- Unwrap DBus values (vponcova) +- Unwrap a variant data type (vponcova) +- Add a default DBus error (vponcova) +- Use the minimal image in Travis CI (vponcova) +- Remove GLibErrorHandler (vponcova) +- Remove map_error and map_by_default (vponcova) +- Extend arguments of dbus_error (vponcova) +- Extend arguments of dbus_interface (vponcova) +- The list of callbacks in signals can be changed during emitting (vponcova) +- Don't import from mock (vponcova) +- Enable checks in Travis CI (vponcova) +- Fix too long lines (vponcova) +- Don't use wildcard imports (vponcova) +- Add the check target to the Makefile (vponcova) +- Enable Travis CI (vponcova) +- Catch logged warnings in the unit tests (vponcova) +- Add the coverage target to the Makefile (vponcova) +- Rename tests (vponcova) +- Create Makefile (vponcova) +- Create a .spec file (vponcova) +- Add requirements to the README file (vponcova) + +* Thu Oct 31 2019 Vendula Poncova - 0.1-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..1f0c99a --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (dasbus-1.4.tar.gz) = 70ec132d066608e1cfa85f244f03e7a40c470333019d1a732c1c781d7394aa249c853fb4444e459039e7e950fa6f3f77083da5ace6073beb00f1f3d68583b727 diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..5ee9e83 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,20 @@ +- hosts: localhost + roles: + - role: standard-test-source + tags: + - classic + - role: standard-test-basic + tags: + - classic + required_packages: + - python3 + - python3-dasbus + - dbus-daemon + tests: + - smoke_test: + dir: . + run: python3 -c "import dasbus" + - unit_tests: + dir: . + run: python3 -m unittest discover -v -s ./source/tests/ +