diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-10-18 18:31:14 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-10-18 18:39:36 +0200 |
commit | d391120f6f9ba59e716a9f3b66b67d0a23a3cdb8 (patch) | |
tree | 85f3f71db90370502de751800c11e18088c94ef1 /dev-python/recommonmark | |
parent | dev-python/recommonmark: dev-py/commonmark-0.8 is incompatible (diff) | |
download | gentoo-d391120f6f9ba59e716a9f3b66b67d0a23a3cdb8.tar.gz gentoo-d391120f6f9ba59e716a9f3b66b67d0a23a3cdb8.tar.bz2 gentoo-d391120f6f9ba59e716a9f3b66b67d0a23a3cdb8.zip |
dev-python/recommonmark: Bump to 0.5.0_pre20181012 snapshot
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/recommonmark')
-rw-r--r-- | dev-python/recommonmark/Manifest | 1 | ||||
-rw-r--r-- | dev-python/recommonmark/recommonmark-0.5.0_pre20181012.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/recommonmark/Manifest b/dev-python/recommonmark/Manifest index a94d132bddcc..b83ef2cf47ae 100644 --- a/dev-python/recommonmark/Manifest +++ b/dev-python/recommonmark/Manifest @@ -1,2 +1,3 @@ DIST recommonmark-0.4.0.tar.gz 7112 BLAKE2B d0e0f95f251e859908523c90b012ef2b162823d72b87192651d08a9cb5217a8bf497caf0320cefd3e724f77d3ad4324db446ddb57de55fd308c7739b78f55c04 SHA512 30d900840093c9ee2c1a322aeaba64c06c6f236e4c86a8d7604edc7d9fb0e78d66387f844619364d9253585db3f38d212242d2798153f343bc01ad281c146c9c DIST recommonmark-33b5c2a4ec50d18d3f659aa119d3bd11452327da.tar.gz 22085 BLAKE2B 2225f8854eb92f9c905c5943c3d4db1cb56ccf22826f32101c9e8db6ac1a1658a543d58a71bfdd8650f225229be5c47658a6db9c6f535718eab5361589436d77 SHA512 4b4c3c9354c3de223c7d441b1665879d49a2f9f2328532901c69d10f4f8d90ff84e28aab3d1b4884edecd80071193ec69fbdbce735527ec2edc574b5a3d1fe88 +DIST recommonmark-fdeeda5f6fe3ed8905deb7a067cc5951a477d091.tar.gz 22249 BLAKE2B 7466fc1448b54c2fd6969fa06e10c11e7bf1f2d772d96d749de9023d60570387a5472c74d660e8bd0722d294dd2ac1dec8d7d6fc49b281eea14b1f9ce423cf94 SHA512 67fa0b13d49d1f6b08e2fa28cf127c6dadb6454329a35e1e1217ff3bc93aff1a1a040740478cfdcab1b72acd939e0a81d7d8638e7ecdcc76e2791ddc33b8f0ac diff --git a/dev-python/recommonmark/recommonmark-0.5.0_pre20181012.ebuild b/dev-python/recommonmark/recommonmark-0.5.0_pre20181012.ebuild new file mode 100644 index 000000000000..504a334376e4 --- /dev/null +++ b/dev-python/recommonmark/recommonmark-0.5.0_pre20181012.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} ) + +inherit distutils-r1 + +EGIT_COMMIT=fdeeda5f6fe3ed8905deb7a067cc5951a477d091 +MY_P=${PN}-${EGIT_COMMIT} +DESCRIPTION="Python docutils-compatibility bridge to CommonMark" +HOMEPAGE="https://recommonmark.readthedocs.io/" +SRC_URI="https://github.com/rtfd/recommonmark/archive/${EGIT_COMMIT}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/commonmark-0.8[${PYTHON_USEDEP}] + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +S=${WORKDIR}/${MY_P} + +python_test() { + pytest -vv || die "Tests fail with ${EPYTHON}" +} |