From 07a749a1d998308232f5415d110bdb8a5b88cad21d2513a4b79596adc64b5161 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 13 Jun 2025 12:33:24 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-validate_email?expand=0&rev=10 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + python-validate_email.changes | 39 ++++++++++++++++++++++++ python-validate_email.spec | 57 +++++++++++++++++++++++++++++++++++ validate_email-1.3.tar.gz | 3 ++ 5 files changed, 123 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-validate_email.changes create mode 100644 python-validate_email.spec create mode 100644 validate_email-1.3.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-validate_email.changes b/python-validate_email.changes new file mode 100644 index 0000000..2f5eca9 --- /dev/null +++ b/python-validate_email.changes @@ -0,0 +1,39 @@ +------------------------------------------------------------------- +Fri Jun 13 12:33:09 UTC 2025 - Markéta Machová + +- Convert to pip-based build + +------------------------------------------------------------------- +Fri Apr 21 12:38:28 UTC 2023 - Dirk Müller + +- add sle15_python_module_pythons (jsc#PED-68) + +------------------------------------------------------------------- +Thu Apr 13 22:45:46 UTC 2023 - Matej Cepl + +- Make calling of %{sle15modernpython} optional. + +------------------------------------------------------------------- +Thu Mar 14 12:22:10 UTC 2019 - Tomáš Chvátal + +- Execute fdupes + +------------------------------------------------------------------- +Thu May 10 15:45:32 UTC 2018 - toddrme2178@gmail.com + +- Don't forget python-rpm-macros + +------------------------------------------------------------------- +Wed Dec 13 15:24:26 UTC 2017 - tchvatal@suse.com + +- Distribute LICENSE + +------------------------------------------------------------------- +Wed Dec 13 15:23:08 UTC 2017 - tchvatal@suse.com + +- Convert to singlespec + +------------------------------------------------------------------- +Mon Dec 4 13:30:56 UTC 2017 - tampakrap@opensuse.org + +- Initial package diff --git a/python-validate_email.spec b/python-validate_email.spec new file mode 100644 index 0000000..630ee33 --- /dev/null +++ b/python-validate_email.spec @@ -0,0 +1,57 @@ +# +# spec file for package python-validate_email +# +# Copyright (c) 2025 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?sle15_python_module_pythons} +Name: python-validate_email +Version: 1.3 +Release: 0 +Summary: Verify if an email address is valid and really exists +License: LGPL-3.0-or-later +Group: Development/Languages/Python +URL: https://github.com/syrusakbary/validate_email +Source: https://files.pythonhosted.org/packages/source/v/validate_email/validate_email-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch +%python_subpackages + +%description +Validate_email is a package for Python that check if an email is valid, +properly formatted and really exists. + +%prep +%setup -q -n validate_email-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%doc README.rst +%license LICENSE +%{python_sitelib}/validate_email.py +%pycache_only %{python_sitelib}/__pycache__/validate_email* +%{python_sitelib}/validate_email-%{version}*-info + +%changelog diff --git a/validate_email-1.3.tar.gz b/validate_email-1.3.tar.gz new file mode 100644 index 0000000..1b43135 --- /dev/null +++ b/validate_email-1.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:784719dc5f780be319cdd185dc85dd93afebdb6ebb943811bc4c7c5f9c72aeaf +size 4694