1 |
commit: 9e23b421a835d0b64807048710c660d36b8a243c |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 10 16:24:48 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 10 16:31:06 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e23b421 |
7 |
|
8 |
dev-python/ply: Version Bump |
9 |
|
10 |
Package-Manager: portage-2.2.23 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-python/ply/Manifest | 1 + |
14 |
dev-python/ply/metadata.xml | 8 ++++---- |
15 |
dev-python/ply/ply-3.8.ebuild | 44 +++++++++++++++++++++++++++++++++++++++++++ |
16 |
3 files changed, 49 insertions(+), 4 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/ply/Manifest b/dev-python/ply/Manifest |
19 |
index 164ee42..5543d78 100644 |
20 |
--- a/dev-python/ply/Manifest |
21 |
+++ b/dev-python/ply/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST ply-3.4.tar.gz 138342 SHA256 af435f11b7bdd69da5ffbc3fecb8d70a7073ec952e101764c88720cdefb2546b SHA512 6f6ee528393ff83eff2530ca468caf12e4c89b817a38302738597f1478dd41758036c8f32f88f60d1a26e70d9cfceab5530ddcfd3f058c1ee722be95c27e6bcc WHIRLPOOL f2f58e2d0c1170d35554999ca643c102d6821a7535b5782ee7317a4100cf56b5648d643c274cefd66a7b484ae3a9e952bcf4b98d50e7fd1ff220853f982a2f4c |
24 |
DIST ply-3.6.tar.gz 281690 SHA256 61367b9eb2f4b819f69ea116750305270f1df8859992c9e356d6a851f25a4b47 SHA512 1a408d7cd4cdc9d747154623672e6baaf37ad2190cb9d6d6a7c1e1cc3cb40f15547734441b8fc99ecd67d7804d767576bdf0ed219cc669bf3d0df37498c55c55 WHIRLPOOL 2868a0046519750a446b683a85966650407afc1ea32ab6d8209b46b280529ca6aa8c47816782020b4c90f6f92d4733dd07565b6518e20c7a036d743edc629496 |
25 |
+DIST ply-3.8.tar.gz 157286 SHA256 e7d1bdff026beb159c9942f7a17e102c375638d9478a7ecd4cc0c76afd8de0b8 SHA512 2c8cf0ee49ca6dec9ec8d5146e98885e871c26125fb5764988fbefae984ee94b4240f265762aaab26d6ec24989b35a4fd6905c3c0d14aac8a085e89b7d6159ef WHIRLPOOL f4258065a479033d2100c2fe9f725a8fbdfb278dabc71a6aa27d7846352dc11496cf34596a0ca0669ce72238702978f1c8a587313410218aa014b80bc98dec37 |
26 |
|
27 |
diff --git a/dev-python/ply/metadata.xml b/dev-python/ply/metadata.xml |
28 |
index 57a9a95..d643b33 100644 |
29 |
--- a/dev-python/ply/metadata.xml |
30 |
+++ b/dev-python/ply/metadata.xml |
31 |
@@ -1,8 +1,8 @@ |
32 |
<?xml version="1.0" encoding="UTF-8"?> |
33 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
34 |
<pkgmetadata> |
35 |
-<herd>python</herd> |
36 |
-<longdescription> |
37 |
+ <herd>python</herd> |
38 |
+ <longdescription> |
39 |
PLY is a Python-only implementation of the popular compiler construction |
40 |
tools lex and yacc. The implementation borrows ideas from a number of |
41 |
previous efforts; most notably John Aycock's SPARK toolkit. However, |
42 |
@@ -11,8 +11,8 @@ the C version of lex and yacc. The other significant feature of PLY is |
43 |
that it provides extensive input validation and error reporting--much |
44 |
more so than other Python parsing tools. |
45 |
</longdescription> |
46 |
-<longdescription lang="ja"> |
47 |
+ <longdescription lang="ja"> |
48 |
PLYはLexとYaccの有名なコンパイラ・コンストラクション・ツールのPython言語実装です |
49 |
-。この実装は以前の試みから幾つものアイディアを借りています。そのほとんどがJohn AycockのSPARKツールキットからです。しかしながら、実装の全体像はC言語によるLexとYaccにより近いモデルです。PLYの他の重要点は幅広い入力バリデーションとエラー報告を>提供する点です。 -- その二点は他のPython言語パーサーより優れています。 |
50 |
+。この実装は以前の試みから幾つものアイディアを借りています。そのほとんどがJohn AycockのSPARKツールキットからです。しかしながら、実装の全体像はC言語によるLexとYaccにより近いモデルです。PLYの他の重要点は幅広い入力バリデーションとエラー報告を>提供する点です。 -- その二点は他のPython言語パーサーより優れています。 |
51 |
</longdescription> |
52 |
</pkgmetadata> |
53 |
|
54 |
diff --git a/dev-python/ply/ply-3.8.ebuild b/dev-python/ply/ply-3.8.ebuild |
55 |
new file mode 100644 |
56 |
index 0000000..1e5e55f |
57 |
--- /dev/null |
58 |
+++ b/dev-python/ply/ply-3.8.ebuild |
59 |
@@ -0,0 +1,44 @@ |
60 |
+# Copyright 1999-2015 Gentoo Foundation |
61 |
+# Distributed under the terms of the GNU General Public License v2 |
62 |
+# $Id$ |
63 |
+ |
64 |
+EAPI=5 |
65 |
+ |
66 |
+PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) |
67 |
+ |
68 |
+inherit distutils-r1 |
69 |
+ |
70 |
+DESCRIPTION="Python Lex-Yacc library" |
71 |
+HOMEPAGE="http://www.dabeaz.com/ply/ https://pypi.python.org/pypi/ply" |
72 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
73 |
+ |
74 |
+LICENSE="BSD" |
75 |
+SLOT="0" |
76 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" |
77 |
+IUSE="examples" |
78 |
+ |
79 |
+RDEPEND="" |
80 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
81 |
+ |
82 |
+# See bug #458648 for reference |
83 |
+RESTRICT="test" |
84 |
+ |
85 |
+DOCS=( ANNOUNCE CHANGES TODO ) |
86 |
+ |
87 |
+PATCHES=( "${FILESDIR}/3.6-picklefile-IOError.patch" ) |
88 |
+ |
89 |
+python_test() { |
90 |
+ cp -r -l test "${BUILD_DIR}"/ || die |
91 |
+ cd "${BUILD_DIR}"/test || die |
92 |
+ |
93 |
+ local t |
94 |
+ for t in testlex.py testyacc.py; do |
95 |
+ "${PYTHON}" "${t}" || die "${t} fails with ${EPYTHON}" |
96 |
+ done |
97 |
+} |
98 |
+ |
99 |
+python_install_all() { |
100 |
+ local HTML_DOCS=( doc/. ) |
101 |
+ use examples && local EXAMPLES=( example/. ) |
102 |
+ distutils-r1_python_install_all |
103 |
+} |