From abaa75b10f899ada8dd05b23cc03205064394bc6 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 22 Jan 2021 20:28:19 +0000 Subject: gentoo resync : 22.01.2021 --- dev-python/yappi/Manifest | 6 +++--- dev-python/yappi/yappi-1.3.0-r1.ebuild | 36 ++++++++++++++++++++++++++++++++++ dev-python/yappi/yappi-1.3.0.ebuild | 35 --------------------------------- dev-python/yappi/yappi-1.3.2.ebuild | 9 +++++---- 4 files changed, 44 insertions(+), 42 deletions(-) create mode 100644 dev-python/yappi/yappi-1.3.0-r1.ebuild delete mode 100644 dev-python/yappi/yappi-1.3.0.ebuild (limited to 'dev-python/yappi') diff --git a/dev-python/yappi/Manifest b/dev-python/yappi/Manifest index 7c1f13c87f92..c4cfc7ed6250 100644 --- a/dev-python/yappi/Manifest +++ b/dev-python/yappi/Manifest @@ -1,9 +1,9 @@ AUX yappi-1.2.5-warnings.patch 483 BLAKE2B e084ebde1a6769ace82ed1d1b878f656ffd283678acf474af866f26951231a823a930323c1d7fbdb06c01b4b06b98522ba1bfb427973261627cb9967949d8b8a SHA512 81dde3661720814ca89fb3cd20786601ae7a5362a288c7f9ebbafd4095006b863dfa3c544821b917d9abb8a2532b08d415440a21f19e14e3a67c517064f1ab61 AUX yappi-1.3.0-tests.patch 563 BLAKE2B 7415bb3e8c69634aadc605871414a17101e91e3ed8c7cf0878fab338996d386916db07fd82c4ce2e3eee32889e40a76f63b383b2a3ba4e2de9f7a9fa383cbdf1 SHA512 4f112e61bd3b38aa997b84af581d1926ae0b3078c59ec14979422a182a825a2e6e108c1066a67d7f6cdd4eff9d70b9f46f3e5c66a054b114eef9bd241a214865 DIST yappi-1.2.5.tar.gz 928100 BLAKE2B 1d303226821d53fb215ac29f8363d9f564f9f40096b5ba8f67475c4074012316f523afb6d770cff879038cd333ef7f050b29c015e2dd2e517859f66a0e1f36f3 SHA512 ec784e76b56e8bc0c3cfe07c90d0810fa90d5a7da62f36187e8a09a9d6e01f3c2d74320de3dd3f4bf1d4a9425fee319c7a575a9d35ad5412c1501c934f1ba353 -DIST yappi-1.3.0.tar.gz 928100 BLAKE2B 1d303226821d53fb215ac29f8363d9f564f9f40096b5ba8f67475c4074012316f523afb6d770cff879038cd333ef7f050b29c015e2dd2e517859f66a0e1f36f3 SHA512 ec784e76b56e8bc0c3cfe07c90d0810fa90d5a7da62f36187e8a09a9d6e01f3c2d74320de3dd3f4bf1d4a9425fee319c7a575a9d35ad5412c1501c934f1ba353 +DIST yappi-1.3.0.gh.tar.gz 936160 BLAKE2B fcb7651a188e8442f9cac8dc680cc2c944f0f20d322982eaa3f75893f8575db45144f9fac51af58e4c75001603fce08c65d5ffd02b47cceb0d4db0af0ffb1b36 SHA512 ae7c27231721df1a705905c0270feb3e469d156fd8e62fe83a8387920662eb10c5262783b74e97fb01c8ea0dcdb6b78dcce3a87ab5472f1a8f6f03849480a523 DIST yappi-1.3.2.tar.gz 936566 BLAKE2B 55f114b8ed8689944f8146cb283701b41f34e87f3e5104d7d8df239cd2afc24f1ca1bf86f99bf672735677005df6527c83c5306a7902ea45e335134a925d6e18 SHA512 7a555bf6db8d7b9d8b4e36ceda1a40319a3d0aa478c512fb0fbca678dd3966b1facffa7555dca1ffaf07461ed3ab81284bd643e331eb2e6d1ee9c99eab1acb55 EBUILD yappi-1.2.5-r1.ebuild 976 BLAKE2B 3f047a3015a88861d59e9a2038a641ad8aced7c66f04001855ce50d37ae830bcae60e16df89ec9a6930c4649aef724311bfec311a72f555dcece057fdae3ae67 SHA512 171960875c3d2c67fabea15def17f077f7b9a0caac90ec2c195ca9d1e6256f77c2cbd3781e643d32c1c484b51c49533c4a50b77b4eedd12c1c85e4374c00739a -EBUILD yappi-1.3.0.ebuild 898 BLAKE2B ae183985f61a5b527c5a110721cf522c381250d0d8f99d07484d95d76c7157db4a13110a3fab8bc55f3903fa00926c4e79735a6745a8b5790bdcdfe67418d370 SHA512 ac60d680ee6a7061e2106815d506043af43e43d91c0c3e6cf8cdbd4911d32f1a83029578c248f4534896c4b0e49e31de5728d6693726b791e8206f6559ea1bb1 -EBUILD yappi-1.3.2.ebuild 900 BLAKE2B f54c72777ded277de4adecf44db6cf82ca75fb1db444848199057c1f9d3980a4cae91bdc8315f3a0bc1d12c6c08b213022ae42f4ad61a0eb475ec507676a5b05 SHA512 322735f94b06afade0a476866a6d6c58a96911b09ca70e81b456d5c50b214ac7aa0deac6717ac4594842052cc601ce3c181770bcd0dbacbecde8727475c27e07 +EBUILD yappi-1.3.0-r1.ebuild 907 BLAKE2B 085da0e021cde0a91c56e56a7ea8b7f2a7bae0645fd479d637285e93647d35c7aff37e15ed71c9f4d0437546427f5f982426868fccae58f9128fbda41400a4a2 SHA512 6ae949544c357f187142b5022f41f4d9dc99cda46736887fc3428cf6cbc0fc898fc6110187a69590e4dfe94feb5171067b213339316fafcddef429f82250c1be +EBUILD yappi-1.3.2.ebuild 904 BLAKE2B abb4731807890906d55c1514552ca5c8f71b7d540be1fd6ddbb756c1251b5fe359d53a44437ad1064101a4201e55aa59cd2853e8a698fd854f6372798d54ffac SHA512 5b25cfb6bce1b9d6d1d5aadac1bb263be2ee57a8b55c66bdb689cd24eabdfb5845a8c48f64b77bbb85ba0d61be988f1e4340262479c1469638289e24a9f83a3b MISC metadata.xml 488 BLAKE2B 2ac7151d74622eb9e76ce39ef336aa6c729b4249e781747916936fc88e0aac76d54626b8383c58cdb6661ef080b3ee37c8bab7eb00a4befac7b0523f5552afc2 SHA512 a85e098364030d565901db988e7848181b51db19d17eef2a97ab40ab4e318ccf03e2a72201ebe28ca56965c2327ebdf9e01f5230be9a46d4d273a08cb8473af3 diff --git a/dev-python/yappi/yappi-1.3.0-r1.ebuild b/dev-python/yappi/yappi-1.3.0-r1.ebuild new file mode 100644 index 000000000000..6e3a3a01455c --- /dev/null +++ b/dev-python/yappi/yappi-1.3.0-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend +inherit distutils-r1 + +# no tags on github, no tests on pypi +COMMIT_HASH="ade55478807aa957714e0ef3e228d0cf0c68949d" + +DESCRIPTION="Yet Another Python Profiler" +HOMEPAGE="https://pypi.org/project/yappi/ https://github.com/sumerc/yappi" +SRC_URI="https://github.com/sumerc/yappi/archive/${COMMIT_HASH}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/${PN}-${COMMIT_HASH}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( dev-python/gevent[${PYTHON_USEDEP}] )" + +distutils_enable_tests unittest + +PATCHES=( + "${FILESDIR}/yappi-1.2.5-warnings.patch" + "${FILESDIR}/yappi-1.3.0-tests.patch" +) + +python_prepare_all() { + cp tests/utils.py "${S}" || die + distutils-r1_python_prepare_all +} diff --git a/dev-python/yappi/yappi-1.3.0.ebuild b/dev-python/yappi/yappi-1.3.0.ebuild deleted file mode 100644 index 3f448ea8e3c0..000000000000 --- a/dev-python/yappi/yappi-1.3.0.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=(python3_{7..9}) -DISTUTILS_USE_SETUPTOOLS=rdepend -inherit distutils-r1 - -# no tags on github, no tests on pypi -COMMIT_HASH="b6c7d9f0bb40b511f61bb82cc395ad9140a4f4b0" - -DESCRIPTION="Yet Another Python Profiler" -HOMEPAGE="https://pypi.org/project/yappi/ https://github.com/sumerc/yappi" -SRC_URI="https://github.com/sumerc/yappi/archive/${COMMIT_HASH}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-${COMMIT_HASH}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" - -#RDEPEND=" -# $(python_gen_cond_dep 'dev-python/contextvars[${PYTHON_USEDEP}]' 'python3_6') -#" - -distutils_enable_tests unittest - -PATCHES=( - "${FILESDIR}/yappi-1.2.5-warnings.patch" - "${FILESDIR}/yappi-1.3.0-tests.patch" -) - -python_prepare_all() { - cp tests/utils.py "${S}" || die - distutils-r1_python_prepare_all -} diff --git a/dev-python/yappi/yappi-1.3.2.ebuild b/dev-python/yappi/yappi-1.3.2.ebuild index ae71996be05c..b3c4ebc66022 100644 --- a/dev-python/yappi/yappi-1.3.2.ebuild +++ b/dev-python/yappi/yappi-1.3.2.ebuild @@ -2,7 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=(python3_{7..9}) + +PYTHON_COMPAT=( python3_{7..9} ) DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 @@ -17,10 +18,10 @@ S="${WORKDIR}/${PN}-${COMMIT_HASH}" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" -#RDEPEND=" -# $(python_gen_cond_dep 'dev-python/contextvars[${PYTHON_USEDEP}]' 'python3_6') -#" +BDEPEND="test? ( dev-python/gevent[${PYTHON_USEDEP}] )" distutils_enable_tests unittest -- cgit v1.2.3