diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-python/deprecation | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python/deprecation')
| -rw-r--r-- | dev-python/deprecation/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/deprecation/deprecation-2.0.7.ebuild | 44 | ||||
| -rw-r--r-- | dev-python/deprecation/metadata.xml | 17 |
3 files changed, 62 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <maintainer type="person"> + <email>prometheanfire@gentoo.org</email> + <name>Matthew Thode</name> + </maintainer> + <upstream> + <remote-id type="pypi">deprecation</remote-id> + <remote-id type="github">briancurtin/deprecation</remote-id> + <bugs-to>https://github.com/briancurtin/deprecation/issues</bugs-to> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> |
