diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-05-17 14:32:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-05-17 14:32:10 +0100 |
commit | 51c50bd4c895ebf56d81fecae8e45ec3b5fc3efa (patch) | |
tree | 753b6b08624c34d1ed8414bbe22c45409f7741b9 /dev-python/csv23 | |
parent | be9d77d3ac6af8f4ead98d89706f356b65578c93 (diff) | |
parent | deba8115d2c2af26df42966b91ef04ff4dd79cde (diff) |
Merge branch 'edge' into next
Diffstat (limited to 'dev-python/csv23')
-rw-r--r-- | dev-python/csv23/Manifest | 3 | ||||
-rw-r--r-- | dev-python/csv23/csv23-0.3.1.ebuild | 32 | ||||
-rw-r--r-- | dev-python/csv23/metadata.xml | 7 |
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/csv23/Manifest b/dev-python/csv23/Manifest new file mode 100644 index 000000000000..03ecf82b9bd5 --- /dev/null +++ b/dev-python/csv23/Manifest @@ -0,0 +1,3 @@ +DIST csv23-0.3.1.tar.gz 23959 BLAKE2B 076c1a3f52d4cf6283716c366c3b44d3cae4012ae7613e24193aa7d8e0ac96e4ee9d1325219dd90ada26970cb3fde093730224f0f9bda3cadc921d9a5465b317 SHA512 25a0e06529edab89e4541cd7622a980af2cc31eff62db9f659af5305bfdbdcd388354b38a6f725d81e2f39fb48bec7adb287bb0577e973b5709a38ff03456037 +EBUILD csv23-0.3.1.ebuild 780 BLAKE2B 46a4bf6757ac71c6247a611164753dc5f6da1e0bc1428ade3066a2f45e5a75d78741643b27d9c7368212a402ded715c8dd003890afb16e58d636892f479d7f5a SHA512 803cbb6bc98980d34c4c70d5f59b8d23661a89bb0e67966e073e8efd130b53ccc014c04f7f75b218abc698bb7d53fee22eeb1d6e99162ec3a9ac621cd7e9f665 +MISC metadata.xml 218 BLAKE2B 086fdcf7b63ca7bd6c58e861d717bb375e1cd372eff26d5d2eeeb176d8c5e6f10e653562abafb50eae7d7508f8e3d421b87e6a749acd0490308672828d0da697 SHA512 4558fee4c51117e21b1f42ca3edbdf1195ed297db798d6bfa0e5fbb7019654a187422b0abde7af5d800caffed66d1e55e4280e8be602bad591424d9776c46781 diff --git a/dev-python/csv23/csv23-0.3.1.ebuild b/dev-python/csv23/csv23-0.3.1.ebuild new file mode 100644 index 000000000000..c943c61bccc3 --- /dev/null +++ b/dev-python/csv23/csv23-0.3.1.ebuild @@ -0,0 +1,32 @@ +# 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}} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Python 2/3 unicode CSV compatibility layer" +HOMEPAGE=" + https://pypi.org/project/csv23/ + https://github.com/xflr6/csv23/" +SRC_URI="https://github.com/xflr6/csv23/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +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=" + test? ( + >=dev-python/pytest-4.6[${PYTHON_USEDEP}] + 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 000000000000..266e3f19ca59 --- /dev/null +++ b/dev-python/csv23/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> +</pkgmetadata> |