diff options
author | Mike Gilbert <floppym@gentoo.org> | 2014-03-16 18:16:41 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2014-03-16 18:16:41 +0000 |
commit | 59955c4fb60bd13ee5ef534839ced912d9fba4d2 (patch) | |
tree | 161b0a2853cef0c584327788ab0e3fa75b19970b /app-admin/python-updater | |
parent | Add new, drop oldest version. (diff) | |
download | gentoo-2-59955c4fb60bd13ee5ef534839ced912d9fba4d2.tar.gz gentoo-2-59955c4fb60bd13ee5ef534839ced912d9fba4d2.tar.bz2 gentoo-2-59955c4fb60bd13ee5ef534839ced912d9fba4d2.zip |
Version bump. Incorporate prefix support. Source /lib/gentoo/functions.sh, bug 504130.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'app-admin/python-updater')
-rw-r--r-- | app-admin/python-updater/ChangeLog | 9 | ||||
-rw-r--r-- | app-admin/python-updater/python-updater-0.12.ebuild | 38 | ||||
-rw-r--r-- | app-admin/python-updater/python-updater-9999.ebuild | 28 |
3 files changed, 60 insertions, 15 deletions
diff --git a/app-admin/python-updater/ChangeLog b/app-admin/python-updater/ChangeLog index eb5f4d2da027..a310d11fc05b 100644 --- a/app-admin/python-updater/ChangeLog +++ b/app-admin/python-updater/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-admin/python-updater # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/python-updater/ChangeLog,v 1.93 2014/01/20 02:49:18 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/python-updater/ChangeLog,v 1.94 2014/03/16 18:16:41 floppym Exp $ + +*python-updater-0.12 (16 Mar 2014) + + 16 Mar 2014; Mike Gilbert <floppym@gentoo.org> +python-updater-0.12.ebuild, + python-updater-9999.ebuild: + Version bump. Incorporate prefix support. Source /lib/gentoo/functions.sh, bug + 504130. 20 Jan 2014; Mike Gilbert <floppym@gentoo.org> python-updater-0.11.ebuild, python-updater-9999.ebuild: diff --git a/app-admin/python-updater/python-updater-0.12.ebuild b/app-admin/python-updater/python-updater-0.12.ebuild new file mode 100644 index 000000000000..62f8f8b34c41 --- /dev/null +++ b/app-admin/python-updater/python-updater-0.12.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/python-updater/python-updater-0.12.ebuild,v 1.1 2014/03/16 18:16:41 floppym Exp $ + +EAPI=5 + +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 +fi + +DESCRIPTION="Script used to reinstall Python packages after changing of active Python versions" +HOMEPAGE="http://www.gentoo.org/proj/en/Python/" +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/python-updater.git" +else + SRC_URI="http://dev.gentoo.org/~floppym/dist/${P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +if [[ ${PV} == 9999 ]]; then + DEPEND=" + sys-apps/gentoo-functions + sys-apps/help2man + " +fi +RDEPEND=" + sys-apps/gentoo-functions + || ( >=sys-apps/portage-2.1.6 >=sys-apps/paludis-0.56.0 sys-apps/pkgcore ) +" + +src_compile() { + [[ ${PV} == 9999 ]] && emake python-updater + default +} diff --git a/app-admin/python-updater/python-updater-9999.ebuild b/app-admin/python-updater/python-updater-9999.ebuild index 3fb8dd6365d3..6cd9d7101f24 100644 --- a/app-admin/python-updater/python-updater-9999.ebuild +++ b/app-admin/python-updater/python-updater-9999.ebuild @@ -1,17 +1,16 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/python-updater/python-updater-9999.ebuild,v 1.11 2014/01/20 02:49:18 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/python-updater/python-updater-9999.ebuild,v 1.12 2014/03/16 18:16:41 floppym Exp $ EAPI=5 if [[ "${PV}" == "9999" ]]; then - inherit git-2 + inherit git-r3 fi DESCRIPTION="Script used to reinstall Python packages after changing of active Python versions" HOMEPAGE="http://www.gentoo.org/proj/en/Python/" if [[ "${PV}" == "9999" ]]; then - SRC_URI="" EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/python-updater.git" else SRC_URI="http://dev.gentoo.org/~floppym/dist/${P}.tar.bz2" @@ -22,17 +21,18 @@ LICENSE="GPL-2" SLOT="0" IUSE="" -DEPEND="$([[ "${PV}" == "9999" ]] && echo "sys-apps/help2man")" -RDEPEND="|| ( >=sys-apps/portage-2.1.6 >=sys-apps/paludis-0.56.0 )" +if [[ ${PV} == 9999 ]]; then + DEPEND=" + sys-apps/gentoo-functions + sys-apps/help2man + " +fi +RDEPEND=" + sys-apps/gentoo-functions + || ( >=sys-apps/portage-2.1.6 >=sys-apps/paludis-0.56.0 sys-apps/pkgcore ) +" src_compile() { - if [[ "${PV}" == "9999" ]]; then - emake ${PN}.1 || die "Generation of man page failed" - fi -} - -src_install() { - dosbin ${PN} - doman ${PN}.1 - dodoc AUTHORS + [[ ${PV} == 9999 ]] && emake python-updater + default } |