[packages/python3-django_cache_url] - python-django_cache_url.spec updated to 3.4.4 for python 3.7+
qboosh
qboosh at pld-linux.org
Sun Sep 24 13:52:17 CEST 2023
commit 8e9691980700e35f767c2ca3d65484d28e117161
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Sep 24 13:00:13 2023 +0200
- python-django_cache_url.spec updated to 3.4.4 for python 3.7+
python-django_cache_url.spec | 101 ------------------------------------------
python3-django_cache_url.spec | 48 ++++++++++++++++++++
2 files changed, 48 insertions(+), 101 deletions(-)
---
diff --git a/python-django_cache_url.spec b/python-django_cache_url.spec
deleted file mode 100644
index 26241e0..0000000
--- a/python-django_cache_url.spec
+++ /dev/null
@@ -1,101 +0,0 @@
-#
-# Conditional build:
-%bcond_without python2 # CPython 2.x module
-%bcond_without python3 # CPython 3.x module
-
-Summary: Use Cache URLs in your Django application
-Summary(pl.UTF-8): Wykorzystanie URL-i cache'a w aplikacjach Django
-Name: python-django_cache_url
-# keep 3.0.x here for python2 support
-Version: 3.0.0
-Release: 1
-License: MIT
-Group: Libraries/Python
-#Source0Download: https://pypi.org/simple/django-cache-url/
-Source0: https://files.pythonhosted.org/packages/source/d/django-cache-url/django-cache-url-%{version}.tar.gz
-# Source0-md5: f982a26f03c43177317aa0b558d7985f
-URL: https://pypi.org/project/django-cache-url/
-%if %{with python2}
-BuildRequires: python-modules >= 1:2.7
-BuildRequires: python-setuptools
-%endif
-%if %{with python3}
-BuildRequires: python3-modules >= 1:3.3
-BuildRequires: python3-setuptools
-%endif
-BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.714
-Requires: python-modules >= 1:2.7
-BuildArch: noarch
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%description
-This simple Django utility allows you to utilize the 12factor
-(<http://www.12factor.net/backing-services>) inspired CACHE_URL
-environment variable to configure your Django application.
-
-%description -l pl.UTF-8
-To proste narzędzie Django pozwala korzystać do konfiguracji aplikacji
-Django ze zmiennej środowiskowej CACHE_URL, zainspirowanej przez
-12factor (<http://www.12factor.net/backing-services>).
-
-%package -n python3-django_cache_url
-Summary: Use Cache URLs in your Django application
-Summary(pl.UTF-8): Wykorzystanie URL-i cache'a w aplikacjach Django
-Group: Libraries/Python
-Requires: python3-modules >= 1:3.3
-
-%description -n python3-django_cache_url
-This simple Django utility allows you to utilize the 12factor
-(<http://www.12factor.net/backing-services>) inspired CACHE_URL
-environment variable to configure your Django application.
-
-%description -n python3-django_cache_url -l pl.UTF-8
-To proste narzędzie Django pozwala korzystać do konfiguracji aplikacji
-Django ze zmiennej środowiskowej CACHE_URL, zainspirowanej przez
-12factor (<http://www.12factor.net/backing-services>).
-
-%prep
-%setup -q -n django-cache-url-%{version}
-
-%build
-%if %{with python2}
-%py_build
-%endif
-
-%if %{with python3}
-%py3_build
-%endif
-
-%install
-rm -rf $RPM_BUILD_ROOT
-
-%if %{with python2}
-%py_install
-
-%py_postclean
-%endif
-
-%if %{with python3}
-%py3_install
-%endif
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%if %{with python2}
-%files
-%defattr(644,root,root,755)
-%doc LICENSE README.rst
-%{py_sitescriptdir}/django_cache_url.py[co]
-%{py_sitescriptdir}/django_cache_url-%{version}-py*.egg-info
-%endif
-
-%if %{with python3}
-%files -n python3-django_cache_url
-%defattr(644,root,root,755)
-%doc LICENSE README.rst
-%{py3_sitescriptdir}/django_cache_url.py
-%{py3_sitescriptdir}/__pycache__/django_cache_url.cpython-*.py[co]
-%{py3_sitescriptdir}/django_cache_url-%{version}-py*.egg-info
-%endif
diff --git a/python3-django_cache_url.spec b/python3-django_cache_url.spec
new file mode 100644
index 0000000..366bdd5
--- /dev/null
+++ b/python3-django_cache_url.spec
@@ -0,0 +1,48 @@
+Summary: Use Cache URLs in your Django application
+Summary(pl.UTF-8): Wykorzystanie URL-i cache'a w aplikacjach Django
+Name: python3-django_cache_url
+Version: 3.4.4
+Release: 1
+License: MIT
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/django-cache-url/
+Source0: https://files.pythonhosted.org/packages/source/d/django-cache-url/django-cache-url-%{version}.tar.gz
+# Source0-md5: 764e80a7a88e2ce83e8e9e19e8d69a0c
+URL: https://pypi.org/project/django-cache-url/
+BuildRequires: python3-modules >= 1:3.7
+BuildRequires: python3-setuptools
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.714
+Requires: python3-modules >= 1:3.7
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This simple Django utility allows you to utilize the 12factor
+(<http://www.12factor.net/backing-services>) inspired CACHE_URL
+environment variable to configure your Django application.
+
+%description -l pl.UTF-8
+To proste narzędzie Django pozwala korzystać do konfiguracji aplikacji
+Django ze zmiennej środowiskowej CACHE_URL, zainspirowanej przez
+12factor (<http://www.12factor.net/backing-services>).
+
+%prep
+%setup -q -n django-cache-url-%{version}
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README.rst
+%{py3_sitescriptdir}/django_cache_url
+%{py3_sitescriptdir}/django_cache_url-%{version}-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-django_cache_url.git/commitdiff/8e9691980700e35f767c2ca3d65484d28e117161
More information about the pld-cvs-commit
mailing list