Gentoo Archives: gentoo-commits

From: Kacper Kowalik <xarthisius@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/xarthisius:master commit in: app-admin/python-updater/, app-admin/modules/
Date: Mon, 28 May 2012 17:34:03
Message-Id: 1338226427.f47c0e01a3dc22d6fbcf5c7a3df5ce4ca1be1cc8.xarthisius@gentoo
1 commit: f47c0e01a3dc22d6fbcf5c7a3df5ce4ca1be1cc8
2 Author: Kacper Kowalik (Xarthisius) <xarthisius <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 28 17:33:47 2012 +0000
4 Commit: Kacper Kowalik <xarthisius <AT> gentoo <DOT> org>
5 CommitDate: Mon May 28 17:33:47 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/xarthisius.git;a=commit;h=f47c0e01
7
8 [app-admin/python-updater] add git live version
9
10 ---
11 app-admin/modules/Manifest | 2 +
12 app-admin/modules/modules-3.2.9c.ebuild | 51 ++++++++++++++++++++
13 app-admin/python-updater/Manifest | 2 +
14 app-admin/python-updater/metadata.xml | 5 ++
15 .../python-updater/python-updater-9999.ebuild | 32 ++++++++++++
16 5 files changed, 92 insertions(+), 0 deletions(-)
17
18 diff --git a/app-admin/modules/Manifest b/app-admin/modules/Manifest
19 new file mode 100644
20 index 0000000..5224a6e
21 --- /dev/null
22 +++ b/app-admin/modules/Manifest
23 @@ -0,0 +1,2 @@
24 +DIST modules-3.2.9c.tar.gz 439742 RMD160 0f323eb558a676ed8682b82b8b7794029e48934a SHA1 aef309f2c8071f405a3abc773bd686df8ef4d018 SHA256 f0d90d1cd031109c5dedb1b3465d1e1b49fa45bebb6587105757cae735804f95
25 +EBUILD modules-3.2.9c.ebuild 1126 RMD160 942d48f7f9e49e776b8dd42ada055623b7794631 SHA1 3261a580b74e0d40759f46a725f4b21da0adf25f SHA256 9c4c1025a52627857c2bdcc2c181e96c22e15c0c181a87406e59991931f324c7
26
27 diff --git a/app-admin/modules/modules-3.2.9c.ebuild b/app-admin/modules/modules-3.2.9c.ebuild
28 new file mode 100644
29 index 0000000..2a60dd7
30 --- /dev/null
31 +++ b/app-admin/modules/modules-3.2.9c.ebuild
32 @@ -0,0 +1,51 @@
33 +# Copyright 1999-2012 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Header: $
36 +
37 +EAPI=4
38 +
39 +inherit versionator
40 +
41 +MY_PV=$(get_version_component_range 1-3)
42 +MY_P=${PN}-${MY_PV}
43 +
44 +DESCRIPTION="Allows for dynamic modification of a user's environment via modulefiles"
45 +HOMEPAGE="http://modules.sourceforge.net/"
46 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
47 +
48 +LICENSE="GPL-2"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~x86"
51 +IUSE=""
52 +
53 +DEPEND="dev-lang/tcl"
54 +RDEPEND="${DEPEND}"
55 +
56 +S=${WORKDIR}/${MY_P}
57 +
58 +pkg_setup() {
59 + export _modules_path=/var/lib/Modules/${MY_PV}
60 +}
61 +
62 +src_configure() {
63 + # unfortunately {module,version}-path don't work properly
64 + ./configure \
65 + --prefix=/var/lib \
66 + --mandir=/usr/share \
67 + --with-module-path=${_modules_path}/modulefiles \
68 + --with-version-path=${_modules_path}/versions \
69 + --disable-use-default \
70 + ${EXTRA_ECONF} || die
71 +}
72 +
73 +src_install() {
74 + default
75 + dosym ${_modules_path} /var/lib/Modules/default
76 +}
77 +
78 +pkg_postinst() {
79 + echo
80 + einfo "Add this line at the end of /etc/bash/bashrc:"
81 + einfo " [ -e \"${_modules_path}/init/bash\" ] && source \"${_modules_path}/init/bash\""
82 + echo
83 +}
84
85 diff --git a/app-admin/python-updater/Manifest b/app-admin/python-updater/Manifest
86 new file mode 100644
87 index 0000000..553e9a9
88 --- /dev/null
89 +++ b/app-admin/python-updater/Manifest
90 @@ -0,0 +1,2 @@
91 +EBUILD python-updater-9999.ebuild 743 RMD160 c6e79d928b24558c3632bca3527dee85c5fca870 SHA1 7be436a3ec22c74705977ed260d68f1b60372bca SHA256 7d9e307e14cf6d42cc0683f801a8620c4d01bec6547c6e7b9f098c6eb3f0adbf
92 +MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
93
94 diff --git a/app-admin/python-updater/metadata.xml b/app-admin/python-updater/metadata.xml
95 new file mode 100644
96 index 0000000..de483c5
97 --- /dev/null
98 +++ b/app-admin/python-updater/metadata.xml
99 @@ -0,0 +1,5 @@
100 +<?xml version="1.0" encoding="UTF-8"?>
101 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
102 +<pkgmetadata>
103 +<herd>python</herd>
104 +</pkgmetadata>
105
106 diff --git a/app-admin/python-updater/python-updater-9999.ebuild b/app-admin/python-updater/python-updater-9999.ebuild
107 new file mode 100644
108 index 0000000..5b7f0bc
109 --- /dev/null
110 +++ b/app-admin/python-updater/python-updater-9999.ebuild
111 @@ -0,0 +1,32 @@
112 +# Copyright 1999-2012 Gentoo Foundation
113 +# Distributed under the terms of the GNU General Public License v2
114 +# $Header: /var/cvsroot/gentoo-x86/app-admin/python-updater/python-updater-9999.ebuild,v 1.8 2011/12/30 17:41:45 maksbotan Exp $
115 +
116 +EAPI=4
117 +
118 +EGIT_REPO_URI="http://git.overlays.gentoo.org/gitroot/proj/${PN}.git"
119 +
120 +inherit git-2
121 +
122 +DESCRIPTION="Script used to reinstall Python packages after changing of active Python versions"
123 +HOMEPAGE="http://www.gentoo.org/proj/en/Python/"
124 +SRC_URI=""
125 +
126 +LICENSE="GPL-2"
127 +SLOT="0"
128 +KEYWORDS=""
129 +IUSE=""
130 +
131 +DEPEND="sys-apps/help2man"
132 +RDEPEND="dev-lang/python
133 + || ( >=sys-apps/portage-2.1.6 >=sys-apps/paludis-0.56.0 )"
134 +
135 +src_compile() {
136 + emake ${PN}.1
137 +}
138 +
139 +src_install() {
140 + dosbin ${PN}
141 + doman ${PN}.1
142 + dodoc AUTHORS
143 +}