diff options
author | Nathan Phillip Brink <binki@gentoo.org> | 2011-05-13 18:28:19 +0000 |
---|---|---|
committer | Nathan Phillip Brink <binki@gentoo.org> | 2011-05-13 18:28:19 +0000 |
commit | b91abba232d91191aa3e9e35c0e48b115afbb156 (patch) | |
tree | 5079909bfb75d1df7332b0379bb16e7abd47d9e2 /www-misc/reflector | |
parent | Update gentoo-defaults to install in /usr/local as root and in /home/graaff o... (diff) | |
download | gentoo-2-b91abba232d91191aa3e9e35c0e48b115afbb156.tar.gz gentoo-2-b91abba232d91191aa3e9e35c0e48b115afbb156.tar.bz2 gentoo-2-b91abba232d91191aa3e9e35c0e48b115afbb156.zip |
Add new ebuild for www-misc/reflector-2011.05.13.1 fixing bug 317831.
(Portage version: 2.2.0_alpha30-r1/cvs/Linux x86_64)
Diffstat (limited to 'www-misc/reflector')
-rw-r--r-- | www-misc/reflector/ChangeLog | 10 | ||||
-rw-r--r-- | www-misc/reflector/metadata.xml | 9 | ||||
-rw-r--r-- | www-misc/reflector/reflector-2011.05.13.1.ebuild | 42 |
3 files changed, 61 insertions, 0 deletions
diff --git a/www-misc/reflector/ChangeLog b/www-misc/reflector/ChangeLog new file mode 100644 index 000000000000..2a6a9af01aeb --- /dev/null +++ b/www-misc/reflector/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for www-misc/reflector +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-misc/reflector/ChangeLog,v 1.1 2011/05/13 18:28:19 binki Exp $ + +*reflector-2011.05.13.1 (13 May 2011) + + 13 May 2011; Nathan Phillip Brink <binki@gentoo.org> + +reflector-2011.05.13.1.ebuild, +metadata.xml: + Add new ebuild for www-misc/reflector-2011.05.13.1 fixing bug 317831. + diff --git a/www-misc/reflector/metadata.xml b/www-misc/reflector/metadata.xml new file mode 100644 index 000000000000..d1617426dbfb --- /dev/null +++ b/www-misc/reflector/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>binki@gentoo.org</email> + <name>Nathan Phillip Brink</name> + </maintainer> +</pkgmetadata> diff --git a/www-misc/reflector/reflector-2011.05.13.1.ebuild b/www-misc/reflector/reflector-2011.05.13.1.ebuild new file mode 100644 index 000000000000..08eb80964956 --- /dev/null +++ b/www-misc/reflector/reflector-2011.05.13.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-misc/reflector/reflector-2011.05.13.1.ebuild,v 1.1 2011/05/13 18:28:19 binki Exp $ + +EAPI=3 + +DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES=1 +PYTHON_DEPEND="*" +SUPPORT_PYTHON_ABIS=1 +inherit eutils distutils + +DESCRIPTION="archlinux's take on mirrorselect" +HOMEPAGE="http://xyne.archlinux.ca/projects/reflector/" +SRC_URI="http://xyne.archlinux.ca/src/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="dev-python/argparse" + +S=${WORKDIR}/${PN} + +src_prepare() { + distutils_src_prepare + + my_src_prepare() { + [[ $(python_get_version --major) == 2 ]] && epatch 3to2.patch + : + } + + python_execute_function -s my_src_prepare + + python_convert_shebangs "" ${PN} +} + +src_install() { + distutils_src_install + + dobin ${PN} || die +} |