Projects
rs485
python-pycmox
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 7
View file
python-pycmox.changes
Changed
@@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Mon Sep 23 10:01:19 UTC 2024 - Matwey V. Kornilov <matwey@sai.msu.ru> + +- Version 0.2.2 + +------------------------------------------------------------------- Mon Aug 12 09:00:21 UTC 2024 - Matwey V. Kornilov <matwey@sai.msu.ru> - Version 0.2.1
View file
python-pycmox.spec
Changed
@@ -17,9 +17,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} - +%{?sle15_python_module_pythons} Name: python-pycmox -Version: 0.2.1 +Version: 0.2.2 Release: 0 Summary: Python wrapper for RS485 exchange License: LGPL-3.0-or-later @@ -28,6 +28,7 @@ Source: pycmox-%{version}.tar.xz BuildRequires: %{python_module devel} BuildRequires: %{python_module pybind11-devel >= 2.6.0} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{pythons} BuildRequires: gcc @@ -49,6 +50,9 @@ %install %python_install +%check +%pytest_arch + %files %{python_files} %defattr(-,root,root) %doc README.rst
View file
_service
Changed
@@ -1,7 +1,7 @@ <services> <service name="tar_scm" mode="disabled"> <param name="url">http://curl.sai.msu.ru/hg/pycmox</param> - <param name="revision">0.2.1</param> + <param name="revision">0.2.2</param> <param name="versionformat">{latesttag}</param> <param name="scm">hg</param> </service>
View file
pycmox-0.2.1.tar.xz/.hgtags -> pycmox-0.2.2.tar.xz/.hgtags
Changed
@@ -1,2 +1,3 @@ 3342af332420fe26a1bfe19e3866c27ac1cd95cb 0.1.0 dd2a6e5d5116ebb39d0258cbcc4f1fab85bb537f 0.2.0 +5c5368bcd4d46129b63dace6d45ae3845c601e61 0.2.1
View file
pycmox-0.2.1.tar.xz/setup.py -> pycmox-0.2.2.tar.xz/setup.py
Changed
@@ -18,7 +18,7 @@ setup( name='pycmox', - version='0.2.1', + version='0.2.2', packages=, ext_modules=pycmox, include_package_data=True,
View file
pycmox-0.2.2.tar.xz/tests
Added
+(directory)
View file
pycmox-0.2.2.tar.xz/tests/test_pycmox.py
Added
@@ -0,0 +1,12 @@ +import unittest +import pycmox + +class TestPycmox(unittest.TestCase): + def test_pycmox(self): + self.assertIsInstance(pycmox.RS485, type) + self.assertIsInstance(pycmox.RS485.BUSY, int) + self.assertIsInstance(pycmox.RS485.DONE, int) + self.assertIsInstance(pycmox.RS485.NONE, int) + +if __name__ == '__main__': + unittest.main()
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.