diff --git a/CHANGELOG.txt b/CHANGELOG.txt index b4c4b91ea..5645f5ff3 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -14,6 +14,7 @@ * update pyclimacell-0.18.2 * update pycognito-2021.3.1 * update hass-nabucasa-0.43.0 + * restore (still needed) acme-1.12.0 from commit 266c660 2021-04-24 homeassistant-2021.4.6 * bump aiohomekit-0.2.61 diff --git a/app-crypt/acme/Manifest b/app-crypt/acme/Manifest index 3b11743b2..9226be377 100644 --- a/app-crypt/acme/Manifest +++ b/app-crypt/acme/Manifest @@ -1,3 +1,5 @@ DIST certbot-1.11.0.tar.gz 1419116 BLAKE2B 4749dcd897822d4e1981ef57334a493e7b729205f3ae808893ed4cab682b74c8779893378fa5cd2651b4ef681518c5aac751514104b64adfd7a17435946c46b7 SHA512 b744e44e8a7981d7b28064a2b7b5d1f47ac1ea465fa350b4f849004f38e6b3966e3118e5ebd8c1c83b9a4a065c31005c0e2cb33f75a0b04125fbe2ac17312a24 +DIST certbot-1.12.0.tar.gz 1419901 BLAKE2B 0ee1059c34ed6c73d1a066d54592917d5c65a8a193034f2d158397b559d2c7278d25fd3d4f2c4e553cd1737bfd8e871e8afba70e483fc4401cfa9deca913ded0 SHA512 1fbbba6294c6cd11a7f3b3887ac8775ed6c8cacd22879f68a4e3d8fb03021357dd0f32d8c96806b4f5b922dc243e332cfb36ac966f509fba739551e23e0d20fa EBUILD acme-1.11.0.ebuild 1727 BLAKE2B 462f6bba060515704cbf3fedb971c2216addca0ae4f2397316131543c7d3a8e62859b6e4ebc5cb7e474af69da404f925634a1b9ea4e9f0a8e7c53e621e250646 SHA512 1bdf493866fa662cd031d85f0b3aefd1b600e73581e59ad9f7d8337736e9facc68d85289ad4ec0bc714c81a3693a6057c679baac8631cb4eea496f9abf861de4 +EBUILD acme-1.12.0.ebuild 1722 BLAKE2B 028fc0e59a8902a96f1476e0114781659173a85ec6e87cede7941b61597285548924ab6ee8976624bc506463b1699d86f6dd3c092d4c990e5380e69c1ba57fd5 SHA512 757ba13b0756030605b1d8a3dfe0451a7a04fc731897581b3c52e03f90c79139d276e7eefd53999ee4d32889ecc29eb29e4de57de68e2edc5848ef4f3c49be5a MISC metadata.xml 384 BLAKE2B 55780995cb61c11ca859c9f1de17b1c22c9c92902f551ccd1ee6f030df9d513bb5519a2c62bf33bc6a5872790d033ba966e5ed137d84a4f66ab4ba7636a88887 SHA512 cf8393b25aa363bc1db4ebd23274affd1eaf999a4c2ab8d359730f421961dafd5c96fcf14c247f3f5419616116e2351d72fbf0e29301ea44ac522e865c7b0fa1 diff --git a/app-crypt/acme/acme-1.12.0.ebuild b/app-crypt/acme/acme-1.12.0.ebuild new file mode 100644 index 000000000..0fa69fe3c --- /dev/null +++ b/app-crypt/acme/acme-1.12.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=(python{3_7,3_8,3_9}) +DISTUTILS_USE_SETUPTOOLS=rdepend + +if [[ ${PV} == 9999* ]]; then + EGIT_REPO_URI="https://github.com/certbot/certbot.git" + inherit git-r3 + S=${WORKDIR}/${P}/${PN} +else + SRC_URI="https://github.com/certbot/certbot/archive/v${PV}.tar.gz -> certbot-${PV}.tar.gz" + KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" + S=${WORKDIR}/certbot-${PV}/acme +fi + +inherit distutils-r1 + +DESCRIPTION="An implementation of the ACME protocol" +HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/cryptography-2.1.4[${PYTHON_USEDEP}] + >=dev-python/idna-2.0.0[${PYTHON_USEDEP}] + >=dev-python/josepy-1.1.0[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-17.3.0[${PYTHON_USEDEP}] + dev-python/pyrfc3339[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/requests-2.10[${PYTHON_USEDEP}] + >=dev-python/requests-toolbelt-0.3.0[${PYTHON_USEDEP}] + >=dev-python/six-1.11.0[${PYTHON_USEDEP}] +" +DEPEND=" + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] + ) + test? ( + ${RDEPEND} + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +src_compile() { + python_foreach_impl run_in_build_dir default + distutils-r1_src_compile + if use doc ; then + cd docs || die + sphinx-build -b html -d _build/doctrees . _build/html + fi +} + +python_test() { + nosetests -w ${PN} || die +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + + distutils-r1_python_install_all +}