Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/latexcodec/
Date: Sun, 28 Jun 2020 10:41:20
Message-Id: 1593340856.669176a7eef1f4f9f93b20234cdfdbad2556a1be.juippis@gentoo
1 commit: 669176a7eef1f4f9f93b20234cdfdbad2556a1be
2 Author: William Pettersson <william <AT> ewpettersson <DOT> se>
3 AuthorDate: Sat May 2 12:22:31 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 28 10:40:56 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=669176a7
7
8 dev-python/latexcodec: new package
9
10 Closes: https://bugs.gentoo.org/720456
11 Package-Manager: Portage-2.3.89, Repoman-2.3.22
12 Signed-off-by: William Pettersson <william <AT> ewpettersson.se>
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 dev-python/latexcodec/Manifest | 1 +
16 dev-python/latexcodec/latexcodec-2.0.0.ebuild | 20 ++++++++++++++++++++
17 dev-python/latexcodec/metadata.xml | 19 +++++++++++++++++++
18 3 files changed, 40 insertions(+)
19
20 diff --git a/dev-python/latexcodec/Manifest b/dev-python/latexcodec/Manifest
21 new file mode 100644
22 index 00000000000..cd1b865795d
23 --- /dev/null
24 +++ b/dev-python/latexcodec/Manifest
25 @@ -0,0 +1 @@
26 +DIST latexcodec-2.0.0.tar.gz 29919 BLAKE2B 163fe7332aba7628265f1462570c8d22ec4044dd7b7383de8280bbc617ba4dc26e90f12e6777d690c7a8ae4f6564dbf7519bd6f57cf3dca2820a1fc647a1d7ef SHA512 3c0540b4e5dbc88908b26c68b4c6fca573b45a6b17053733b35a16716510bb67ef6099fae8e48e094a6f08be4e4eac48e889366f035ab38f80e31dd61f08a3c1
27
28 diff --git a/dev-python/latexcodec/latexcodec-2.0.0.ebuild b/dev-python/latexcodec/latexcodec-2.0.0.ebuild
29 new file mode 100644
30 index 00000000000..d3f8bec601b
31 --- /dev/null
32 +++ b/dev-python/latexcodec/latexcodec-2.0.0.ebuild
33 @@ -0,0 +1,20 @@
34 +# Copyright 1999-2020 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +PYTHON_COMPAT=( python3_{6,7,8} )
40 +
41 +inherit distutils-r1
42 +
43 +DESCRIPTION="Lexer and codec to work with LaTeX code in Python"
44 +HOMEPAGE="https://github.com/mcmtroffaes/latexcodec/ https://pypi.org/project/pybtex/"
45 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
46 +
47 +LICENSE="MIT"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86"
50 +
51 +RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
52 +
53 +distutils_enable_tests pytest
54
55 diff --git a/dev-python/latexcodec/metadata.xml b/dev-python/latexcodec/metadata.xml
56 new file mode 100644
57 index 00000000000..dda74f681e5
58 --- /dev/null
59 +++ b/dev-python/latexcodec/metadata.xml
60 @@ -0,0 +1,19 @@
61 +<?xml version="1.0" encoding="UTF-8"?>
62 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
63 +<pkgmetadata>
64 + <maintainer type="person">
65 + <email>william@××××××××××××.se</email>
66 + <name>William Pettersson</name>
67 + </maintainer>
68 + <maintainer type="project">
69 + <email>proxy-maint@g.o</email>
70 + <name>Proxy maintainers</name>
71 + </maintainer>
72 + <longdescription>
73 + Latexcodec provides a convenient way of going between text written in LaTeX and unicode. Since it is not a LaTeX compiler, it is more appropriate for short chunks of text, such as a paragraph or the values of a BibTeX entry, and it is not appropriate for a full LaTeX document. In particular, its behavior on the LaTeX commands that do not simply select characters is intended to allow the unicode representation to be understandable by a human reader, but is not canonical and may require hand tuning to produce the desired effect.
74 + </longdescription>
75 + <upstream>
76 + <remote-id type="pypi">latexcodec</remote-id>
77 + <remote-id type="github">mcmtroffaes/latexcodec</remote-id>
78 + </upstream>
79 +</pkgmetadata>