summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-10-24 13:47:15 +0200
committerLars Wendler <polynomial-c@gentoo.org>2016-10-24 13:47:15 +0200
commited7e70fc726573c5e4307a806d2ea26ece70f44e (patch)
tree6680388f4f62142f1626d620464170f1d3688540 /dev-python/pycparser
parentdev-python/ndg-httpsclient: Bump to version 0.4.2 (diff)
downloadgentoo-ed7e70fc726573c5e4307a806d2ea26ece70f44e.tar.gz
gentoo-ed7e70fc726573c5e4307a806d2ea26ece70f44e.tar.bz2
gentoo-ed7e70fc726573c5e4307a806d2ea26ece70f44e.zip
dev-python/pycparser: Bump to version 2.16
Package-Manager: portage-2.3.2 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'dev-python/pycparser')
-rw-r--r--dev-python/pycparser/Manifest1
-rw-r--r--dev-python/pycparser/pycparser-2.16.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/pycparser/Manifest b/dev-python/pycparser/Manifest
index e30d687fe704..d1ca0fe022b6 100644
--- a/dev-python/pycparser/Manifest
+++ b/dev-python/pycparser/Manifest
@@ -1 +1,2 @@
DIST pycparser-2.14.tar.gz 223295 SHA256 7959b4a74abdc27b312fed1c21e6caf9309ce0b29ea86b591fd2e99ecdf27f73 SHA512 d5b9ab434a8944898ac23a4f51189db77b02b993bf3e3ca018852b117fc0eb43e460b156beaa5c1d631ad71c81e1649113e9fff7e33506b1e7d4de24d8b464c6 WHIRLPOOL 4a541ce696298a355d4e3325a10dffd47bd26756b0164da82b70090310edfacf0428ed9e26de7be7e3d4c2c952ee664262a212562852fe29f909ab0631bfd79f
+DIST pycparser-2.16.tar.gz 230060 SHA256 108f9ff23869ae2f8b38e481e7b4b4d4de1e32be968f29bbe303d629c34a6260 SHA512 854c93b8c75aeecf7b3df61ee181693e31e7cf59d6a695fd1b32ff8baf5916bc38f9574af6d0db888764eb756f1dc06555e83c8d990e1dc0ddad2b03db23ecab WHIRLPOOL 1fa47f0526ef892356fc7eaab6541825ce9ddb34033574926680c0983b070c8429ff9269d28e98d0bd47bd1964624fb9662b2b3433aaeca8ee172fe091d24796
diff --git a/dev-python/pycparser/pycparser-2.16.ebuild b/dev-python/pycparser/pycparser-2.16.ebuild
new file mode 100644
index 000000000000..d626ba12ae3b
--- /dev/null
+++ b/dev-python/pycparser/pycparser-2.16.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
+
+inherit distutils-r1 vcs-snapshot
+
+DESCRIPTION="C parser and AST generator written in Python"
+HOMEPAGE="https://github.com/eliben/pycparser"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+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"
+IUSE="test"
+
+RDEPEND="dev-python/ply[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+python_compile() {
+ distutils-r1_python_compile
+ pushd "${BUILD_DIR}/lib/pycparser" > /dev/null || die
+ "${PYTHON}" _build_tables.py || die
+ popd > /dev/null || die
+}
+
+python_test() {
+ nosetests || die
+}