From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- dev-python/deprecation/Manifest | 1 + dev-python/deprecation/deprecation-2.0.7.ebuild | 44 +++++++++++++++++++++++++ dev-python/deprecation/metadata.xml | 17 ++++++++++ 3 files changed, 62 insertions(+) create mode 100644 dev-python/deprecation/Manifest create mode 100644 dev-python/deprecation/deprecation-2.0.7.ebuild create mode 100644 dev-python/deprecation/metadata.xml (limited to 'dev-python/deprecation') diff --git a/dev-python/deprecation/Manifest b/dev-python/deprecation/Manifest new file mode 100644 index 000000000000..c9974089d590 --- /dev/null +++ b/dev-python/deprecation/Manifest @@ -0,0 +1 @@ +DIST deprecation-2.0.7.tar.gz 17077 BLAKE2B da3fb5db53f281c29e2af40335ef4038e37d133563b85d0ea795a314fd9f2d725a98c100aca338dc9ebe60bb1000476e0debcfdc9c4583108004df207cb36747 SHA512 4412e2e95f4aa4b3d5598346a6649c8d945d7401ac2d0fba3b6f6eef567403c8454ebe537e8de646903cd0c2308f48ecb949dae3015ba7617edd2fa3a26ed429 diff --git a/dev-python/deprecation/deprecation-2.0.7.ebuild b/dev-python/deprecation/deprecation-2.0.7.ebuild new file mode 100644 index 000000000000..112502583e07 --- /dev/null +++ b/dev-python/deprecation/deprecation-2.0.7.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{6,7} ) + +inherit distutils-r1 + +DESCRIPTION="A library to handle automated deprecations" +HOMEPAGE="https://deprecation.readthedocs.io/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-python/packaging[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + dev-python/unittest2[${PYTHON_USEDEP}] + ${RDEPEND} + ) +" + +python_prepare_all() { + sed -i "s/, 'sphinx.ext.intersphinx'//" docs/conf.py || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + if use doc; then + sphinx-build docs docs/_build/html || die + HTML_DOCS=( docs/_build/html/. ) + fi +} + +python_test() { + "${EPYTHON}" -m unittest discover -v || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/deprecation/metadata.xml b/dev-python/deprecation/metadata.xml new file mode 100644 index 000000000000..1013f85c36fc --- /dev/null +++ b/dev-python/deprecation/metadata.xml @@ -0,0 +1,17 @@ + + + + + python@gentoo.org + + + prometheanfire@gentoo.org + Matthew Thode + + + deprecation + briancurtin/deprecation + https://github.com/briancurtin/deprecation/issues + + gentoo-staging + -- cgit v1.3