From 3cf7c3ef441822c889356fd1812ebf2944a59851 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 25 Aug 2020 10:45:55 +0100 Subject: gentoo resync : 25.08.2020 --- dev-python/yappi/Manifest | 4 +--- dev-python/yappi/yappi-1.0.ebuild | 24 --------------------- dev-python/yappi/yappi-1.2.5-r1.ebuild | 38 ++++++++++++++++++++++++++++++++++ dev-python/yappi/yappi-1.2.5.ebuild | 38 ---------------------------------- 4 files changed, 39 insertions(+), 65 deletions(-) delete mode 100644 dev-python/yappi/yappi-1.0.ebuild create mode 100644 dev-python/yappi/yappi-1.2.5-r1.ebuild delete mode 100644 dev-python/yappi/yappi-1.2.5.ebuild (limited to 'dev-python/yappi') diff --git a/dev-python/yappi/Manifest b/dev-python/yappi/Manifest index e3163d07124e..e2f53e68d4f5 100644 --- a/dev-python/yappi/Manifest +++ b/dev-python/yappi/Manifest @@ -1,6 +1,4 @@ AUX yappi-1.2.5-warnings.patch 483 BLAKE2B e084ebde1a6769ace82ed1d1b878f656ffd283678acf474af866f26951231a823a930323c1d7fbdb06c01b4b06b98522ba1bfb427973261627cb9967949d8b8a SHA512 81dde3661720814ca89fb3cd20786601ae7a5362a288c7f9ebbafd4095006b863dfa3c544821b917d9abb8a2532b08d415440a21f19e14e3a67c517064f1ab61 -DIST yappi-1.0.tar.gz 38939 BLAKE2B b07b38bc07ffb6ba7aea3728ba6977680ca7f2dcc499778110aa31e733c512e5704cd580d01faf3344849df6772f110472a01328447228e9c45180beefc36f3e SHA512 d743c471ee3797b9f3b24c831fcb4ddf2cec7c13c56e567c0618eeada9a534ca0b114929da623a2c67142c61f3c38b024b25ba5e32883113148f4377f7574905 DIST yappi-1.2.5.tar.gz 928100 BLAKE2B 1d303226821d53fb215ac29f8363d9f564f9f40096b5ba8f67475c4074012316f523afb6d770cff879038cd333ef7f050b29c015e2dd2e517859f66a0e1f36f3 SHA512 ec784e76b56e8bc0c3cfe07c90d0810fa90d5a7da62f36187e8a09a9d6e01f3c2d74320de3dd3f4bf1d4a9425fee319c7a575a9d35ad5412c1501c934f1ba353 -EBUILD yappi-1.0.ebuild 547 BLAKE2B 7fa3320e99330cc4ff7066bae77435359576e14a428fedc22915904fcb14c82e72a445223456c8502c46fa140b9f32f51d8869d1128c94886b543f4993913cc0 SHA512 6c12e42115de68d28c74c09901983f59196cdd3b8267dbac446ea186d995630806bb37d38115d84df6325ef6d567858798b119d5dc038e17af965829f90465af -EBUILD yappi-1.2.5.ebuild 939 BLAKE2B 08cfb28fdb2b666e030a43cea0f72b10006cf2064ab54e71e037abe6abf9e5008fe32d1d45e5dd753bebaaff494257eaedabf2797fa6dad6e2c4550b80f5858f SHA512 78104f197454e42d7587a51d8f18b0d5621a2b520bc6c32a4dbacd98ea0aa5494c1480fc26d75e572abd4c59706ee8171a83bed1707a401e1394f718bfd9d63e +EBUILD yappi-1.2.5-r1.ebuild 976 BLAKE2B 3f047a3015a88861d59e9a2038a641ad8aced7c66f04001855ce50d37ae830bcae60e16df89ec9a6930c4649aef724311bfec311a72f555dcece057fdae3ae67 SHA512 171960875c3d2c67fabea15def17f077f7b9a0caac90ec2c195ca9d1e6256f77c2cbd3781e643d32c1c484b51c49533c4a50b77b4eedd12c1c85e4374c00739a MISC metadata.xml 488 BLAKE2B 2ac7151d74622eb9e76ce39ef336aa6c729b4249e781747916936fc88e0aac76d54626b8383c58cdb6661ef080b3ee37c8bab7eb00a4befac7b0523f5552afc2 SHA512 a85e098364030d565901db988e7848181b51db19d17eef2a97ab40ab4e318ccf03e2a72201ebe28ca56965c2327ebdf9e01f5230be9a46d4d273a08cb8473af3 diff --git a/dev-python/yappi/yappi-1.0.ebuild b/dev-python/yappi/yappi-1.0.ebuild deleted file mode 100644 index 05de5b9581f0..000000000000 --- a/dev-python/yappi/yappi-1.0.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=(python3_{6,7}) -inherit distutils-r1 - -DESCRIPTION="Yet Another Python Profiler" -HOMEPAGE="https://bitbucket.org/sumerc/yappi/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - test? ( dev-python/nose[${PYTHON_USEDEP}] )" - -python_test() { - esetup.py test -} diff --git a/dev-python/yappi/yappi-1.2.5-r1.ebuild b/dev-python/yappi/yappi-1.2.5-r1.ebuild new file mode 100644 index 000000000000..3af35387b4fd --- /dev/null +++ b/dev-python/yappi/yappi-1.2.5-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=(python3_{6,7,8}) +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') +" + +PATCHES=( + "${FILESDIR}/yappi-1.2.5-warnings.patch" +) + +python_prepare_all() { + cp tests/utils.py "${S}" || die + distutils-r1_python_prepare_all +} + +python_test() { + distutils_install_for_testing + PATH="${TEST_DIR}/scripts:${PATH}" \ + "${EPYTHON}" run_tests.py || die "tests fail with ${EPYTHON}" +} diff --git a/dev-python/yappi/yappi-1.2.5.ebuild b/dev-python/yappi/yappi-1.2.5.ebuild deleted file mode 100644 index 390429d7df2d..000000000000 --- a/dev-python/yappi/yappi-1.2.5.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=(python3_{6,7,8}) -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=" - dev-python/contextvars[${PYTHON_USEDEP}] -" - -PATCHES=( - "${FILESDIR}/yappi-1.2.5-warnings.patch" -) - -python_prepare_all() { - cp tests/utils.py "${S}" || die - distutils-r1_python_prepare_all -} - -python_test() { - distutils_install_for_testing - PATH="${TEST_DIR}/scripts:${PATH}" \ - "${EPYTHON}" run_tests.py || die "tests fail with ${EPYTHON}" -} -- cgit v1.2.3