Gentoo Archives: gentoo-commits

From: Devan Franchini <twitch153@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/layman/
Date: Mon, 02 May 2016 04:00:30
Message-Id: 1462161506.69066223b400bc436272e556a4978c68ed5ad504.twitch153@gentoo
1 commit: 69066223b400bc436272e556a4978c68ed5ad504
2 Author: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 2 03:57:38 2016 +0000
4 Commit: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
5 CommitDate: Mon May 2 03:58:26 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69066223
7
8 Creating new ebuild for layman-2.4.0 release
9
10 Package-Manager: portage-2.2.27
11
12 app-portage/layman/Manifest | 1 +
13 app-portage/layman/layman-2.4.0.ebuild | 89 ++++++++++++++++++++++++++++++++++
14 app-portage/layman/metadata.xml | 4 +-
15 3 files changed, 92 insertions(+), 2 deletions(-)
16
17 diff --git a/app-portage/layman/Manifest b/app-portage/layman/Manifest
18 index 6e91462..ffa4da6 100644
19 --- a/app-portage/layman/Manifest
20 +++ b/app-portage/layman/Manifest
21 @@ -2,3 +2,4 @@ DIST layman-2.0.0.tar.gz 81184 SHA256 5843035ae4cc069693c05cf9821dae3d89d3ea7e21
22 DIST layman-2.1.0.tar.gz 94150 SHA256 cb96306c84da1d49ff54a31f7511c62c859565361bd59164516cd2812c439987 SHA512 1fa21392157c811c7751b8e3a11b858308c48720e377871bdd5afc525ebb50a92772064aa1148a4c20e3019f77b676ff65552439a71361d498952e362398c67f WHIRLPOOL 77643bedb4167eb371357444328d439c8b433cfc22a8bf9e39693feb68b701ec158064db8d22da0e6eb5260f27d5604d8b252a67930b38d8bed5921822f71c29
23 DIST layman-2.2.0.tar.gz 116210 SHA256 4a10cfd3eb354e993886369995ae9b1243418e0370c6aabd4d0ef6c5b387b7a2 SHA512 34cac041d7b64274debdbc42cab079fd3bb3aee511ea9e80db726df0f828207d79a5262788483ced5cbf49924e3aa4f19fe21439c98dceea973d8f83473c2e41 WHIRLPOOL 8c5d3cbbfef35c6294dfac899cb42f49e0761745573721e38b7d6c9ac48031f95bbb961c9d8dd9d309e4672cc1e5b050107ba025a9f28127e5d7d6d9a73a6e9a
24 DIST layman-2.3.0.tar.gz 119223 SHA256 76559b8e202c012d124deac01b92bbe70b550afe711144a3b1e301c5d8bbd0f2 SHA512 d110fb1781017d87e995098ecb48c4223347323d67534b584a393dc4354b761a6d960fd31e6e6787b5f37fa7e63b357c49486042c7cb527f78dd5beb5373627d WHIRLPOOL 76c82f08b18830e925ffd4c97b490753de2e7d0b3c71a82a0a75fd776ed3af84d2ba2fe06dab25e5e4d2ea400b0f0b66eda65f1f4eded0521ec579a1a0c1b17f
25 +DIST layman-2.4.0.tar.gz 130052 SHA256 0dd9dbcd05b5bf062139308cb812507b2c3310dd81f25c9cdc4c8f643b3f74c8 SHA512 011ac0e7dfed8415b875898ff1eecfe77ba5a68ccac208d8f5c693b9b880355ffef572490bb98ede62092bea1a84298bbd72e6c93a234fdfa319e96551e7eb07 WHIRLPOOL 0fdcd09ef4347f9450897237befd6fa73187a3e5ed0eff6b08345846ff270cd9751a3f38277f7b53baffb3b9a3e18e10f08ebe33c228ed7f7ccd01ce81d05a76
26
27 diff --git a/app-portage/layman/layman-2.4.0.ebuild b/app-portage/layman/layman-2.4.0.ebuild
28 new file mode 100644
29 index 0000000..47ad61c
30 --- /dev/null
31 +++ b/app-portage/layman/layman-2.4.0.ebuild
32 @@ -0,0 +1,89 @@
33 +# Copyright 1999-2016 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI="5"
38 +
39 +PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy )
40 +PYTHON_REQ_USE="xml(+),sqlite?"
41 +
42 +inherit eutils distutils-r1 linux-info prefix
43 +
44 +DESCRIPTION="Tool to manage Gentoo overlays"
45 +HOMEPAGE="https://wiki.gentoo.org/wiki/Layman"
46 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
47 +
48 +LICENSE="GPL-2"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86"
51 +IUSE="bazaar cvs darcs +git gpg g-sorcery mercurial sqlite squashfs subversion sync-plugin-portage test"
52 +
53 +DEPEND="test? ( dev-vcs/subversion )
54 + "
55 +
56 +RDEPEND="
57 + bazaar? ( dev-vcs/bzr )
58 + cvs? ( dev-vcs/cvs )
59 + darcs? ( dev-vcs/darcs )
60 + git? ( dev-vcs/git )
61 + mercurial? ( dev-vcs/mercurial )
62 + g-sorcery? ( app-portage/g-sorcery )
63 + subversion? (
64 + || (
65 + >=dev-vcs/subversion-1.5.4[http]
66 + >=dev-vcs/subversion-1.5.4[webdav-neon]
67 + >=dev-vcs/subversion-1.5.4[webdav-serf]
68 + )
69 + )
70 + gpg? ( =dev-python/pyGPG-0.2 )
71 + sync-plugin-portage? ( >=sys-apps/portage-2.2.16[${PYTHON_USEDEP}] )
72 + !sync-plugin-portage? ( sys-apps/portage[${PYTHON_USEDEP}] )
73 + >=dev-python/ssl-fetch-0.2[${PYTHON_USEDEP}]
74 + "
75 +
76 +layman_check_kernel_config() {
77 + local CONFIG_CHECK
78 + use squashfs && CONFIG_CHECK+=" ~BLK_DEV_LOOP ~SQUASHFS"
79 + [[ -n ${CONFIG_CHECK} ]] && check_extra_config
80 +}
81 +
82 +pkg_pretend() {
83 + layman_check_kernel_config
84 +}
85 +
86 +pkg_setup() {
87 + layman_check_kernel_config
88 +}
89 +
90 +python_prepare_all() {
91 + python_setup
92 + esetup.py setup_plugins
93 + distutils-r1_python_prepare_all
94 + eprefixify etc/layman.cfg layman/config.py
95 +}
96 +
97 +python_test() {
98 + suite=layman/tests/external.py
99 + PYTHONPATH="." "${PYTHON}" ${suite} || die "test suite '${suite}' failed"
100 + unset suite
101 +}
102 +
103 +python_install_all() {
104 + distutils-r1_python_install_all
105 +
106 + insinto /etc/layman
107 + doins etc/layman.cfg
108 +
109 + doman doc/layman.8
110 + dohtml doc/layman.8.html
111 +
112 + keepdir /var/lib/layman
113 + keepdir /etc/layman/overlays
114 +}
115 +
116 +pkg_postinst() {
117 + # now run layman's update utility
118 + einfo "Running layman-updater..."
119 + "${EROOT}"/usr/bin/layman-updater
120 + einfo
121 +}
122
123 diff --git a/app-portage/layman/metadata.xml b/app-portage/layman/metadata.xml
124 index 770afb5..09c653f 100644
125 --- a/app-portage/layman/metadata.xml
126 +++ b/app-portage/layman/metadata.xml
127 @@ -10,8 +10,8 @@
128 <name>Devan Franchini</name>
129 </maintainer>
130 <maintainer type="project">
131 - <email>tools-portage@g.o</email>
132 - <name>Gentoo Portage tools team</name>
133 + <email>layman@g.o</email>
134 + <name>Gentoo Layman team</name>
135 </maintainer>
136 <use>
137 <flag name="bazaar">Support <pkg>dev-vcs/bzr</pkg> based overlays</flag>