Update to v1.1.0

This commit is contained in:
Kai A. Hiller 2022-02-12 00:19:18 +01:00
parent 8f9fee05c6
commit c960f3752e
4 changed files with 6 additions and 49 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
/matrix-common-1.0.0.tar.gz
/matrix-common-1.1.0.tar.gz

View file

@ -1,45 +0,0 @@
From a24740f61299cfc628715212def51318bde00c7b Mon Sep 17 00:00:00 2001
From: "Kai A. Hiller" <V02460@gmail.com>
Date: Wed, 26 Jan 2022 21:55:09 +0100
Subject: [PATCH 1/2] Add test extra
---
setup.cfg | 5 +++--
tox.ini | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/setup.cfg b/setup.cfg
index d54b7a4..75f55d6 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -23,11 +23,12 @@ matrix_common = py.typed
[options.extras_require]
-dev =
- # for tests
+test =
tox
twisted
aiounittest
+dev =
+ %(test)s
# for type checking
mypy == 0.910
# for linting
diff --git a/tox.ini b/tox.ini
index 291e9b2..952b7ea 100644
--- a/tox.ini
+++ b/tox.ini
@@ -15,7 +15,7 @@ isolated_build = true
# creates a symlink to the project directory instead of unpacking the sdist.
usedevelop=true
-extras = dev
+extras = test
commands =
python -m twisted.trial tests
--
2.34.1

View file

@ -3,15 +3,13 @@
%global pymodulename matrix_common
Name: python-%{srcname}
Version: 1.0.0
Version: 1.1.0
Release: 1%{?dist}
Summary: Common utilities for Synapse, Sydent and Sygnal
License: ASL 2.0
URL: https://github.com/matrix-org/%{releasename}
Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
# https://github.com/matrix-org/matrix-python-common/pull/19
Patch0: 0001-Add-test-extra.patch
BuildArch: noarch
BuildRequires: python3-devel
@ -56,6 +54,9 @@ find . -maxdepth 2 -name '__init__.py' -exec dirname {} \; | grep -v ^\./tests |
%changelog
* Fri Feb 11 2022 Kai A. Hiller <V02460@gmail.com> - 1.1.0-1
- Update to v1.1.0
* Sat Jan 08 2022 Kai A. Hiller <V02460@gmail.com> - 1.0.0-1
- Initial package
- Fixes rhbz#2038993

View file

@ -1 +1 @@
SHA512 (matrix-common-1.0.0.tar.gz) = 0050243ce3930962934f94fe1c990dc97ce803e79998ee7e6c7dafdf5ca4736c8c06fd4f52223b81f2ceb91a8bcf70f6488559f7935a9bd087c33a11430af8cd
SHA512 (matrix-common-1.1.0.tar.gz) = 22cb3844f4e442e92c1a1dc1e5d0559525c0e375063a5adb0fe7c7b5051d94cbdeb114ee12acf84ffc97e4fd9b351417a6a624fd156c98acee5dc1bb650eb2a7