diff options
Diffstat (limited to 'dev-python/pyformance')
-rw-r--r-- | dev-python/pyformance/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pyformance/pyformance-0.4-r2.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/pyformance/Manifest b/dev-python/pyformance/Manifest index 174633a3c7e4..3e690ea22cba 100644 --- a/dev-python/pyformance/Manifest +++ b/dev-python/pyformance/Manifest @@ -1,4 +1,5 @@ DIST pyformance-0.4-patches.tar.xz 3500 BLAKE2B 511001e9011db5ef25b802739dca51337d039193a9d3322bbf94bcb120bbbeff2e1a818217970a1a97d77cd8d7da462792248910acbb3ef586704596276b7056 SHA512 858cefd6c8b151db10c63e0d8117cd6c226bd153103993040909e8fd2ab7a41a7770a2ae6de0f395a4f9f6cce3213d7ecabc0bf647657ee04fc10d76f51e07e3 DIST pyformance-0.4.tar.gz 20683 BLAKE2B d818832b7ff43a7e1db888bdb7dc333a532c7d3365dd472f9dbb3300f676cd3cc8f82f8d1c444aa277404ff8e72843eca35e3905542700ea37b1dad3e05c8b4c SHA512 a03324977b40f5097ae4608dd7c36bdbd2a20b261c9d3e32d1be19e5fca50e17fcc24df781b6c3ab60314534368c5e9cf08bc3863d4d2d7ecc59f9af26f8d20e EBUILD pyformance-0.4-r1.ebuild 818 BLAKE2B aa2271885bedeccf71bccee042a038924eb91c83448efcdebfca9baad312c870f4097b82b81250ab9696bef0b5c8c8bc73bfc088fee759c1ed3c45946767c1fb SHA512 12f23a7cbbdf521eda58aa40e359786aafe5b880e143bf9c86b2cff252685c4df0b37f3e93c5654bd58b7bfd61be85cb71abcf8de808532bfd40e0713b94609a +EBUILD pyformance-0.4-r2.ebuild 850 BLAKE2B 8f47cc2def9b8257b4b72a7ce870df61bfa60e23c3fa43f38e33c167f1108046ce8150890926d8b199d4de3b8f4c1ed3e025f36d4385c3ea0a34249c785c0b5b SHA512 55901edcd1edab213c25d0a85c0d815e9334245f171d4db2a705368e3d7fafe8d30dd55d616821fce78893ffaced07cf926083bb99d84edc74bf7d332a41c048 MISC metadata.xml 453 BLAKE2B 23c79392fd8ec1e98ef4868885c2227aca607f950a2af79fd1e45701a886c9f0095b631c3b176fcd21c5192336a079437985dd80c5f04e636b445d5288b640eb SHA512 16608a7c69206bec3ff39df854c791d61a8a327a1e10ce5159664dc85250b82d664e827c917548686cea0a90997971eb0b05a05c186dd0bc5385bf7cc1202dc2 diff --git a/dev-python/pyformance/pyformance-0.4-r2.ebuild b/dev-python/pyformance/pyformance-0.4-r2.ebuild new file mode 100644 index 000000000000..e13cf4ffb999 --- /dev/null +++ b/dev-python/pyformance/pyformance-0.4-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Performance metrics, based on Coda Hale's Yammer metrics" +HOMEPAGE=" + https://pyformance.readthedocs.org/ + https://github.com/omergertel/pyformance/ + https://pypi.org/project/pyformance/ +" +SRC_URI+=" + https://dev.gentoo.org/~chutzpah/dist/python/${P}-patches.tar.xz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + "${WORKDIR}/${P}-patches" +) + +src_prepare() { + sed -e "s/find_packages()/find_packages(exclude=['tests'])/" \ + -i setup.py || die + distutils-r1_src_prepare +} |