From: | "Paul Varner (fuzzyray)" <fuzzyray@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-portage/esearch: ChangeLog esearch-1.0.ebuild |
Date: | Wed, 30 Nov 2011 21:03:48 |
Message-Id: | 20111130210333.370F52004B@flycatcher.gentoo.org |
1 | fuzzyray 11/11/30 21:03:33 |
2 | |
3 | Modified: ChangeLog |
4 | Added: esearch-1.0.ebuild |
5 | Log: |
6 | Version bump to 1.0. Upstream package converted to use distutils and python |
7 | packaging. This version also works with Python 3. |
8 | |
9 | (Portage version: 2.1.10.39/cvs/Linux x86_64) |
10 | |
11 | Revision Changes Path |
12 | 1.73 app-portage/esearch/ChangeLog |
13 | |
14 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/esearch/ChangeLog?rev=1.73&view=markup |
15 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/esearch/ChangeLog?rev=1.73&content-type=text/plain |
16 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/esearch/ChangeLog?r1=1.72&r2=1.73 |
17 | |
18 | Index: ChangeLog |
19 | =================================================================== |
20 | RCS file: /var/cvsroot/gentoo-x86/app-portage/esearch/ChangeLog,v |
21 | retrieving revision 1.72 |
22 | retrieving revision 1.73 |
23 | diff -u -r1.72 -r1.73 |
24 | --- ChangeLog 24 Nov 2011 20:36:42 -0000 1.72 |
25 | +++ ChangeLog 30 Nov 2011 21:03:32 -0000 1.73 |
26 | @@ -1,6 +1,12 @@ |
27 | # ChangeLog for app-portage/esearch |
28 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 | -# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/ChangeLog,v 1.72 2011/11/24 20:36:42 zmedico Exp $ |
30 | +# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/ChangeLog,v 1.73 2011/11/30 21:03:32 fuzzyray Exp $ |
31 | + |
32 | +*esearch-1.0 (30 Nov 2011) |
33 | + |
34 | + 30 Nov 2011; Paul Varner <fuzzyray@g.o> +esearch-1.0.ebuild: |
35 | + Version bump to 1.0. Upstream package converted to use distutils and python |
36 | + packaging. This version also works with Python 3. |
37 | |
38 | 24 Nov 2011; Zac Medico <zmedico@g.o> esearch-0.7.2-r2.ebuild: |
39 | Use relative symlinks, and ED insead of D. |
40 | |
41 | |
42 | |
43 | 1.1 app-portage/esearch/esearch-1.0.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/esearch/esearch-1.0.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/esearch/esearch-1.0.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: esearch-1.0.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2011 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/esearch-1.0.ebuild,v 1.1 2011/11/30 21:03:33 fuzzyray Exp $ |
53 | |
54 | EAPI="3" |
55 | SUPPORT_PYTHON_ABIS="1" |
56 | RESTRICT_PYTHON_ABIS="2.[45]" |
57 | PYTHON_USE_WITH="readline" |
58 | PYTHON_NONVERSIONED_EXECUTABLES=(".*") |
59 | |
60 | inherit distutils python |
61 | |
62 | DESCRIPTION="Replacement for 'emerge --search' with search-index" |
63 | HOMEPAGE="http://david-peter.de/esearch.html" |
64 | SRC_URI="mirror://github/fuzzyray/${PN}/${P}.tar.gz" |
65 | |
66 | LICENSE="GPL-2" |
67 | SLOT="0" |
68 | IUSE="linguas_fr linguas_it" |
69 | |
70 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris" |
71 | |
72 | DEPEND="sys-apps/portage" |
73 | RDEPEND="${DEPEND}" |
74 | |
75 | distutils_src_compile_pre_hook() { |
76 | echo VERSION="${PVR}" "$(PYTHON)" setup.py set_version |
77 | VERSION="${PVR}" "$(PYTHON)" setup.py set_version \ |
78 | || die "setup.py set_version failed" |
79 | } |
80 | |
81 | src_compile() { |
82 | distutils_src_compile |
83 | } |
84 | |
85 | src_install() { |
86 | python_convert_shebangs -r "" build-*/scripts-* |
87 | distutils_src_install |
88 | dodoc eupdatedb.cron || die "dodoc failed" |
89 | |
90 | # Remove unused man pages according to the linguas flags |
91 | if ! use linguas_fr ; then |
92 | rm -rf "${ED}"/usr/share/man/fr |
93 | fi |
94 | |
95 | if ! use linguas_it ; then |
96 | rm -rf "${ED}"/usr/share/man/it |
97 | fi |
98 | } |
99 | |
100 | pkg_postinst() { |
101 | distutils_pkg_postinst |
102 | ewarn "Because file locations have changed, please run 'hash -r' in your active shells." |
103 | } |