From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EBCDE13835A for ; Thu, 3 Dec 2020 08:43:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0959DE0825; Thu, 3 Dec 2020 08:43:51 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E9A04E0825 for ; Thu, 3 Dec 2020 08:43:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C435D34126B for ; Thu, 3 Dec 2020 08:43:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 431DD435 for ; Thu, 3 Dec 2020 08:43:48 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1606985024.b5f1f67cfd68452cbe5557b082b087175998361b.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-utils/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-utils/Manifest dev-python/python-utils/python-utils-2.4.0.ebuild X-VCS-Directories: dev-python/python-utils/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b5f1f67cfd68452cbe5557b082b087175998361b X-VCS-Branch: master Date: Thu, 3 Dec 2020 08:43:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cb109e44-499c-4e1e-a68c-2459bc657c37 X-Archives-Hash: db59c7abcd0da08db6a4a2c70d6b343e commit: b5f1f67cfd68452cbe5557b082b087175998361b Author: Sam James gentoo org> AuthorDate: Thu Dec 3 08:43:37 2020 +0000 Commit: Sam James gentoo org> CommitDate: Thu Dec 3 08:43:44 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5f1f67c dev-python/python-utils: bump to 2.4.0 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> dev-python/python-utils/Manifest | 1 + dev-python/python-utils/python-utils-2.4.0.ebuild | 27 +++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/dev-python/python-utils/Manifest b/dev-python/python-utils/Manifest index 187109d9611..0b9fd897533 100644 --- a/dev-python/python-utils/Manifest +++ b/dev-python/python-utils/Manifest @@ -1 +1,2 @@ DIST python-utils-2.3.0.tar.gz 19384 BLAKE2B 1746deadc8dbaf49a6499fe9c79d25c2b5cfea68e2d1b7ab6f88aa72807eedcdb338058e24a7822c6360dea36f1a044145572443c57f43f4cfed765a76e48f0b SHA512 482ccf9c635a0cbe603b69488a364d9033f8b7fada279d901725b5bf91ac13b1cd4a6b7e8d5834a9355d97d8b0803397d5e13da2b7ba72f8d8e2f7f39fee027a +DIST python-utils-2.4.0.tar.gz 22230 BLAKE2B 1c144f62a009a2470ec43341283048842cba61f1b677e8b1d197d3ef39dd1d890b364e63ed8da0b30ad5560d335ab0eb2dfc329ff6dfea86c0f64e909de730b9 SHA512 bfad0ef30383df634b89bb2206a00e45434eff9fee9ba0eeab99361bacfb56f3fb420019608b639713a7e8777870de75becb1d7b48aa09c582df27f9ebe8c512 diff --git a/dev-python/python-utils/python-utils-2.4.0.ebuild b/dev-python/python-utils/python-utils-2.4.0.ebuild new file mode 100644 index 00000000000..880245a0fc3 --- /dev/null +++ b/dev-python/python-utils/python-utils-2.4.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6..9} pypy3) + +inherit distutils-r1 + +DESCRIPTION="Collection of small Python functions & classes" +HOMEPAGE="https://pypi.org/project/python-utils/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +python_prepare_all() { + find . -name '__pycache__' -prune -exec rm -rf {} \; || die "Cleaning __pycache__ failed" + find . -name '*.pyc' -exec rm -f {} \; || die "Cleaning *.pyc failed" + sed -i -e '/--cov/d' -e '/--pep8/d' -e '/--flakes/d' pytest.ini || die + sed -i -e 's/+ pytest-runner//' setup.py || die + distutils-r1_python_prepare_all +}