mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
dev-python/commonmark: Bump to 0.9.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST commonmark-0.9.1.tar.gz 95764 BLAKE2B 1f61de784c5cf03aa5255f5fae18c48df30aab8ef135ccf85a0b7a14cfc64275476458fc0853ecfc9beee96daca31d5cccb30d218f7d5b5343844e57aa7a77ec SHA512 bacf5ef387a0c330a2128f42c42c29c1a48ae623683e6e56ad28a1621aabd72e29cd3e2d661e8207b8cc0c347d267f262a55f2145fc58f8c8aeff91e7a283324
|
||||
DIST commonmark-0.9.2.tar.gz 97077 BLAKE2B 29a013968e4c602ce31dd13e5e677e190ccf5bef71361258a4b3e9e9872b199bbf2d1d82a010b2b361152e7f8fab8865951ee46229397dd2b55145b2d4ea3f5b SHA512 8ceb69af4d68cdc6c7456ae6fe509af6f9f8fd07f74321e46cec1ac4a928967975c6ef78a2babcbbd18a9a368c3b84199e9c4bc68e53f8eb1844ce7c46c7cf7c
|
||||
|
||||
44
dev-python/commonmark/commonmark-0.9.2.ebuild
Normal file
44
dev-python/commonmark/commonmark-0.9.2.ebuild
Normal file
@@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Python parser for the CommonMark Markdown spec"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/commonmark/
|
||||
https://github.com/readthedocs/commonmark.py/
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/hypothesis-3.7.1[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
python_test() {
|
||||
local -x PYTHONIOENCODING='utf8'
|
||||
"${EPYTHON}" commonmark/tests/run_spec_tests.py || die
|
||||
}
|
||||
|
||||
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)"
|
||||
}
|
||||
Reference in New Issue
Block a user