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 2E646138350 for ; Thu, 30 Apr 2020 09:45:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5854EE08F4; Thu, 30 Apr 2020 09:45:31 +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 40307E08F4 for ; Thu, 30 Apr 2020 09:45:31 +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 6B34734EFDE for ; Thu, 30 Apr 2020 09:45:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AFB07211 for ; Thu, 30 Apr 2020 09:45:27 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1588239920.6f67e67d20934e98c016054a99954991163fa4e7.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/csv23/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/csv23/Manifest dev-python/csv23/csv23-0.3.ebuild dev-python/csv23/metadata.xml X-VCS-Directories: dev-python/csv23/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 6f67e67d20934e98c016054a99954991163fa4e7 X-VCS-Branch: master Date: Thu, 30 Apr 2020 09:45:27 +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: 3e412ae5-e132-4f6b-9143-920e93fe18e3 X-Archives-Hash: 1465a74c62d8d16c5c79d996f29cda79 commit: 6f67e67d20934e98c016054a99954991163fa4e7 Author: Michał Górny gentoo org> AuthorDate: Thu Apr 30 07:30:48 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Apr 30 09:45:20 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f67e67d dev-python/csv23: New dep of dev-python/pip Signed-off-by: Michał Górny gentoo.org> dev-python/csv23/Manifest | 1 + dev-python/csv23/csv23-0.3.ebuild | 30 ++++++++++++++++++++++++++++++ dev-python/csv23/metadata.xml | 7 +++++++ 3 files changed, 38 insertions(+) diff --git a/dev-python/csv23/Manifest b/dev-python/csv23/Manifest new file mode 100644 index 00000000000..a39048ce702 --- /dev/null +++ b/dev-python/csv23/Manifest @@ -0,0 +1 @@ +DIST csv23-0.3.zip 42230 BLAKE2B b0d008b7f40c395f3d838d0b0521734f0bcfc578b391ba2d03fd4719e05b68df8777587eedea05b429da40a79f323c0afbbde7586533a912466a49c989ff0039 SHA512 271758876149d846011b463d4ed541beee6a2c11d3867f92ae09a1a725b14f17cfbc19fa4a506c9dd52e6be23105664b7118068991e6f4679ce998790645691c diff --git a/dev-python/csv23/csv23-0.3.ebuild b/dev-python/csv23/csv23-0.3.ebuild new file mode 100644 index 00000000000..8e051adfab4 --- /dev/null +++ b/dev-python/csv23/csv23-0.3.ebuild @@ -0,0 +1,30 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_{6,7,8}} ) +inherit distutils-r1 + +DESCRIPTION="Python 2/3 unicode CSV compatibility layer" +HOMEPAGE=" + https://pypi.org/project/csv23/ + https://github.com/xflr6/csv23/" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.zip" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# note: upstream really uses mock at runtime +RDEPEND=" + $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2)" +BDEPEND="app-arch/unzip + test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/--cov/d' setup.cfg || die + distutils-r1_src_prepare +} diff --git a/dev-python/csv23/metadata.xml b/dev-python/csv23/metadata.xml new file mode 100644 index 00000000000..266e3f19ca5 --- /dev/null +++ b/dev-python/csv23/metadata.xml @@ -0,0 +1,7 @@ + + + + + python@gentoo.org + +