From 2bb135d378e4ea84c0200abcaccdac65e04f4796 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Fri, 19 Apr 2019 23:16:22 -0700 Subject: [PATCH] dev-python/acme: new package, dependency for acmebot Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Robin H. Johnson --- dev-python/acme/Manifest | 1 + dev-python/acme/acme-0.33.1.ebuild | 57 ++++++++++++++++++++++++++++++ dev-python/acme/metadata.xml | 15 ++++++++ 3 files changed, 73 insertions(+) create mode 100644 dev-python/acme/Manifest create mode 100644 dev-python/acme/acme-0.33.1.ebuild create mode 100644 dev-python/acme/metadata.xml diff --git a/dev-python/acme/Manifest b/dev-python/acme/Manifest new file mode 100644 index 000000000000..b9c51c4e3306 --- /dev/null +++ b/dev-python/acme/Manifest @@ -0,0 +1 @@ +DIST acme-0.33.1.tar.gz 86232 BLAKE2B 1b0145545fde66c8b897e81b78e7bb86f5473710a37b27575819ae48590a54dcbf93004be030d841edc3c6682641155c0ad892bd459a8e1773f15f5480411f47 SHA512 17837af68a9edd410b6a036f7ba1d92a486eab235cdeb6941f9ee210eb7acc660acf8804f25640f1395f51b42be1892ac1701425301365e43d67f78520664e07 diff --git a/dev-python/acme/acme-0.33.1.ebuild b/dev-python/acme/acme-0.33.1.ebuild new file mode 100644 index 000000000000..a62239e9f83b --- /dev/null +++ b/dev-python/acme/acme-0.33.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=(python2_7 python3_{4,5,6}) + +inherit distutils-r1 + +DESCRIPTION="ACME protocol implementation in Python" +HOMEPAGE="https://github.com/letsencrypt/letsencrypt + https://github.com/certbot/certbot/tree/master/acme" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +CDEPEND=" + >=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/mock[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-0.13.1[${PYTHON_USEDEP}] + dev-python/pyrfc3339[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/requests-2.6.0[${PYTHON_USEDEP}] + >=dev-python/requests-toolbelt-0.3.0[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + " +DEPEND=" + ${CDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] + ) + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/tox[${PYTHON_USEDEP}] + )" +RDEPEND="${CDEPEND}" + +python_compile_all() { + use doc && esetup.py build_sphinx +} + +python_test() { + py.test || die "Testing failed with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + + distutils-r1_python_install_all +} diff --git a/dev-python/acme/metadata.xml b/dev-python/acme/metadata.xml new file mode 100644 index 000000000000..5d4196ceee28 --- /dev/null +++ b/dev-python/acme/metadata.xml @@ -0,0 +1,15 @@ + + + + + robbat2@gentoo.org + + + python@gentoo.org + Python + + + acme + letsencrypt/letsencrypt + + -- 2.26.2