From 98c941616562782a5ad4c58a941d083ce34b26b8 Mon Sep 17 00:00:00 2001 From: Alexander Miroshnichenko Date: Wed, 3 Mar 2021 14:12:46 +0300 Subject: [PATCH] Add new package: dev-python/term2md --- dev-python/term2md/Manifest | 1 + dev-python/term2md/term2md-9999.ebuild | 29 ++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 dev-python/term2md/Manifest create mode 100644 dev-python/term2md/term2md-9999.ebuild diff --git a/dev-python/term2md/Manifest b/dev-python/term2md/Manifest new file mode 100644 index 0000000..c380122 --- /dev/null +++ b/dev-python/term2md/Manifest @@ -0,0 +1 @@ +EBUILD term2md-9999.ebuild 615 BLAKE2B 489c9a563aa7f3cce39a214b5de7806f75ef6ac7dc025743dc448074de64bf32a271ac2bf068800c0fe564ca525e350663419e08ea29036991688fbcdfce7f4f SHA512 8992e9670b2143ac5aac4b69a61ecf2e63e5f7f1b278a2f8b807c00b8f2f75eff9dbaed8d7ccc5c3da761948bcaf5abe033225ed6fd7349cdcd9e4c63a083ba7 diff --git a/dev-python/term2md/term2md-9999.ebuild b/dev-python/term2md/term2md-9999.ebuild new file mode 100644 index 0000000..4fd73a2 --- /dev/null +++ b/dev-python/term2md/term2md-9999.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{7,8,9} ) +inherit distutils-r1 + +DESCRIPTION="convert terminal control characters to markdown" +HOMEPAGE="https://github.com/jonm/term2md" + +LICENSE="MIT" +SLOT="0" + +if [ "${PV}" = "9999" ]; then + KEYWORDS="" + inherit git-r3 + EGIT_REPO_URI="https://github.com/jonm/term2md.git" +else + KEYWORDS="~amd64 ~x86" + SRC_URI="https://github.com/jonm/${PN}/archive/master.zip -> ${PN}.zip" +fi + +src_prepare() { + default + + sed -i '/pytest-runner/Id' setup.py +}