forked from pool/python-python-gammu
- Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gammu?expand=0&rev=27
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
python-gammu-3.2.4.tar.gz
Normal file
3
python-gammu-3.2.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3852a503afd06bd4e10ea874a703b0dd3d0fda483f9c875428bc0152d73fe6c3
|
||||||
|
size 144136
|
115
python-python-gammu.changes
Normal file
115
python-python-gammu.changes
Normal file
@@ -0,0 +1,115 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 10 12:59:17 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 16 12:42:11 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 3.2.4:
|
||||||
|
* python 3.10 support
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 19 19:34:43 UTC 2021 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
|
- Update to version 3.2.3
|
||||||
|
* Fixed uninitalized memory usage in DeleteSMS.
|
||||||
|
- Update to version 3.2.2
|
||||||
|
* Fixed metadata in published wheels.
|
||||||
|
* Avoid using some of deprecated Python APIs.
|
||||||
|
- Update to version 3.2
|
||||||
|
* Add support for polling on the async worker
|
||||||
|
* Modernize codebase using pyupgrade, isort and black
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 28 09:08:37 UTC 2021 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- %check: use %pyunittest rpm macro
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 25 16:29:50 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
|
- Update to version 3.1
|
||||||
|
* Fix an issue where the gammu worker thread could be brought
|
||||||
|
down if a callback throws an exception
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 7 09:29:13 UTC 2020 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
- Update to 3.0
|
||||||
|
- Add support for asyncio in the gammu worker
|
||||||
|
- Dropped support for Python 2.
|
||||||
|
- Fix rpmlint errors.
|
||||||
|
- Run spec-cleaner.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 9 07:55:14 UTC 2019 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- version update to 2.12
|
||||||
|
* meta and doc changes
|
||||||
|
- convert to singlespec
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 7 10:42:13 UTC 2018 - ecsos@opensuse.org
|
||||||
|
|
||||||
|
- Update to 2.11
|
||||||
|
* Add support for the USSD in SMSD.
|
||||||
|
- Update to 2.10
|
||||||
|
* Testsuite compatibility with Gammu 1.38.5.
|
||||||
|
- Update to 2.8
|
||||||
|
* Make parameters to CancelCall and AnswerCall optional.
|
||||||
|
* Added support for UTF-16 Unicode chars (emojis).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 25 22:16:36 UTC 2016 - ecsos@opensuse.org
|
||||||
|
|
||||||
|
- Update to 2.7
|
||||||
|
* Compatibility with Gammu >= 1.37.90
|
||||||
|
- change source url to url that work
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat May 28 10:23:27 UTC 2016 - ecsos@opensuse.org
|
||||||
|
|
||||||
|
- Update to 2.5:
|
||||||
|
* Compatibility with Gammu >= 1.36.7
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 2 11:54:54 UTC 2015 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- Update to 2.4:
|
||||||
|
* Fixed possible crash when initializing SMSD with invalid parameters.
|
||||||
|
* Fixed crash on handling diverts on certain architectures.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 3 13:38:27 UTC 2015 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- Update to 2.3:
|
||||||
|
* License changed tp GPL version 2 or later.
|
||||||
|
* Documentation improvements.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 12 21:50:40 UTC 2015 - ecsos@opensuse.org
|
||||||
|
|
||||||
|
- update to 2.2
|
||||||
|
* Documentation improvements.
|
||||||
|
* Code cleanups.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 15 10:11:11 UTC 2015 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- Add Obsoletes/Provides to handle upgrade path for python-gammu
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 15 07:36:48 UTC 2015 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- Update to 2.1:
|
||||||
|
* Include data required for tests in tarball.
|
||||||
|
* Include NEWS.rst in tarball.
|
||||||
|
* Fixed possible crash when changing debug file.
|
||||||
|
* Fixed various errors found by coverity.
|
||||||
|
- Enabled testsuite
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 14 09:46:13 UTC 2015 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- Initial packaging, upstream has split Python module from Gammu sources
|
67
python-python-gammu.spec
Normal file
67
python-python-gammu.spec
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-python-gammu
|
||||||
|
#
|
||||||
|
# Copyright (c) 2025 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: python-python-gammu
|
||||||
|
Version: 3.2.4
|
||||||
|
Release: 0
|
||||||
|
Summary: Python module to communicate with mobile phones
|
||||||
|
License: GPL-2.0-or-later
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
URL: https://wammu.eu/python-gammu/
|
||||||
|
Source: https://github.com/gammu/python-gammu/archive/refs/tags/%{version}.tar.gz#/python-gammu-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
|
BuildRequires: gammu-devel >= 1.37.90
|
||||||
|
BuildRequires: libdbi-drivers-dbd-sqlite3
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
Obsoletes: python-gammu < %{version}
|
||||||
|
Provides: python-gammu = %{version}
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
This provides gammu module, that can work with any phone Gammu
|
||||||
|
supports - many Nokias, Siemens, Alcatel, ...
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n python-gammu-%{version}
|
||||||
|
find . -type f -name "*.py" -exec sed -i -e 's|\/usr\/bin\/env python|\/usr\/bin\/python|g' {} \;
|
||||||
|
|
||||||
|
%build
|
||||||
|
export CFLAGS="%{optflags}"
|
||||||
|
%pyproject_wheel
|
||||||
|
|
||||||
|
%install
|
||||||
|
%pyproject_install
|
||||||
|
|
||||||
|
%check
|
||||||
|
# Need to limit tests due to brekage of libdbi
|
||||||
|
rm test/test_smsd.py
|
||||||
|
export LANG=en_US.UTF-8
|
||||||
|
mv gammu gammu.hide
|
||||||
|
%pyunittest_arch discover -v
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%license COPYING
|
||||||
|
%doc README.rst AUTHORS examples/
|
||||||
|
%{python_sitearch}/gammu
|
||||||
|
%{python_sitearch}/python[-_]gammu-%{version}*-info
|
||||||
|
|
||||||
|
%changelog
|
Reference in New Issue
Block a user