Matrix-common

This commit is contained in:
Alex Manning 2022-01-18 22:42:07 +00:00
parent a23d77d1b0
commit c314d369b0
5 changed files with 61 additions and 2 deletions

2
.gitmodules vendored
View file

@ -1,3 +1,3 @@
[submodule "copr-matrix-synapse"] [submodule "copr-matrix-synapse"]
path = copr-matrix-synapse path = copr-matrix-synapse
url = ssh://git@git.a09.uk:48766/alex/copr-matrix-synapse.git url = ssh://git@git.a09.uk:48765/alex/copr-matrix-synapse.git

@ -1 +1 @@
Subproject commit c6cb7c1d188f34305b7cd2b4d998f72cc0e0255d Subproject commit 69bd1e29defa4cda18df1cdbad8d132220e52173

View file

@ -0,0 +1,59 @@
# Created by pyp2rpm-3.3.7
%global pypi_name matrix_common
%global pypi_version 1.0.0
Name: python-%{pypi_name}
Version: %{pypi_version}
Release: 1%{?dist}
Summary: Common utilities for Synapse, Sydent and Sygnal
License: None
URL: https://github.com/matrix-org/matrix-python-common
Source0: %{pypi_name}-%{pypi_version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3dist(setuptools)
%description
matrix-python-commonCommon utilities for Synapse, Sydent and Sygnal.
Installationshell pip install matrix-common Usageimport matrix_common
DevelopmentIn a virtual environment with pip 21.1, runpip install -e .[dev]
To run the unit tests, you can either use:tox -e pyortrial tests To run the
linters and mypy type checker, use ./scripts-dev/lint.sh. ReleasingThe exact
steps for releasing will...
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
Requires: python3dist(attrs)
%description -n python3-%{pypi_name}
matrix-python-commonCommon utilities for Synapse, Sydent and Sygnal.
Installationshell pip install matrix-common Usageimport matrix_common
DevelopmentIn a virtual environment with pip 21.1, runpip install -e .[dev]
To run the unit tests, you can either use:tox -e pyortrial tests To run the
linters and mypy type checker, use ./scripts-dev/lint.sh. ReleasingThe exact
steps for releasing will...
%prep
%autosetup -n %{pypi_name}-%{pypi_version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
%build
%py3_build
%install
%py3_install
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.md
%{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/%{pypi_name}-%{pypi_version}-py%{python3_version}.egg-info
%changelog
* Tue Jan 18 2022 Alex Manning <mail@alex-m.co.uk> - 1.0.0-1
- Initial package.