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