diff options
author | Michel Alexandre Salim <salimma@fedoraproject.org> | 2021-12-10 10:39:02 -0800 |
---|---|---|
committer | Michel Alexandre Salim <salimma@fedoraproject.org> | 2021-12-10 10:39:02 -0800 |
commit | a7825db23666bcb4520a35d7dc72a54c1e64a384 (patch) | |
tree | 291a18b56fdbe2f646b40be49e435e48cf0019f9 | |
parent | 825897637bac9a5f20db118be6b79acbe0348a44 (diff) | |
download | specs-a7825db23666bcb4520a35d7dc72a54c1e64a384.tar.gz specs-a7825db23666bcb4520a35d7dc72a54c1e64a384.tar.xz specs-a7825db23666bcb4520a35d7dc72a54c1e64a384.zip |
- python-django-pdb
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
-rw-r--r-- | python/python-django-pdb.spec | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/python/python-django-pdb.spec b/python/python-django-pdb.spec deleted file mode 100644 index 0bea9bb..0000000 --- a/python/python-django-pdb.spec +++ /dev/null @@ -1,72 +0,0 @@ -# upstream test project is not in PyPI -# GitHub does not have the latest release tagged -# ... and importing fails because it expects some -# settings set -%bcond_with tests - -%global srcname django-pdb - -Name: python-%{srcname} -Version: 0.6.2 -Release: %autorelease -Summary: Easier pdb debugging for Django -License: Public Domain -URL: https://github.com/tomchristie/django-pdb -# PyPI tarball doesn't contain some requirements files -Source0: %{pypi_source %{srcname}} - -BuildArch: noarch - -BuildRequires: python%{python3_pkgversion}-devel -BuildRequires: python%{python3_pkgversion}-setuptools -%if %{with tests} -# Test dependencies: -BuildRequires: python3dist(django) -%endif - -%global _description %{expand: -Adding pdb.set_trace() to your source files every time you want to break into -pdb sucks. - -Don’t do that. - -Do this.} - -%description %{_description} - - -%package -n python%{python3_pkgversion}-%{srcname} -Summary: %{summary} - -%description -n python%{python3_pkgversion}-%{srcname} %{_description} - - -%prep -%autosetup -p1 -n %{srcname}-%{version} - - -%generate_buildrequires -%pyproject_buildrequires - - -%build -%pyproject_wheel - - -%install -%pyproject_install -%pyproject_save_files django_pdb - - -%if %{with tests} -%check -%pyproject_check_import -%endif - - -%files -n python%{python3_pkgversion}-%{srcname} -f %{pyproject_files} -%doc README.rst - - -%changelog -%autochangelog |