/[gentoo-x86]/app-portage/mirrorselect/mirrorselect-9999.ebuild
Gentoo

Contents of /app-portage/mirrorselect/mirrorselect-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Dec 16 06:12:56 2012 UTC (21 months ago) by dolsen
Branch: MAIN
Changes since 1.2: +2 -2 lines
Fix bug 373195 and incorrect egg-info version numbering

(Portage version: 2.2.0_alpha144_p1/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-portage/mirrorselect/mirrorselect-9999.ebuild,v 1.2 2012/11/15 04:49:30 dolsen Exp $
4
5 EAPI="3"
6 SUPPORT_PYTHON_ABIS="1"
7 RESTRICT_PYTHON_ABIS="2.[45] 3.1"
8 PYTHON_USE_WITH="xml"
9 PYTHON_NONVERSIONED_EXECUTABLES=(".*")
10
11 EGIT_MASTER="master"
12 #EGIT_BRANCH="master"
13
14 inherit distutils python git-2 prefix
15
16 EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mirrorselect.git"
17
18 DESCRIPTION="Tool to help select distfiles mirrors for Gentoo"
19 HOMEPAGE="http://www.gentoo.org/proj/en/portage/tools/index.xml"
20 SRC_URI=""
21
22 LICENSE="GPL-2"
23 SLOT="0"
24 IUSE=""
25
26 KEYWORDS=""
27
28 # Note: dev-lang/python dependencies are so emerge will print a blocker if any
29 # installed slot of python is not built with +xml. This is used since
30 # PYTHON_USE_WITH just dies in the middle of the emerge. See bug 399331.
31 RDEPEND="
32 >=dev-lang/python-2.6[xml]
33 !>=dev-lang/python-2.6[-xml]
34 dev-util/dialog
35 net-analyzer/netselect
36 "
37 # virtual/python-argparse"
38
39 src_prepare() {
40 eprefixify setup.py mirrorselect/main.py
41 }
42
43 distutils_src_compile_pre_hook() {
44 echo Now setting version... VERSION="9999-${EGIT_VERSION}" "$(PYTHON)" setup.py set_version
45 VERSION="9999-${EGIT_VERSION}" "$(PYTHON)" setup.py set_version
46 }
47
48 src_compile() {
49 distutils_src_compile
50 }
51
52 src_install() {
53 python_convert_shebangs -r "" build-*/scripts-*
54 distutils_src_install
55 }
56
57 pkg_postinst() {
58 distutils_pkg_postinst
59
60 einfo "This is a development version."
61 einfo "Please report any bugs you encounter."
62 einfo "http://bugs.gentoo.org/"
63 }

  ViewVC Help
Powered by ViewVC 1.1.20