dev-python/python-email-validator: new package, add 1.2.1

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-10-22 13:05:47 +02:00 committed by Andreas Billmeier
parent 104853231b
commit 975c82fe7f
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 69 additions and 8 deletions

View File

@ -3,10 +3,6 @@
[![OS](https://img.shields.io/badge/OS-Gentoo%20Linux-blue)](https://www.gentoo.org/)
[![pkgcheck](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/pkgcheck.yml/badge.svg)](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/pkgcheck.yml)
[![shellcheck](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/shellcheck.yml/badge.svg)](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/shellcheck.yml)
[![emerge ha-min](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-min.yml/badge.svg)](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-min.yml)
[![emerge ha-med](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-med.yml/badge.svg)](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-med.yml)
[![weekly commits](https://img.shields.io/github/commit-activity/w/onkelbeh/HomeAssistantRepository)](https://github.com/onkelbeh/HomeAssistantRepository/commits/)
[![monthly commits](https://img.shields.io/github/commit-activity/m/onkelbeh/HomeAssistantRepository)](https://github.com/onkelbeh/HomeAssistantRepository/commits/)
[![version](https://img.shields.io/github/v/release/onkelbeh/HomeAssistantRepository)](https://github.com/onkelbeh/HomeAssistantRepository/releases)
@ -27,10 +23,29 @@ If you are an author of an integration / component or other stuff related to Hom
PyPI `SDIST` tar.gz source release would be preferred, because I can automatically merge it and it will use Gentoo's mirror system. Most of the integrations/components do both. I cannot add packages only available in wheels format. Please make sure you have a proper license assigned, selected license should be unique on all platforms (
PyPI/GitHub/Sourceforge).
Currently some help on the nodejs Ebuilds would be very welcome:
* node-red
* zigbee2mqtt
* zwave-js-server (W.I.P, see https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/269)
**2023/10 Update:**
Due to a sudden significant change in the [pypi.eclass](https://devmanual.gentoo.org/eclass-reference/pypi.eclass/index.html) and other fundamental aspects of the Gentoo packaging system, we faced a complex and time-consuming task of updating our ebuilds. These changes required modifications to nearly 2000 ebuilds, impacting our ability to release updates in a timely manner.
**Why the Delay?**
1. **Eclass Changes**: The core of this delay was the extensive overhaul of the `pypi.eclass`, which required substantial updates across our entire repository.
2. **Quality Assurance**: We were committed to ensuring that the updates are thoroughly tested and that Home Assistant on Gentoo continues to meet high-quality standards.
3. **Other Commitments**: I've been juggling multiple responsibilities, which added to the time it took to complete these updates. Your understanding and patience are greatly appreciated.
4. **Community Engagement**: We sought feedback from our users and engaged with the Gentoo community to address any issues and concerns that emerged during the update process.
We appreciate your support and understanding during this period of adjustment. We are now pleased to announce that a new release is getting ready, and we are excited to deliver an updated version of Home Assistant for Gentoo.
**How You Can Help:**
We welcome assistance in maintaining and improving this repository. If you have the skills and time to contribute to ebuild maintenance, your help would be greatly appreciated. Please feel free to reach out and get involved in the project.
Thank you for your continued support and understanding.
Happy automating!
## 2023-03 changed main Ebuild SRC_URI to Pypi
As the current translation files have been removed from the core (https://developers.home-assistant.io/blog/2023/02/06/translations-files-removed-from-core/), I have switched SRC_URI to Pypi, the SDIST there contains all artifacts including the translations. Unfortunately tests are not part of the PyPi SDIST, so currently we have none. I'll try to pull in the tests from the Github Tarball in one of the next Releases.

View File

@ -0,0 +1,2 @@
DIST python-email-validator-1.2.1.gh.tar.gz 24348 BLAKE2B 7cd19c07bd0b8c467c0f0ec15376f0677305c6025eff5a86854dfd7cad3fe6971e218e724d86d4040af3f590fe5e841e469dea7dc8526031dccb494845848630 SHA512 e758518ef114e08cca0f83c681e6ff7ec6fad54c1e0bba727ee0f8917e93040ed3873ba0207e21a4830208d98637937294c5c28d67c317dc4ad3351c7d3f99a4
EBUILD python-email-validator-1.2.1.ebuild 1322 BLAKE2B a06e3f0d85e89a8c268adf0299bd51f5235d824dffc8c658568416647d66606ae7fe403d8f1341fd52a3bd99bea163e2655c810165cbe83518be30fc7b6f300e SHA512 92415eece9ff22ae0405992a5338002441537789c37f59dbd5ddd612d838aedfe14f7c43dc09784d28a2845aeac844b2e0b13254b94673147531b043ad75c233

View File

@ -0,0 +1,44 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
DESCRIPTION="A robust email syntax and deliverability validation library"
HOMEPAGE="
https://github.com/JoshData/python-email-validator/
https://pypi.org/project/email-validator/
"
SRC_URI="
https://github.com/JoshData/python-email-validator/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="CC0-1.0"
KEYWORDS="amd64 arm arm64 x86"
SLOT="0"
RDEPEND="
>=dev-python/idna-2.8[${PYTHON_USEDEP}]
>=dev-python/dnspython-1.15.0[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
EPYTEST_DESELECT=(
# these tests rely on access to gmail.com
tests/test_main.py::test_deliverability_found
tests/test_main.py::test_deliverability_fails
# these tests rely on example.com being resolvable
"tests/test_main.py::test_email_example_reserved_domain[me@mail.example]"
"tests/test_main.py::test_email_example_reserved_domain[me@example.com]"
"tests/test_main.py::test_email_example_reserved_domain[me@mail.example.com]"
tests/test_main.py::test_validate_email__with_caching_resolver
tests/test_main.py::test_main_single_good_input
tests/test_main.py::test_main_multi_input
tests/test_main.py::test_main_input_shim
)