Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/mgorny:master commit in: dev-python/pymountboot/
Date: Fri, 27 Jan 2012 22:16:35
Message-Id: bf27db5c5db8e09a732bf49d54727aa59a34249a.mgorny@gentoo
1 commit: bf27db5c5db8e09a732bf49d54727aa59a34249a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 27 19:53:37 2012 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 27 19:53:37 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=bf27db5c
7
8 dev-python/pymountboot: Introduce an ebuild for pymountboot, a /boot (re)mounting helper module.
9
10 (Portage version: 2.2.0_alpha84_p38/git/Linux x86_64, unsigned Manifest commit)
11
12 ---
13 dev-python/pymountboot/metadata.xml | 15 +++++++++
14 dev-python/pymountboot/pymountboot-9999.ebuild | 38 ++++++++++++++++++++++++
15 2 files changed, 53 insertions(+), 0 deletions(-)
16
17 diff --git a/dev-python/pymountboot/metadata.xml b/dev-python/pymountboot/metadata.xml
18 new file mode 100644
19 index 0000000..bb8fa3b
20 --- /dev/null
21 +++ b/dev-python/pymountboot/metadata.xml
22 @@ -0,0 +1,15 @@
23 +<?xml version="1.0" encoding="UTF-8"?>
24 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
25 +<pkgmetadata>
26 + <maintainer>
27 + <email>mgorny@g.o</email>
28 + <name>Michał Górny</name>
29 + </maintainer>
30 + <upstream>
31 + <maintainer status="active">
32 + <email>mgorny@g.o</email>
33 + <name>Michał Górny</name>
34 + </maintainer>
35 + <bugs-to>https://github.com/mgorny/pyremountboot/issues/</bugs-to>
36 + </upstream>
37 +</pkgmetadata>
38
39 diff --git a/dev-python/pymountboot/pymountboot-9999.ebuild b/dev-python/pymountboot/pymountboot-9999.ebuild
40 new file mode 100644
41 index 0000000..593b23f
42 --- /dev/null
43 +++ b/dev-python/pymountboot/pymountboot-9999.ebuild
44 @@ -0,0 +1,38 @@
45 +# Copyright 1999-2012 Gentoo Foundation
46 +# Distributed under the terms of the GNU General Public License v2
47 +# $Header: $
48 +
49 +EAPI=4
50 +PYTHON_DEPEND='2:2.6'
51 +SUPPORT_PYTHON_ABIS=1
52 +RESTRICT_PYTHON_ABIS='2.4 2.5 3.*'
53 +
54 +inherit base distutils
55 +
56 +#if LIVE
57 +EGIT_REPO_URI="git://github.com/mgorny/${PN}.git
58 + http://github.com/mgorny/${PN}.git"
59 +inherit git-2
60 +#endif
61 +
62 +DESCRIPTION="Python extension module to (re)mount /boot"
63 +HOMEPAGE="https://github.com/mgorny/pymountboot/"
64 +SRC_URI="mirror://github/mgorny/${PN}/${P}.tar.bz2"
65 +
66 +LICENSE="BSD"
67 +SLOT="0"
68 +KEYWORDS="~amd64 ~x86"
69 +IUSE=""
70 +
71 +RDEPEND=">=sys-apps/util-linux-2.20"
72 +DEPEND="${RDEPEND}"
73 +
74 +#if LIVE
75 +KEYWORDS=
76 +SRC_URI=
77 +#endif
78 +
79 +src_prepare() {
80 + base_src_prepare
81 + distutils_src_prepare
82 +}