1 |
commit: 789cc0b4b8529d7a959466659c320c473111d13c |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 10 23:48:31 2019 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 10 23:51:49 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=789cc0b4 |
7 |
|
8 |
dev-python/recommonmark: Increase docutils dependency |
9 |
|
10 |
Closes: https://bugs.gentoo.org/672210 |
11 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
12 |
|
13 |
.../recommonmark-0.5.0_pre20181012-r1.ebuild | 34 ++++++++++++++++++++++ |
14 |
1 file changed, 34 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/recommonmark/recommonmark-0.5.0_pre20181012-r1.ebuild b/dev-python/recommonmark/recommonmark-0.5.0_pre20181012-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..be2e8f605e2 |
19 |
--- /dev/null |
20 |
+++ b/dev-python/recommonmark/recommonmark-0.5.0_pre20181012-r1.ebuild |
21 |
@@ -0,0 +1,34 @@ |
22 |
+# Copyright 1999-2019 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=6 |
26 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} ) |
27 |
+ |
28 |
+inherit distutils-r1 |
29 |
+ |
30 |
+EGIT_COMMIT=fdeeda5f6fe3ed8905deb7a067cc5951a477d091 |
31 |
+MY_P=${PN}-${EGIT_COMMIT} |
32 |
+DESCRIPTION="Python docutils-compatibility bridge to CommonMark" |
33 |
+HOMEPAGE="https://recommonmark.readthedocs.io/" |
34 |
+SRC_URI="https://github.com/rtfd/recommonmark/archive/${EGIT_COMMIT}.tar.gz -> ${MY_P}.tar.gz" |
35 |
+ |
36 |
+LICENSE="MIT" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
39 |
+IUSE="test" |
40 |
+RESTRICT="!test? ( test )" |
41 |
+ |
42 |
+RDEPEND=" |
43 |
+ >=dev-python/commonmark-0.8[${PYTHON_USEDEP}] |
44 |
+ >=dev-python/docutils-0.14[${PYTHON_USEDEP}] |
45 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
46 |
+ >=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}] |
47 |
+" |
48 |
+DEPEND="${RDEPEND} |
49 |
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )" |
50 |
+ |
51 |
+S=${WORKDIR}/${MY_P} |
52 |
+ |
53 |
+python_test() { |
54 |
+ pytest -vv || die "Tests fail with ${EPYTHON}" |
55 |
+} |