[Python-modules-commits] [python-gammu] 01/04: New upstream version 2.10
Michal Cihar
nijel at moszumanska.debian.org
Tue Nov 7 08:22:43 UTC 2017
This is an automated email from the git hooks/post-receive script.
nijel pushed a commit to branch master
in repository python-gammu.
commit d57d2cddb698e573688b92c5fccf91b54c53ad08
Author: Michal Čihař <michal at cihar.com>
Date: Tue Nov 7 08:56:33 2017 +0100
New upstream version 2.10
---
NEWS.rst | 5 ++
PKG-INFO | 18 +++--
README.rst | 16 +++--
python_gammu.egg-info/PKG-INFO | 18 +++--
python_gammu.egg-info/SOURCES.txt | 1 +
setup.py | 2 +-
test/data/sqlite-17.sql | 147 ++++++++++++++++++++++++++++++++++++++
test/test_smsd.py | 4 +-
8 files changed, 192 insertions(+), 19 deletions(-)
diff --git a/NEWS.rst b/NEWS.rst
index 9548e39..4d6849f 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -1,3 +1,8 @@
+2.10
+====
+
+* Testsuite compatibility with Gammu 1.38.5.
+
2.9
===
diff --git a/PKG-INFO b/PKG-INFO
index 2a844f4..bcae904 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: python-gammu
-Version: 2.9
+Version: 2.10
Summary: Gammu bindings
Home-page: https://wammu.eu/python-gammu/
Author: Michal Cihar
@@ -10,14 +10,22 @@ Download-URL: https://wammu.eu/download/python-gammu/
Description: python-gammu
============
+ Python bindings for the `Gammu library <https://wammu.eu/gammu/>`_.
+
+ .. image:: https://app.codesponsor.io/embed/e9cresCoq9fvHq4ya92dgNSj/gammu/python-gammu.svg
+ :width: 888
+ :height: 68
+ :target: https://app.codesponsor.io/link/e9cresCoq9fvHq4ya92dgNSj/gammu/python-gammu
+
+
.. image:: https://travis-ci.org/gammu/python-gammu.svg?branch=master
:target: https://travis-ci.org/gammu/python-gammu
.. image:: https://ci.appveyor.com/api/projects/status/19cefdo79bqrtq8l?svg=true
:target: https://ci.appveyor.com/project/nijel/python-gammu
- .. image:: https://www.codacy.com/project/badge/c7e87df480fb4609aa48482873f5c46b
- :target: https://www.codacy.com/public/nijel/python-gammu
+ .. image:: https://api.codacy.com/project/badge/Grade/c7e87df480fb4609aa48482873f5c46b
+ :target: https://www.codacy.com/app/Gammu/python-gammu
.. image:: https://scrutinizer-ci.com/g/gammu/python-gammu/badges/quality-score.png?b=master
:target: https://scrutinizer-ci.com/g/gammu/python-gammu/?branch=master
@@ -39,12 +47,10 @@ Description: python-gammu
:alt: Bountysource
:target: https://www.bountysource.com/teams/gammu/issues?utm_source=Gammu&utm_medium=shield&utm_campaign=bounties_received
- .. image:: https://img.shields.io/pypi/dm/python-gammu.svg
+ .. image:: https://img.shields.io/pypi/v/python-gammu.svg
:alt: PyPI
:target: https://pypi.python.org/pypi/python-gammu/
- Python bindings for Gammu library.
-
Homepage
========
diff --git a/README.rst b/README.rst
index 4cab199..ee5df29 100644
--- a/README.rst
+++ b/README.rst
@@ -1,14 +1,22 @@
python-gammu
============
+Python bindings for the `Gammu library <https://wammu.eu/gammu/>`_.
+
+.. image:: https://app.codesponsor.io/embed/e9cresCoq9fvHq4ya92dgNSj/gammu/python-gammu.svg
+ :width: 888
+ :height: 68
+ :target: https://app.codesponsor.io/link/e9cresCoq9fvHq4ya92dgNSj/gammu/python-gammu
+
+
.. image:: https://travis-ci.org/gammu/python-gammu.svg?branch=master
:target: https://travis-ci.org/gammu/python-gammu
.. image:: https://ci.appveyor.com/api/projects/status/19cefdo79bqrtq8l?svg=true
:target: https://ci.appveyor.com/project/nijel/python-gammu
-.. image:: https://www.codacy.com/project/badge/c7e87df480fb4609aa48482873f5c46b
- :target: https://www.codacy.com/public/nijel/python-gammu
+.. image:: https://api.codacy.com/project/badge/Grade/c7e87df480fb4609aa48482873f5c46b
+ :target: https://www.codacy.com/app/Gammu/python-gammu
.. image:: https://scrutinizer-ci.com/g/gammu/python-gammu/badges/quality-score.png?b=master
:target: https://scrutinizer-ci.com/g/gammu/python-gammu/?branch=master
@@ -30,12 +38,10 @@ python-gammu
:alt: Bountysource
:target: https://www.bountysource.com/teams/gammu/issues?utm_source=Gammu&utm_medium=shield&utm_campaign=bounties_received
-.. image:: https://img.shields.io/pypi/dm/python-gammu.svg
+.. image:: https://img.shields.io/pypi/v/python-gammu.svg
:alt: PyPI
:target: https://pypi.python.org/pypi/python-gammu/
-Python bindings for Gammu library.
-
Homepage
========
diff --git a/python_gammu.egg-info/PKG-INFO b/python_gammu.egg-info/PKG-INFO
index 2a844f4..bcae904 100644
--- a/python_gammu.egg-info/PKG-INFO
+++ b/python_gammu.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: python-gammu
-Version: 2.9
+Version: 2.10
Summary: Gammu bindings
Home-page: https://wammu.eu/python-gammu/
Author: Michal Cihar
@@ -10,14 +10,22 @@ Download-URL: https://wammu.eu/download/python-gammu/
Description: python-gammu
============
+ Python bindings for the `Gammu library <https://wammu.eu/gammu/>`_.
+
+ .. image:: https://app.codesponsor.io/embed/e9cresCoq9fvHq4ya92dgNSj/gammu/python-gammu.svg
+ :width: 888
+ :height: 68
+ :target: https://app.codesponsor.io/link/e9cresCoq9fvHq4ya92dgNSj/gammu/python-gammu
+
+
.. image:: https://travis-ci.org/gammu/python-gammu.svg?branch=master
:target: https://travis-ci.org/gammu/python-gammu
.. image:: https://ci.appveyor.com/api/projects/status/19cefdo79bqrtq8l?svg=true
:target: https://ci.appveyor.com/project/nijel/python-gammu
- .. image:: https://www.codacy.com/project/badge/c7e87df480fb4609aa48482873f5c46b
- :target: https://www.codacy.com/public/nijel/python-gammu
+ .. image:: https://api.codacy.com/project/badge/Grade/c7e87df480fb4609aa48482873f5c46b
+ :target: https://www.codacy.com/app/Gammu/python-gammu
.. image:: https://scrutinizer-ci.com/g/gammu/python-gammu/badges/quality-score.png?b=master
:target: https://scrutinizer-ci.com/g/gammu/python-gammu/?branch=master
@@ -39,12 +47,10 @@ Description: python-gammu
:alt: Bountysource
:target: https://www.bountysource.com/teams/gammu/issues?utm_source=Gammu&utm_medium=shield&utm_campaign=bounties_received
- .. image:: https://img.shields.io/pypi/dm/python-gammu.svg
+ .. image:: https://img.shields.io/pypi/v/python-gammu.svg
:alt: PyPI
:target: https://pypi.python.org/pypi/python-gammu/
- Python bindings for Gammu library.
-
Homepage
========
diff --git a/python_gammu.egg-info/SOURCES.txt b/python_gammu.egg-info/SOURCES.txt
index f19bfce..a408192 100644
--- a/python_gammu.egg-info/SOURCES.txt
+++ b/python_gammu.egg-info/SOURCES.txt
@@ -89,6 +89,7 @@ test/data/rrule.ics
test/data/sqlite-14.sql
test/data/sqlite-15.sql
test/data/sqlite-16.sql
+test/data/sqlite-17.sql
test/data/gammu-dummy/calendar/2
test/data/gammu-dummy/calendar/22
test/data/gammu-dummy/fs/file5
diff --git a/setup.py b/setup.py
index 6f631da..a3ee70a 100755
--- a/setup.py
+++ b/setup.py
@@ -36,7 +36,7 @@ import subprocess
import sys
# some defines
-VERSION = '2.9'
+VERSION = '2.10'
GAMMU_REQUIRED = '1.37.90'
README_FILE = os.path.join(os.path.dirname(__file__), 'README.rst')
with codecs.open(README_FILE, 'r', 'utf-8') as readme:
diff --git a/test/data/sqlite-17.sql b/test/data/sqlite-17.sql
new file mode 100644
index 0000000..cb05865
--- /dev/null
+++ b/test/data/sqlite-17.sql
@@ -0,0 +1,147 @@
+CREATE TABLE gammu (
+ Version INTEGER NOT NULL DEFAULT '0' PRIMARY KEY
+);
+
+INSERT INTO gammu (Version) VALUES (17);
+
+CREATE TABLE inbox (
+ UpdatedInDB NUMERIC NOT NULL DEFAULT (datetime('now')),
+ ReceivingDateTime NUMERIC NOT NULL DEFAULT (datetime('now')),
+ Text TEXT NOT NULL,
+ SenderNumber TEXT NOT NULL DEFAULT '',
+ Coding TEXT NOT NULL DEFAULT 'Default_No_Compression',
+ UDH TEXT NOT NULL,
+ SMSCNumber TEXT NOT NULL DEFAULT '',
+ Class INTEGER NOT NULL DEFAULT '-1',
+ TextDecoded TEXT NOT NULL DEFAULT '',
+ ID INTEGER PRIMARY KEY AUTOINCREMENT,
+ RecipientID TEXT NOT NULL,
+ Processed TEXT NOT NULL DEFAULT 'false',
+ Status INTEGER NOT NULL DEFAULT '-1',
+ CHECK (Coding IN
+ ('Default_No_Compression','Unicode_No_Compression','8bit','Default_Compression','Unicode_Compression'))
+);
+
+CREATE TRIGGER update_inbox_time UPDATE ON inbox
+ BEGIN
+ UPDATE inbox SET UpdatedInDB = datetime('now') WHERE ID = old.ID;
+ END;
+
+CREATE TABLE outbox (
+ UpdatedInDB NUMERIC NOT NULL DEFAULT (datetime('now')),
+ InsertIntoDB NUMERIC NOT NULL DEFAULT (datetime('now')),
+ SendingDateTime NUMERIC NOT NULL DEFAULT (datetime('now')),
+ SendBefore time NOT NULL DEFAULT '23:59:59',
+ SendAfter time NOT NULL DEFAULT '00:00:00',
+ Text TEXT,
+ DestinationNumber TEXT NOT NULL DEFAULT '',
+ Coding TEXT NOT NULL DEFAULT 'Default_No_Compression',
+ UDH TEXT,
+ Class INTEGER DEFAULT '-1',
+ TextDecoded TEXT NOT NULL DEFAULT '',
+ ID INTEGER PRIMARY KEY AUTOINCREMENT,
+ MultiPart TEXT NOT NULL DEFAULT 'false',
+ RelativeValidity INTEGER DEFAULT '-1',
+ SenderID TEXT,
+ SendingTimeOut NUMERIC NOT NULL DEFAULT (datetime('now')),
+ DeliveryReport TEXT DEFAULT 'default',
+ CreatorID TEXT NOT NULL,
+ Retries INTEGER DEFAULT '0',
+ Priority INTEGER DEFAULT '0',
+ Status TEXT NOT NULL DEFAULT 'Reserved',
+ StatusCode INTEGER NOT NULL DEFAULT '-1',
+ CHECK (Coding IN
+ ('Default_No_Compression','Unicode_No_Compression','8bit','Default_Compression','Unicode_Compression')),
+ CHECK (DeliveryReport IN ('default','yes','no')),
+ CHECK (Status IN
+ ('SendingOK','SendingOKNoReport','SendingError','DeliveryOK','DeliveryFailed','DeliveryPending',
+ 'DeliveryUnknown','Error','Reserved'))
+);
+
+CREATE INDEX outbox_date ON outbox(SendingDateTime, SendingTimeOut);
+CREATE INDEX outbox_sender ON outbox(SenderID);
+
+CREATE TRIGGER update_outbox_time UPDATE ON outbox
+ BEGIN
+ UPDATE outbox SET UpdatedInDB = datetime('now') WHERE ID = old.ID;
+ END;
+
+CREATE TABLE outbox_multipart (
+ Text TEXT,
+ Coding TEXT NOT NULL DEFAULT 'Default_No_Compression',
+ UDH TEXT,
+ Class INTEGER DEFAULT '-1',
+ TextDecoded TEXT DEFAULT NULL,
+ ID INTEGER,
+ SequencePosition INTEGER NOT NULL DEFAULT '1',
+ Status TEXT NOT NULL DEFAULT 'Reserved',
+ StatusCode INTEGER NOT NULL DEFAULT '-1',
+ CHECK (Coding IN
+ ('Default_No_Compression','Unicode_No_Compression','8bit','Default_Compression','Unicode_Compression')),
+ CHECK (Status IN
+ ('SendingOK','SendingOKNoReport','SendingError','DeliveryOK','DeliveryFailed','DeliveryPending',
+ 'DeliveryUnknown','Error','Reserved')),
+ PRIMARY KEY (ID, SequencePosition)
+);
+
+CREATE TABLE phones (
+ ID TEXT NOT NULL,
+ UpdatedInDB NUMERIC NOT NULL DEFAULT (datetime('now')),
+ InsertIntoDB NUMERIC NOT NULL DEFAULT (datetime('now')),
+ TimeOut NUMERIC NOT NULL DEFAULT (datetime('now')),
+ Send TEXT NOT NULL DEFAULT 'no',
+ Receive TEXT NOT NULL DEFAULT 'no',
+ IMEI TEXT PRIMARY KEY NOT NULL,
+ IMSI TEXT NOT NULL,
+ NetCode TEXT DEFAULT 'ERROR',
+ NetName TEXT DEFAULT 'ERROR',
+ Client TEXT NOT NULL,
+ Battery INTEGER NOT NULL DEFAULT -1,
+ Signal INTEGER NOT NULL DEFAULT -1,
+ Sent INTEGER NOT NULL DEFAULT 0,
+ Received INTEGER NOT NULL DEFAULT 0
+);
+
+CREATE TRIGGER update_phones_time UPDATE ON phones
+ BEGIN
+ UPDATE phones SET UpdatedInDB = datetime('now') WHERE IMEI = old.IMEI;
+ END;
+
+CREATE TABLE sentitems (
+ UpdatedInDB NUMERIC NOT NULL DEFAULT (datetime('now')),
+ InsertIntoDB NUMERIC NOT NULL DEFAULT (datetime('now')),
+ SendingDateTime NUMERIC NOT NULL DEFAULT (datetime('now')),
+ DeliveryDateTime NUMERIC NULL,
+ Text TEXT NOT NULL,
+ DestinationNumber TEXT NOT NULL DEFAULT '',
+ Coding TEXT NOT NULL DEFAULT 'Default_No_Compression',
+ UDH TEXT NOT NULL,
+ SMSCNumber TEXT NOT NULL DEFAULT '',
+ Class INTEGER NOT NULL DEFAULT '-1',
+ TextDecoded TEXT NOT NULL DEFAULT '',
+ ID INTEGER,
+ SenderID TEXT NOT NULL,
+ SequencePosition INTEGER NOT NULL DEFAULT '1',
+ Status TEXT NOT NULL DEFAULT 'SendingOK',
+ StatusError INTEGER NOT NULL DEFAULT '-1',
+ TPMR INTEGER NOT NULL DEFAULT '-1',
+ RelativeValidity INTEGER NOT NULL DEFAULT '-1',
+ CreatorID TEXT NOT NULL,
+ StatusCode INTEGER NOT NULL DEFAULT '-1',
+ CHECK (Status IN
+ ('SendingOK','SendingOKNoReport','SendingError','DeliveryOK','DeliveryFailed','DeliveryPending',
+ 'DeliveryUnknown','Error')),
+ CHECK (Coding IN
+ ('Default_No_Compression','Unicode_No_Compression','8bit','Default_Compression','Unicode_Compression')) ,
+ PRIMARY KEY (ID, SequencePosition)
+);
+
+CREATE INDEX sentitems_date ON sentitems(DeliveryDateTime);
+CREATE INDEX sentitems_tpmr ON sentitems(TPMR);
+CREATE INDEX sentitems_dest ON sentitems(DestinationNumber);
+CREATE INDEX sentitems_sender ON sentitems(SenderID);
+
+CREATE TRIGGER update_sentitems_time UPDATE ON sentitems
+ BEGIN
+ UPDATE sentitems SET UpdatedInDB = datetime('now') WHERE ID = old.ID;
+ END;
diff --git a/test/test_smsd.py b/test/test_smsd.py
index 8158b02..c6576d0 100644
--- a/test/test_smsd.py
+++ b/test/test_smsd.py
@@ -56,8 +56,10 @@ def get_script():
dbver = 14
elif version < (1, 37, 90):
dbver = 15
- else:
+ elif version < (1, 38, 5):
dbver = 16
+ else:
+ dbver = 17
print('Gammu version {0}, SMSD DB version {1}'.format(version, dbver))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-gammu.git
More information about the Python-modules-commits
mailing list