[packages/python3-dj_email_url] - python-dj_email_url.spec updated to 1.0.6 for python 3.5+

qboosh qboosh at pld-linux.org
Sun Sep 24 11:31:21 CEST 2023


commit 78ec3262c77caccf6ece452692b855ac5c5a0e64
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Sep 24 10:26:28 2023 +0200

    - python-dj_email_url.spec updated to 1.0.6 for python 3.5+

 python-dj_email_url.spec  | 101 ----------------------------------------------
 python3-dj_email_url.spec |  49 ++++++++++++++++++++++
 2 files changed, 49 insertions(+), 101 deletions(-)
---
diff --git a/python-dj_email_url.spec b/python-dj_email_url.spec
deleted file mode 100644
index a713c0a..0000000
--- a/python-dj_email_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 an URL to configure email backend settings in your Django Application
-Summary(pl.UTF-8):	Konfigurowanie ustawień backendu e-mail w aplikacji Django przy użyciu URL-a
-Name:		python-dj_email_url
-# keep 0.x here for python2 support
-Version:	0.2.0
-Release:	1
-License:	BSD
-Group:		Libraries/Python
-#Source0Download: https://pypi.org/simple/dj-email-url/
-Source0:	https://files.pythonhosted.org/packages/source/d/dj-email-url/dj-email-url-%{version}.tar.gz
-# Source0-md5:	d509c9e369fb7762055590c6dbd67747
-URL:		https://pypi.org/project/dj-email-url/
-%if %{with python2}
-BuildRequires:	python-modules >= 1:2.7
-BuildRequires:	python-setuptools
-%endif
-%if %{with python3}
-BuildRequires:	python3-modules >= 1:3.4
-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 module allows to utilize the 12factor inspired EMAIL_URL
-environment variable to configure the email backend in a Django
-application.
-
-%description -l pl.UTF-8
-Ten moduł pozwala na konfigurowanie backendu e-mail w aplikacji Django
-przy użyciu zmiennej środowiskowej EMAIL_URL, zainspirowanej przez
-12factor.
-
-%package -n python3-dj_email_url
-Summary:	Use an URL to configure email backend settings in your Django Application
-Summary(pl.UTF-8):	Konfigurowanie ustawień backendu e-mail w aplikacji Django przy użyciu URL-a
-Group:		Libraries/Python
-Requires:	python3-modules >= 1:3.4
-
-%description -n python3-dj_email_url
-This module allows to utilize the 12factor inspired EMAIL_URL
-environment variable to configure the email backend in a Django
-application.
-
-%description -n python3-dj_email_url -l pl.UTF-8
-Ten moduł pozwala na konfigurowanie backendu e-mail w aplikacji Django
-przy użyciu zmiennej środowiskowej EMAIL_URL, zainspirowanej przez
-12factor.
-
-%prep
-%setup -q -n dj-email-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 CHANGELOG.rst README.rst
-%{py_sitescriptdir}/dj_email_url.py[co]
-%{py_sitescriptdir}/dj_email_url-%{version}-py*.egg-info
-%endif
-
-%if %{with python3}
-%files -n python3-dj_email_url
-%defattr(644,root,root,755)
-%doc CHANGELOG.rst README.rst
-%{py3_sitescriptdir}/dj_email_url.py
-%{py3_sitescriptdir}/__pycache__/dj_email_url.cpython-*.py[co]
-%{py3_sitescriptdir}/dj_email_url-%{version}-py*.egg-info
-%endif
diff --git a/python3-dj_email_url.spec b/python3-dj_email_url.spec
new file mode 100644
index 0000000..e309752
--- /dev/null
+++ b/python3-dj_email_url.spec
@@ -0,0 +1,49 @@
+Summary:	Use an URL to configure email backend settings in your Django Application
+Summary(pl.UTF-8):	Konfigurowanie ustawień backendu e-mail w aplikacji Django przy użyciu URL-a
+Name:		python3-dj_email_url
+Version:	1.0.6
+Release:	1
+License:	BSD
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/dj-email-url/
+Source0:	https://files.pythonhosted.org/packages/source/d/dj-email-url/dj-email-url-%{version}.tar.gz
+# Source0-md5:	4005c75282a07cde7aac787ed51277df
+URL:		https://pypi.org/project/dj-email-url/
+BuildRequires:	python3-modules >= 1:3.5
+BuildRequires:	python3-setuptools
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+Requires:	python3-modules >= 1:3.5
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module allows to utilize the 12factor inspired EMAIL_URL
+environment variable to configure the email backend in a Django
+application.
+
+%description -l pl.UTF-8
+Ten moduł pozwala na konfigurowanie backendu e-mail w aplikacji Django
+przy użyciu zmiennej środowiskowej EMAIL_URL, zainspirowanej przez
+12factor.
+
+%prep
+%setup -q -n dj-email-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 CHANGELOG.rst README.rst
+%{py3_sitescriptdir}/dj_email_url.py
+%{py3_sitescriptdir}/__pycache__/dj_email_url.cpython-*.py[co]
+%{py3_sitescriptdir}/dj_email_url-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-dj_email_url.git/commitdiff/78ec3262c77caccf6ece452692b855ac5c5a0e64



More information about the pld-cvs-commit mailing list