diff options
| author | Michel Alexandre Salim <salimma@fedoraproject.org> | 2021-12-10 10:41:14 -0800 |
|---|---|---|
| committer | Michel Alexandre Salim <salimma@fedoraproject.org> | 2021-12-10 10:41:14 -0800 |
| commit | 7807f85946a7eac08a64deb000cc013fdfdc86d8 (patch) | |
| tree | cdc06e889e27030fbe885f3bd3e55b92c0e51200 /python | |
| parent | a7825db23666bcb4520a35d7dc72a54c1e64a384 (diff) | |
| download | specs-7807f85946a7eac08a64deb000cc013fdfdc86d8.tar.gz specs-7807f85946a7eac08a64deb000cc013fdfdc86d8.tar.xz specs-7807f85946a7eac08a64deb000cc013fdfdc86d8.zip | |
- python-django-postorius
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
Diffstat (limited to 'python')
| -rw-r--r-- | python/python-django-postorius.spec | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/python/python-django-postorius.spec b/python/python-django-postorius.spec deleted file mode 100644 index ee2e191..0000000 --- a/python/python-django-postorius.spec +++ /dev/null @@ -1,70 +0,0 @@ -# mailman3's TestableMaster can't be used outside of a -# source checkout? -%bcond_with tests - -%global srcname postorius - -Name: python-django-%{srcname} -Version: 1.3.6 -Release: %autorelease -Summary: Web UI for GNU Mailman -License: GPLv3+ -URL: https://gitlab.com/mailman/postorius -Source0: %{pypi_source %{srcname}} -# don't check out modules from git -Patch0: %{srcname}-tox-localdeps.patch -# use PEP503 normalized dependencies -Patch1: %{srcname}-pep503.patch - -BuildArch: noarch - -BuildRequires: python%{python3_pkgversion}-devel -BuildRequires: python%{python3_pkgversion}-setuptools - -%global _description %{expand: -The Postorius Django app provides a web user interface to access GNU Mailman.} - -%description %{_description} - - -%package -n python%{python3_pkgversion}-django-%{srcname} -Summary: %{summary} - -%description -n python%{python3_pkgversion}-django-%{srcname} %{_description} - - -%prep -%autosetup -p1 -n %{srcname}-%{version} - - -%generate_buildrequires -%if %{with tests} -%pyproject_buildrequires -t -%else -%pyproject_buildrequires -%endif - - -%build -%pyproject_wheel - - -%install -%pyproject_install -%pyproject_save_files %{srcname} - - -%if %{with tests} -%check -PYTHONPATH=$(pwd)/src:${PYTHONPATH} \ -%tox -%endif - - -%files -n python%{python3_pkgversion}-django-%{srcname} -f %{pyproject_files} -%license COPYING -%doc README.rst - - -%changelog -%autochangelog |
