diff options
Diffstat (limited to 'dev-python/truststore')
-rw-r--r-- | dev-python/truststore/Manifest | 2 | ||||
-rw-r--r-- | dev-python/truststore/truststore-0.8.0.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/truststore/Manifest b/dev-python/truststore/Manifest index 5a73dcf20ff6..cdd6c5b087d2 100644 --- a/dev-python/truststore/Manifest +++ b/dev-python/truststore/Manifest @@ -1,3 +1,5 @@ DIST truststore-0.7.0.gh.tar.gz 24953 BLAKE2B c94c832410ecdf101d5b5f27fa1e48205e5fbafe4b51a2583d7a44b2501cff43f693017c572f08f9a0bb7ed6fd3bf1a73401e1b628e8a690f34d1c9b7577c755 SHA512 e3a4e751984668c571004d111df9f5e449db3269b7d6b4224dd6aad03d2a066260c9dc8e1f1573b9fd062bf4b1fe486510915ebc1cd9ff20e5626c033f56b519 +DIST truststore-0.8.0.gh.tar.gz 25619 BLAKE2B 3c1beeea036274349e31ea45741e2cdfb84f468a3073dcb67618cb4907831a83aac90f774c7a0309c35b5c303e490a56ed0623ae1b3d5ba4189a2ffefd05f56f SHA512 9492874b2c0eb5ba011c0d4af6fc4e2d1664686458775344c928e25248b0d54f776d9400138330b225146402345ab8d5ccb9f73b5db51e566342855a8b4ac579 EBUILD truststore-0.7.0.ebuild 1061 BLAKE2B 44d8812211a760355066ca6470d73570f1ce6faebee8ef01bb23a658022df10f151376592e0eea1fe914535fce87b5a3981868478aad289470a83f0ce84bbb07 SHA512 53036673a09eb16cd403bdf2e8c90ce0782d9c385dfa729c43a50827b31aa70314244ef44d54e0c093ffc6b9770e6d285bbc0a239408ee47a8aaf2f98c87c3d9 +EBUILD truststore-0.8.0.ebuild 1067 BLAKE2B bd1394e72a5b5976e01990a3815f80660f9f7e931f175f664f00e92cca1f74048cabe8525fe708c87d169b7ad8d70a13f56ed05e325480733ecff32470820ca4 SHA512 a28a773c7f8ae5ad7b469f699c91df670375f8b4b74d9319d6b163117d8950885433afac2c895ce772411a602b4a4ff08417fc4197f5a486852952364b75922f MISC metadata.xml 378 BLAKE2B 26c6338dabc3baee4f0a61e4d64b538bd90ca5389b7da7321c92d3063f62861f7100871318d8c7ed1d4ade26196e87c966a91c872b1308f8b8ae1bd23451d118 SHA512 8fc959454ce19667c97ef288ed1851d3dc78eedbf71d23873f8dcadecccc2e15e99957c8838cf10b94b44422ff7484c58a249c1911ba3b18344f587151b51e8b diff --git a/dev-python/truststore/truststore-0.8.0.ebuild b/dev-python/truststore/truststore-0.8.0.ebuild new file mode 100644 index 000000000000..8f66cf90aeaf --- /dev/null +++ b/dev-python/truststore/truststore-0.8.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Verify certificates using native system trust stores" +HOMEPAGE=" + https://github.com/sethmlarson/truststore/ + https://pypi.org/project/truststore/ +" +SRC_URI=" + https://github.com/sethmlarson/truststore/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +PROPERTIES="test_network" +RESTRICT="test" + +BDEPEND=" + test? ( + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-httpserver[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio -p pytest_httpserver +} |