diff options
Diffstat (limited to 'dev-python/characteristic')
4 files changed, 36 insertions, 2 deletions
diff --git a/dev-python/characteristic/Manifest b/dev-python/characteristic/Manifest index 8e41b70490d4..7d03b5a0581d 100644 --- a/dev-python/characteristic/Manifest +++ b/dev-python/characteristic/Manifest @@ -1,4 +1,5 @@ DIST characteristic-14.3.0.tar.gz 26993 BLAKE2B a24548953451da77e08678b8a204c0fc649ebff52026aafc6f80037a65f527c9a2244273420b1ce76e3ac75778f48c11bc2344296cbf34ff1e9a1e82356d52f1 SHA512 e13a86f453cd3688a74188005b82a661a9c73d9f0408d9afe9e0575e69ffe87a5327f51e2c16a9c0a653b738e7c014d5aa08e353835f0aca7897714b7ae56e83 -EBUILD characteristic-14.3.0-r1.ebuild 1037 BLAKE2B e6cd5e36a87841b2b0e46f0377ad1ec4eac4f27f658f023dbed6c347c4a40cac0efcab46350e62fb872aa9f3d579a8744a3cf07d9d312681feb395dabb3b7c25 SHA512 99971d95756ffeb601976309e78d5a16dc223b8d9270259eca7663f4ce38bd35b6fa5c1c16ff3ffa005a3618839526697f628b71c6f99559240644e406ebfdf4 -EBUILD characteristic-14.3.0-r2.ebuild 1052 BLAKE2B 4e42003cb518deb2385d5b31b8274e26e1f8085d2811ac9676dbf7107a289792ef30c318179720e314bc96da1a7667ac20557b57e714f3016e17d35c1de67e44 SHA512 e2bb4e8b6d76f66c002393a215087688c3494b55166d372ccfdecb263af1437b7050f5c6d567996c5de0ebd7ca02a86ddfe209a765b231b9f90f538ea67b0086 +EBUILD characteristic-14.3.0-r1.ebuild 1065 BLAKE2B 5e843ba6a7abff9bd21f624de926b25dddd7df5296bed00a22395bb3b8a95bf715261bcd48983127d75d96ab8e10f5dfb4e9b14f2355d00df3a784ff40f63dc6 SHA512 88df76f567856d3336d4aa350bd96327caa0a94836a5e214a8a60be1fd283b66886d20007da314c3a124b66a3eb421acfeff932d56e04ec041f9a9742eff8dc3 +EBUILD characteristic-14.3.0-r2.ebuild 1080 BLAKE2B f37d0867e415a9169c0e6d9b80cd726bd25deaeca3ce6f002298a85e02b08860297300471575922f85dbd9cd65c6b5c9a28be5fb5b2a095d1a7c85b24d219bd1 SHA512 81fa796de0d691a91289dc53c4e9e8032fca53b15187dace8c160ca6189e1e174c00be4ea75ff3316c5ed158fb5b69779ef9404687278156e915006cade0e318 +EBUILD characteristic-14.3.0-r3.ebuild 863 BLAKE2B 17c6db39cf244829a1ef11c9bfd0b6081193cbfc4996045784f3caf1fd3fd590d3a3ccf894d76e7318110d5831e5c789370c34d325fb7b58be93907c394dc777 SHA512 3e6f158da25a17df5748bbdf3f3c075eed0e1eeda41ac678152281fc97aaf4d90a833524607163fb29e0be869db345f066a1e1f557b4c952064decb20d78c56b MISC metadata.xml 389 BLAKE2B 0e2226a252bf0308d7bf33b34eee3f035bfd242736b91072eabd77e07216104961c45f8469dcfc3a8871cacb4ed619bebfd3443612bce85d1f2ec4d95a13dd21 SHA512 291bc593113bd6fa148fcb5f978ec1630808a0a6b4ec7fb40b00596c9cd2bd56357fa792af91243d96ac21fdab420d370c0d1f59570e739be22d81b8add56676 diff --git a/dev-python/characteristic/characteristic-14.3.0-r1.ebuild b/dev-python/characteristic/characteristic-14.3.0-r1.ebuild index a3a39944ebe7..ca90563a2e66 100644 --- a/dev-python/characteristic/characteristic-14.3.0-r1.ebuild +++ b/dev-python/characteristic/characteristic-14.3.0-r1.ebuild @@ -22,6 +22,8 @@ DEPEND=" test? ( dev-python/pytest[${PYTHON_USEDEP}] ) doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" +RESTRICT="!test? ( test )" + python_prepare_all() { # Prevent un-needed download during build sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/conf.py || die diff --git a/dev-python/characteristic/characteristic-14.3.0-r2.ebuild b/dev-python/characteristic/characteristic-14.3.0-r2.ebuild index 6a8425596f9d..d11fc76b6bd1 100644 --- a/dev-python/characteristic/characteristic-14.3.0-r2.ebuild +++ b/dev-python/characteristic/characteristic-14.3.0-r2.ebuild @@ -22,6 +22,8 @@ DEPEND=" test? ( dev-python/pytest[${PYTHON_USEDEP}] ) doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" +RESTRICT="!test? ( test )" + python_prepare_all() { # Prevent un-needed download during build sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/conf.py || die diff --git a/dev-python/characteristic/characteristic-14.3.0-r3.ebuild b/dev-python/characteristic/characteristic-14.3.0-r3.ebuild new file mode 100644 index 000000000000..cc3c132af490 --- /dev/null +++ b/dev-python/characteristic/characteristic-14.3.0-r3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} ) + +inherit distutils-r1 + +DESCRIPTION="Python attributes without the boilerplate" +HOMEPAGE="https://characteristic.readthedocs.org/ https://github.com/hynek/characteristic" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="doc test" + +BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest +distutils_enable_sphinx docs + +python_prepare_all() { + # Prevent un-needed download during build + sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/conf.py || die + sed -e 's|\[pytest\]|\[tool:pytest\]|' -i setup.cfg || die + distutils-r1_python_prepare_all +} |