commit:     23e59f26e5da321b73e3de89a3ba0f4e82ced333
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Sun Jan  8 01:53:26 2023 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Sun Jan  8 01:53:26 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=23e59f26

dev-python/blessed: new package, add 1.19.1

Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 dev-python/blessed/blessed-1.19.1.ebuild           | 27 ++++++++++++++++++++++
 .../blessed/files/blessed-1.19.1-no_coverage.patch | 14 +++++++++++
 dev-python/blessed/metadata.xml                    | 17 ++++++++++++++
 3 files changed, 58 insertions(+)

diff --git a/dev-python/blessed/blessed-1.19.1.ebuild 
b/dev-python/blessed/blessed-1.19.1.ebuild
new file mode 100644
index 000000000..daf1d7958
--- /dev/null
+++ b/dev-python/blessed/blessed-1.19.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1
+
+DESCRIPTION="An easy, practical library for making python terminal apps"
+HOMEPAGE="https://github.com/jquast/blessed https://pypi.org/project/blessed/";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="MIT"
+KEYWORDS="~amd64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+       dev-python/six[${PYTHON_USEDEP}]
+       dev-python/wcwidth[${PYTHON_USEDEP}]
+       "
+
+PATCHES=( "${FILESDIR}/${P}-no_coverage.patch" )
+
+distutils_enable_sphinx docs
+distutils_enable_tests pytest

diff --git a/dev-python/blessed/files/blessed-1.19.1-no_coverage.patch 
b/dev-python/blessed/files/blessed-1.19.1-no_coverage.patch
new file mode 100644
index 000000000..cfdcc7873
--- /dev/null
+++ b/dev-python/blessed/files/blessed-1.19.1-no_coverage.patch
@@ -0,0 +1,14 @@
+diff --git a/tox.ini b/tox.ini
+index 6b0185f..f9788d6 100644
+--- a/tox.ini
++++ b/tox.ini
+@@ -285,9 +285,6 @@ ignore =
+ [pytest]
+ addopts =
+     --color=yes
+-    --cov
+-    --cov-append
+-    --cov-report=xml
+     --disable-pytest-warnings
+     --ignore=setup.py
+     --ignore=.tox

diff --git a/dev-python/blessed/metadata.xml b/dev-python/blessed/metadata.xml
new file mode 100644
index 000000000..353a34321
--- /dev/null
+++ b/dev-python/blessed/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Horea Christian</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Gentoo Science Project</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="pypi">blessed</remote-id>
+               <remote-id type="github">jquast/blessed</remote-id>
+               <bugs-to>https://github.com/jquast/blessed/issues</bugs-to>
+       </upstream>
+</pkgmetadata>

Reply via email to