summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-06-12 16:24:00 +0200
committerMichał Górny <mgorny@gentoo.org>2022-06-12 16:24:00 +0200
commitfd1c21a1de1e9744d47ff643459e67caef6b099e (patch)
treedb340e9c4a8cc8a098553f3f68b953782837d58a /dev-python/commonmark
parentdev-python/chardet: Remove old (diff)
downloadgentoo-fd1c21a1de1e9744d47ff643459e67caef6b099e.tar.gz
gentoo-fd1c21a1de1e9744d47ff643459e67caef6b099e.tar.bz2
gentoo-fd1c21a1de1e9744d47ff643459e67caef6b099e.zip
dev-python/commonmark: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/commonmark')
-rw-r--r--dev-python/commonmark/commonmark-0.9.1.ebuild44
1 files changed, 0 insertions, 44 deletions
diff --git a/dev-python/commonmark/commonmark-0.9.1.ebuild b/dev-python/commonmark/commonmark-0.9.1.ebuild
deleted file mode 100644
index ca4e537ead12..000000000000
--- a/dev-python/commonmark/commonmark-0.9.1.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
-inherit distutils-r1
-
-DESCRIPTION="Python parser for the CommonMark Markdown spec"
-HOMEPAGE="
- https://pypi.org/project/commonmark/
- https://github.com/readthedocs/commonmark.py/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- test? (
- >=dev-python/hypothesis-3.7.1[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_tests setup.py
-
-src_test() {
- local -x PYTHONIOENCODING='utf8'
- distutils-r1_src_test
-}
-
-src_prepare() {
- default
- # Fix file collision with app-text/cmark, see bug #627034
- sed -i -e "s:'cmark\( = commonmark.cmark\:main'\):'cmark.py\1:" \
- setup.py || die
-}
-
-pkg_postinst() {
- ewarn "/usr/bin/cmark has been renamed to /usr/bin/cmark.py due file"
- ewarn "collision with app-text/cmark (see bug #627034)"
-}