From 4f670ae081258eb5d4fdd469dc20b9fabc1d4f79 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@p37t)" Date: Sat, 25 Jul 2020 15:34:10 +0200 Subject: [PATCH] add old app-crypt/acme-1.4.0 for nabucasa compatibility --- CHANGELOG.txt | 1 + app-crypt/acme/Manifest | 3 ++ app-crypt/acme/acme-1.4.0.ebuild | 69 ++++++++++++++++++++++++++++++++ app-crypt/acme/metadata.xml | 12 ++++++ 4 files changed, 85 insertions(+) create mode 100644 app-crypt/acme/Manifest create mode 100644 app-crypt/acme/acme-1.4.0.ebuild create mode 100644 app-crypt/acme/metadata.xml diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 7ad471d99..5c268b3fa 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -28,6 +28,7 @@ * update homeassistant-0.113.1 * add some actual useflags to 0.113.1 * fix 2 typos + * add old app-crypt/acme-1.4.0 for nabucasa compatibility 2020-07-18 homeassistant-0.112.5.ebuild * remove typing diff --git a/app-crypt/acme/Manifest b/app-crypt/acme/Manifest new file mode 100644 index 000000000..d5f25882f --- /dev/null +++ b/app-crypt/acme/Manifest @@ -0,0 +1,3 @@ +DIST certbot-1.4.0.tar.gz 1381435 BLAKE2B 57d70a12ee38e1ba96f4c8c594c1940403e33d4cdf5111472a9c0c7d41061b2201792c38d9bb4ec516358f5592d2f689eeab31e1e686a534418b20eba2df4b4b SHA512 8926f724c47c0249e2e420cd8944f0b106682efaa2d9b211491ea4524fe4e64bb3ff4f21fd756996049d781a68294ab8307bd077b6d96fa00e09cbbdf4e59261 +EBUILD acme-1.4.0.ebuild 1735 BLAKE2B 6672a6522b20e85a4d8e2181674bf87dde72ebeb762db91415efb051077b191c7193ba1eb55a8ea387ae09dbdf57b766423cc62909fde4a673f14d545551f5b4 SHA512 2c555871d0ed02df90b9149282dab1a0aacd5d662a9dc9d25b5887d56a3c2cc9200503197edb7b736a960fa374918813e33a826eec28f7565d883fabb613a2e7 +MISC metadata.xml 384 BLAKE2B 55780995cb61c11ca859c9f1de17b1c22c9c92902f551ccd1ee6f030df9d513bb5519a2c62bf33bc6a5872790d033ba966e5ed137d84a4f66ab4ba7636a88887 SHA512 cf8393b25aa363bc1db4ebd23274affd1eaf999a4c2ab8d359730f421961dafd5c96fcf14c247f3f5419616116e2351d72fbf0e29301ea44ac522e865c7b0fa1 diff --git a/app-crypt/acme/acme-1.4.0.ebuild b/app-crypt/acme/acme-1.4.0.ebuild new file mode 100644 index 000000000..a728b3c4a --- /dev/null +++ b/app-crypt/acme/acme-1.4.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=(python{3_6,3_7,3_8}) + +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-1.3.4[${PYTHON_USEDEP}] + >=dev-python/idna-2.0.0[${PYTHON_USEDEP}] + >=dev-python/josepy-1.1.0[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-0.13.1[${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.9.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}] + ) + >=dev-python/setuptools-1.0[${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 +} diff --git a/app-crypt/acme/metadata.xml b/app-crypt/acme/metadata.xml new file mode 100644 index 000000000..d0f0d1620 --- /dev/null +++ b/app-crypt/acme/metadata.xml @@ -0,0 +1,12 @@ + + + + + prometheanfire@gentoo.org + Matthew Thode + + + acme + letsencrypt/letsencrypt + +