commit: 1794b33cc30fe3b533a39db20f9704843f5827e1 Author: Horea Christian <chr <AT> chymera <DOT> eu> AuthorDate: Mon May 6 13:21:08 2024 +0000 Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> CommitDate: Mon May 6 13:21:08 2024 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=1794b33c
dev-python/linesep: new package, add 0.5.0 Signed-off-by: Horea Christian <chr <AT> chymera.eu> dev-python/linesep/files/linesep-0.5.0-nocov.patch | 12 +++++++++++ dev-python/linesep/linesep-0.5.0.ebuild | 25 ++++++++++++++++++++++ dev-python/linesep/metadata.xml | 16 ++++++++++++++ 3 files changed, 53 insertions(+) diff --git a/dev-python/linesep/files/linesep-0.5.0-nocov.patch b/dev-python/linesep/files/linesep-0.5.0-nocov.patch new file mode 100644 index 000000000..a27bbd4b8 --- /dev/null +++ b/dev-python/linesep/files/linesep-0.5.0-nocov.patch @@ -0,0 +1,12 @@ +diff --git a/tox.ini b/tox.ini +index 4d45597..cdd9e18 100644 +--- a/tox.ini ++++ b/tox.ini +@@ -31,7 +31,6 @@ commands = + mypy src test + + [pytest] +-addopts = --cov=linesep --no-cov-on-fail + asyncio_mode = strict + doctest_optionflags = IGNORE_EXCEPTION_DETAIL + filterwarnings = error diff --git a/dev-python/linesep/linesep-0.5.0.ebuild b/dev-python/linesep/linesep-0.5.0.ebuild new file mode 100644 index 000000000..148ff0883 --- /dev/null +++ b/dev-python/linesep/linesep-0.5.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +inherit distutils-r1 pypi + +DESCRIPTION="Handling lines with arbitrary separators" +HOMEPAGE="https://github.com/jwodder/linesep" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + test? ( + dev-python/pytest-subtests[${PYTHON_USEDEP}] + ) +" + +PATCHES=( "${FILESDIR}/${P}-nocov.patch" ) + +distutils_enable_tests pytest diff --git a/dev-python/linesep/metadata.xml b/dev-python/linesep/metadata.xml new file mode 100644 index 000000000..017856905 --- /dev/null +++ b/dev-python/linesep/metadata.xml @@ -0,0 +1,16 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>gen...@chymera.eu</email> + <name>Horea Christian</name> + </maintainer> + <maintainer type="project"> + <email>s...@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <upstream> + <remote-id type="github">jwodder/linesep</remote-id> + <remote-id type="pypi">linesep</remote-id> + </upstream> +</pkgmetadata>