1 |
commit: ff39bee0eeb27a3019e5895b0b7f4a33d19451b2 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 3 09:14:50 2016 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 3 09:15:03 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff39bee0 |
7 |
|
8 |
dev-python/pycparser: Bump to version 2.17 |
9 |
|
10 |
Package-Manager: portage-2.3.2 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
dev-python/pycparser/Manifest | 1 + |
14 |
dev-python/pycparser/pycparser-2.17.ebuild | 43 ++++++++++++++++++++++++++++++ |
15 |
2 files changed, 44 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/pycparser/Manifest b/dev-python/pycparser/Manifest |
18 |
index d1ca0fe..6f69320 100644 |
19 |
--- a/dev-python/pycparser/Manifest |
20 |
+++ b/dev-python/pycparser/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST pycparser-2.14.tar.gz 223295 SHA256 7959b4a74abdc27b312fed1c21e6caf9309ce0b29ea86b591fd2e99ecdf27f73 SHA512 d5b9ab434a8944898ac23a4f51189db77b02b993bf3e3ca018852b117fc0eb43e460b156beaa5c1d631ad71c81e1649113e9fff7e33506b1e7d4de24d8b464c6 WHIRLPOOL 4a541ce696298a355d4e3325a10dffd47bd26756b0164da82b70090310edfacf0428ed9e26de7be7e3d4c2c952ee664262a212562852fe29f909ab0631bfd79f |
23 |
DIST pycparser-2.16.tar.gz 230060 SHA256 108f9ff23869ae2f8b38e481e7b4b4d4de1e32be968f29bbe303d629c34a6260 SHA512 854c93b8c75aeecf7b3df61ee181693e31e7cf59d6a695fd1b32ff8baf5916bc38f9574af6d0db888764eb756f1dc06555e83c8d990e1dc0ddad2b03db23ecab WHIRLPOOL 1fa47f0526ef892356fc7eaab6541825ce9ddb34033574926680c0983b070c8429ff9269d28e98d0bd47bd1964624fb9662b2b3433aaeca8ee172fe091d24796 |
24 |
+DIST pycparser-2.17.tar.gz 231163 SHA256 0aac31e917c24cb3357f5a4d5566f2cc91a19ca41862f6c3c22dc60a629673b6 SHA512 c9caaa8d256748e0623d077b11931abb38d19367136c70a835f7587e1f7ceb64f3acb7a983dcb68bedd2cf187517762a5753844e8ed58d1d9ed6f364c55839b4 WHIRLPOOL 4d3585a8c95add8b607bb79b89f8c00d16ab9361cfc72b65a5112b756b8d965cdc9c19af36ab7a73647425788e9121eafd6b0da01c2ca8de6d2b00ed5d097bba |
25 |
|
26 |
diff --git a/dev-python/pycparser/pycparser-2.17.ebuild b/dev-python/pycparser/pycparser-2.17.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000..d201372 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/pycparser/pycparser-2.17.ebuild |
31 |
@@ -0,0 +1,43 @@ |
32 |
+# Copyright 1999-2016 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 ) |
39 |
+ |
40 |
+inherit distutils-r1 vcs-snapshot |
41 |
+ |
42 |
+DESCRIPTION="C parser and AST generator written in Python" |
43 |
+HOMEPAGE="https://github.com/eliben/pycparser" |
44 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="BSD" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" |
49 |
+IUSE="test" |
50 |
+ |
51 |
+RDEPEND="dev-python/ply[${PYTHON_USEDEP}]" |
52 |
+DEPEND="${RDEPEND} |
53 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
54 |
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )" |
55 |
+ |
56 |
+pkg_pretend() { |
57 |
+ if has_version "=dev-python/pycparser-2.16"; then |
58 |
+ eerror "You have a broken version of dev-python/pycparser installed." |
59 |
+ eerror "Please remove the broken version before continuing." |
60 |
+ eerror "eg. emerge --unmerge =dev-python/pycparser-2.16" |
61 |
+ die "Broken dev-python/pycparser" |
62 |
+ fi |
63 |
+} |
64 |
+ |
65 |
+python_compile() { |
66 |
+ distutils-r1_python_compile |
67 |
+ pushd "${BUILD_DIR}/lib/pycparser" > /dev/null || die |
68 |
+ "${PYTHON}" _build_tables.py || die |
69 |
+ popd > /dev/null || die |
70 |
+} |
71 |
+ |
72 |
+python_test() { |
73 |
+ nosetests || die |
74 |
+} |