Gentoo Archives: gentoo-commits

From: Sebastien Fabbro <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/CommonMark/
Date: Mon, 02 Jan 2017 16:14:01
Message-Id: 1483373625.8c959629a0c8e4c103ee3dbf6f106e1638295854.bicatali@gentoo
1 commit: 8c959629a0c8e4c103ee3dbf6f106e1638295854
2 Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 2 05:39:03 2017 +0000
4 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 2 16:13:45 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c959629
7
8 dev-python/CommonMark: initial import
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-python/CommonMark/CommonMark-0.5.4.ebuild | 34 +++++++++++++++++++++++++++
13 dev-python/CommonMark/Manifest | 1 +
14 dev-python/CommonMark/metadata.xml | 19 +++++++++++++++
15 3 files changed, 54 insertions(+)
16
17 diff --git a/dev-python/CommonMark/CommonMark-0.5.4.ebuild b/dev-python/CommonMark/CommonMark-0.5.4.ebuild
18 new file mode 100644
19 index 00000000..3f2c494
20 --- /dev/null
21 +++ b/dev-python/CommonMark/CommonMark-0.5.4.ebuild
22 @@ -0,0 +1,34 @@
23 +# Copyright 1999-2017 Gentoo Foundation
24 +# Distributed under the terms of the GNU General Public License v2
25 +# $Id$
26 +
27 +EAPI=6
28 +PYTHON_COMPAT=( python{2_7,3_4,3_5} )
29 +
30 +inherit distutils-r1
31 +
32 +DESCRIPTION="Python parser for the CommonMark Markdown spec"
33 +HOMEPAGE="https://github.com/rtfd/CommonMark-py"
34 +LICENSE="BSD"
35 +
36 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
37 +
38 +SLOT="0"
39 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
40 +
41 +IUSE=""
42 +RDEPEND="
43 + dev-python/future[${PYTHON_USEDEP}]
44 +"
45 +DEPEND="${RDEPEND}
46 + dev-python/hypothesis[${PYTHON_USEDEP}]
47 + dev-python/setuptools[${PYTHON_USEDEP}]
48 +"
49 +
50 +# unrestrict for versions >= 0.7.2
51 +RESTRICT=test
52 +
53 +python_test() {
54 + LC_ALL='en_US.utf8' LC_CTYPE='en_US.utf8' LANG=en_US.utf8 PYTHONIOENCODING=UTF-8 \
55 + esetup.py test
56 +}
57
58 diff --git a/dev-python/CommonMark/Manifest b/dev-python/CommonMark/Manifest
59 new file mode 100644
60 index 00000000..0df81f3
61 --- /dev/null
62 +++ b/dev-python/CommonMark/Manifest
63 @@ -0,0 +1 @@
64 +DIST CommonMark-0.5.4.tar.gz 120316 SHA256 34d73ec8085923c023930dfc0bcd1c4286e28a2a82de094bb72fabcc0281cbe5 SHA512 1983714a50a627f30f86af0d02dad9e52cb7b0ffce29691d0e740f587e599ead6de2412d72b895b7df772e1c81e171e56dfecaf593e611af65bd5798632a98ad WHIRLPOOL f375b772faff450af98d73b3559dabe7b7369951cd8cf9ea45046bf5de875022212b7e92daee3fa7d3fb63d44894a301991a4561ac8a8b0c78eef64c83062fad
65
66 diff --git a/dev-python/CommonMark/metadata.xml b/dev-python/CommonMark/metadata.xml
67 new file mode 100644
68 index 00000000..fc5b696
69 --- /dev/null
70 +++ b/dev-python/CommonMark/metadata.xml
71 @@ -0,0 +1,19 @@
72 +<?xml version="1.0" encoding="UTF-8"?>
73 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
74 +<pkgmetadata>
75 + <maintainer type="project">
76 + <email>python@g.o</email>
77 + <name>Python</name>
78 + </maintainer>
79 + <longdescription lang="en">
80 + Pure Python port of jgm’s commonmark.js, a Markdown parser and
81 + renderer for the CommonMark specification, using only native
82 + modules. Once both this project and the CommonMark specification
83 + are stable we will release the first 1.0 version and attempt to
84 + keep up to date with changes in commonmark.js.
85 + </longdescription>
86 + <upstream>
87 + <remote-id type="pypi">CommonMark</remote-id>
88 + <remote-id type="github">rtfd/CommonMark.py</remote-id>
89 + </upstream>
90 +</pkgmetadata>