dev-python/recommonmark: Bump to 0.6.0
authorMichał Górny <mgorny@gentoo.org>
Tue, 24 Mar 2020 21:01:35 +0000 (22:01 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 24 Mar 2020 21:46:09 +0000 (22:46 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/recommonmark/Manifest
dev-python/recommonmark/metadata.xml
dev-python/recommonmark/recommonmark-0.6.0.ebuild [new file with mode: 0644]

index 63ae71d0d5a18239d3416a35b17b29e7aa6db9fd..e668658b439ba7070d7eb97817add3b309a3e35d 100644 (file)
@@ -1,4 +1,5 @@
 DIST recommonmark-0.4.0.tar.gz 7112 BLAKE2B d0e0f95f251e859908523c90b012ef2b162823d72b87192651d08a9cb5217a8bf497caf0320cefd3e724f77d3ad4324db446ddb57de55fd308c7739b78f55c04 SHA512 30d900840093c9ee2c1a322aeaba64c06c6f236e4c86a8d7604edc7d9fb0e78d66387f844619364d9253585db3f38d212242d2798153f343bc01ad281c146c9c
 DIST recommonmark-0.5.0.tar.gz 22356 BLAKE2B e22c6741e704b7017ff81282bd3297272f36396628b3a85e9e2ac5548b363a8b02f6aeb3db256b885a3a9a0ebe681da10f4f29c18f1bdb33490da55bf375b444 SHA512 e11a86961e477e9ae258df90c666fd0129a0ae858a8d5399b7f768b9e9ec5b4952ef5f9383ea91d8ccb1379e2753151387f7250588a98f43929bf3ebe78b7df9
+DIST recommonmark-0.6.0.tar.gz 24537 BLAKE2B 47f667ca0799394dc88964709efc59d1e2a68973b1c00fb41abfb514166e939b8dd0b6a0827285cfa1bb60669e08868b7a0993b6a32880fc0dd22cfefa6cf273 SHA512 44005b3fd0052cd8d4fce8a64f9d66a1ac75dc3041a28c115e922254956b2143296cbfbc0a2396b9f95691145645c4242e3be68e695b2c62ae37964014511679
 DIST recommonmark-33b5c2a4ec50d18d3f659aa119d3bd11452327da.tar.gz 22085 BLAKE2B 2225f8854eb92f9c905c5943c3d4db1cb56ccf22826f32101c9e8db6ac1a1658a543d58a71bfdd8650f225229be5c47658a6db9c6f535718eab5361589436d77 SHA512 4b4c3c9354c3de223c7d441b1665879d49a2f9f2328532901c69d10f4f8d90ff84e28aab3d1b4884edecd80071193ec69fbdbce735527ec2edc574b5a3d1fe88
 DIST recommonmark-fdeeda5f6fe3ed8905deb7a067cc5951a477d091.tar.gz 22249 BLAKE2B 7466fc1448b54c2fd6969fa06e10c11e7bf1f2d772d96d749de9023d60570387a5472c74d660e8bd0722d294dd2ac1dec8d7d6fc49b281eea14b1f9ce423cf94 SHA512 67fa0b13d49d1f6b08e2fa28cf127c6dadb6454329a35e1e1217ff3bc93aff1a1a040740478cfdcab1b72acd939e0a81d7d8638e7ecdcc76e2791ddc33b8f0ac
index 308621cf5b4244d20c03d039a39115a33da0947f..709d47aac5e1b6accc27e8532c7a7aa9e93b8657 100644 (file)
@@ -5,12 +5,8 @@
     <email>python@gentoo.org</email>
     <name>Python</name>
   </maintainer>
-  <longdescription lang="en">
-    This allows you to write CommonMark inside of Docutils and Sphinx
-    projects.
-  </longdescription>
   <upstream>
     <remote-id type="pypi">recommonmark</remote-id>
-    <remote-id type="github">rtfd/recommonmark</remote-id>
+    <remote-id type="github">readthedocs/recommonmark</remote-id>
   </upstream>
 </pkgmetadata>
diff --git a/dev-python/recommonmark/recommonmark-0.6.0.ebuild b/dev-python/recommonmark/recommonmark-0.6.0.ebuild
new file mode 100644 (file)
index 0000000..47b5cbf
--- /dev/null
@@ -0,0 +1,35 @@
+# 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_{6,7,8} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python docutils-compatibility bridge to CommonMark"
+HOMEPAGE="https://recommonmark.readthedocs.io/"
+SRC_URI="https://github.com/rtfd/recommonmark/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+       >=dev-python/commonmark-0.8.1[${PYTHON_USEDEP}]
+       >=dev-python/docutils-0.14[${PYTHON_USEDEP}]
+       >=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+       # known broken with new sphinx
+       # https://github.com/readthedocs/recommonmark/issues/164
+       sed -e 's:test_lists:_&:' \
+               -e '/CustomExtensionTests/s:SphinxIntegrationTests:object:' \
+               -i tests/test_sphinx.py || die
+
+       distutils-r1_src_prepare
+}