diff options
| author | Michel Alexandre Salim <salimma@fedoraproject.org> | 2021-12-15 11:01:19 -0800 |
|---|---|---|
| committer | Michel Alexandre Salim <salimma@fedoraproject.org> | 2021-12-15 11:01:19 -0800 |
| commit | f45de213c606ea8959106b9637131ee52d7c1e24 (patch) | |
| tree | 73af3dfbd169142c2e25a312f3906a31b06aba41 /python/python-hyperkitty.spec | |
| parent | 043f8051bca7a1e0590e038cf55f3ba34426a2e8 (diff) | |
| download | specs-f45de213c606ea8959106b9637131ee52d7c1e24.tar.gz specs-f45de213c606ea8959106b9637131ee52d7c1e24.tar.xz specs-f45de213c606ea8959106b9637131ee52d7c1e24.zip | |
- python-hyperkitty
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
Diffstat (limited to 'python/python-hyperkitty.spec')
| -rw-r--r-- | python/python-hyperkitty.spec | 96 |
1 files changed, 0 insertions, 96 deletions
diff --git a/python/python-hyperkitty.spec b/python/python-hyperkitty.spec deleted file mode 100644 index 34de99d..0000000 --- a/python/python-hyperkitty.spec +++ /dev/null @@ -1,96 +0,0 @@ -# Build doc by default -%bcond_without doc - -# mailman3's TestableMaster can't be used outside of a -# source checkout? -%bcond_with tests - -%global srcname hyperkitty -%global pypi_name HyperKitty - -Name: python-%{srcname} -Version: 1.3.5 -Release: %autorelease -Summary: A web interface to access GNU Mailman v3 archives -License: GPLv3+ -URL: https://gitlab.com/mailman/hyperkitty -Source0: %{pypi_source %{pypi_name}} -# don't check out modules from git -Patch0: %{pypi_name}-tox-localdeps.patch - -BuildArch: noarch - -BuildRequires: python%{python3_pkgversion}-devel -BuildRequires: python%{python3_pkgversion}-setuptools - -%if %{with doc} -BuildRequires: python%{python3_pkgversion}-sphinx -%endif - -%global _description %{expand: -HyperKitty is an open source Django application under development. It aims to -provide a web interface to access GNU Mailman v3 archives.} - -%description %{_description} - - -%package -n %{srcname} -Summary: %{summary} - -%description -n %{srcname} %{_description} - - -%package -n %{srcname}-doc -Summary: Documentation for %{srcname} -Suggests: %{srcname} = %{version}-%{release} - -%description -n %{srcname}-doc %{_description} - -This package contains the documentation for %{srcname}. - - -%prep -%autosetup -p1 -n %{pypi_name}-%{version} - - -%generate_buildrequires -%if %{with tests} -%pyproject_buildrequires -t -%else -%pyproject_buildrequires -%endif - - -%build -%pyproject_wheel - -%if %{with doc} -(cd doc && PYTHONPATH=..:${PYTHONPATH} make html) -%endif - - -%install -%pyproject_install -%pyproject_save_files %{srcname} - - -%if %{with tests} -%check -PYTHONPATH=$(pwd)/src:${PYTHONPATH} \ -%tox -%endif - - -%files -n %{srcname} -f %{pyproject_files} -%license COPYING.txt -%doc AUTHORS.txt README.rst - -%if %{with doc} -%files -n %{srcname}-doc -%license COPYING.txt -%doc doc/_build/html/* -%endif - - -%changelog -%autochangelog |
