Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-markdown-math/
Date: Tue, 30 Oct 2018 09:33:15
Message-Id: 1540890455.bfd0962ecce9e67e2b0877518be34dbd73e6c67b.mgorny@gentoo
1 commit: bfd0962ecce9e67e2b0877518be34dbd73e6c67b
2 Author: Nils Freydank <holgersson <AT> posteo <DOT> de>
3 AuthorDate: Sat Oct 27 17:54:07 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 30 09:07:35 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfd0962e
7
8 dev-python/python-markdown-math: Add new package 0.6
9
10 This package is a new dependency of >=retext-7.0.4.
11
12 Bug: https://bugs.gentoo.org/668428
13 Signed-off-by: Nils Freydank <holgersson <AT> posteo.de>
14 Package-Manager: Portage-2.3.51, Repoman-2.3.11
15 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
16
17 dev-python/python-markdown-math/Manifest | 1 +
18 dev-python/python-markdown-math/metadata.xml | 20 +++++++++++++
19 .../python-markdown-math-0.6.ebuild | 34 ++++++++++++++++++++++
20 3 files changed, 55 insertions(+)
21
22 diff --git a/dev-python/python-markdown-math/Manifest b/dev-python/python-markdown-math/Manifest
23 new file mode 100644
24 index 00000000000..81437ba1b84
25 --- /dev/null
26 +++ b/dev-python/python-markdown-math/Manifest
27 @@ -0,0 +1 @@
28 +DIST python-markdown-math-0.6.tar.gz 6406 BLAKE2B 43172ba4b36b697f196bd569c93d56d1a3a05aaa306b1f149f3b70372e624e35fc0d3f3ea3c58c6b86e00c68408a5ebfe9fcc6562fe5065c7f8a7aa8683ee084 SHA512 af5773dc5b6d8968d811487a86fd027042d381b8b5b37683b519f03f21097bafd3d174881d8201cb6524e0975cd6868781e116cec6406fa20ffd3c6b9f9d4e87
29
30 diff --git a/dev-python/python-markdown-math/metadata.xml b/dev-python/python-markdown-math/metadata.xml
31 new file mode 100644
32 index 00000000000..d1e1d1b6252
33 --- /dev/null
34 +++ b/dev-python/python-markdown-math/metadata.xml
35 @@ -0,0 +1,20 @@
36 +<?xml version="1.0" encoding="UTF-8"?>
37 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
38 +<pkgmetadata>
39 + <maintainer type="person">
40 + <email>holgersson@××××××.de</email>
41 + <name>Nils Freydank</name>
42 + </maintainer>
43 + <maintainer type="project">
44 + <email>proxy-maint@g.o</email>
45 + <name>Proxy Maintainers</name>
46 + </maintainer>
47 + <maintainer type="project">
48 + <email>python@g.o</email>
49 + <name>Python</name>
50 + </maintainer>
51 + <upstream>
52 + <remote-id type="github">mitya57/python-markdown-math</remote-id>
53 + <remote-id type="pypi">python-markdown-math</remote-id>
54 + </upstream>
55 +</pkgmetadata>
56
57 diff --git a/dev-python/python-markdown-math/python-markdown-math-0.6.ebuild b/dev-python/python-markdown-math/python-markdown-math-0.6.ebuild
58 new file mode 100644
59 index 00000000000..2beab8d6d70
60 --- /dev/null
61 +++ b/dev-python/python-markdown-math/python-markdown-math-0.6.ebuild
62 @@ -0,0 +1,34 @@
63 +# Copyright 1999-2018 Gentoo Authors
64 +# Distributed under the terms of the GNU General Public License v2
65 +
66 +EAPI=7
67 +
68 +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy pypy3 )
69 +inherit distutils-r1
70 +
71 +MY_PN="python-${PN}"
72 +
73 +DESCRIPTION="Math extension for Python-Markdown"
74 +HOMEPAGE="https://github.com/mitya57/python-markdown-math"
75 +
76 +if [[ ${PV} == *9999 ]]
77 + then
78 + inherit git-r3
79 + EGIT_REPO_URI="https://github.com/mitya57/python-markdown-math.git"
80 + else
81 + SRC_URI="mirror://pypi/${MY_PN:0:1}/${PN}/${P}.tar.gz"
82 + KEYWORDS="~amd64 ~x86"
83 +fi
84 +
85 +LICENSE="BSD"
86 +SLOT="0"
87 +KEYWORDS="~amd64 ~x86"
88 +IUSE="test"
89 +
90 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
91 +RDEPEND="${DEPEND}"
92 +BDEPEND=""
93 +
94 +python_test(){
95 + esetup.py test
96 +}