Gentoo Archives: gentoo-commits

From: Philip Miess <Phil_miess@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/user/superposition:master commit in: sys-apps/0install/
Date: Sat, 30 Jan 2021 01:16:48
Message-Id: 1611969735.e75a41a6cee39817125b5ca10199a7b7226c6f54.Phil_miess@gentoo
1 commit: e75a41a6cee39817125b5ca10199a7b7226c6f54
2 Author: Philip Miess <Philip_Miess <AT> yahoo <DOT> com>
3 AuthorDate: Sat Jan 30 01:22:15 2021 +0000
4 Commit: Philip Miess <Phil_miess <AT> yahoo <DOT> com>
5 CommitDate: Sat Jan 30 01:22:15 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/user/superposition.git/commit/?id=e75a41a6
7
8 version bumps
9
10 Signed-off-by: Philip Miess <Philip_Miess <AT> yahoo.com>
11
12 sys-apps/0install/0install-2.3.12.ebuild | 50 ++++++++++++++++++++++++++++++++
13 sys-apps/0install/0install-2.3.13.ebuild | 50 ++++++++++++++++++++++++++++++++
14 2 files changed, 100 insertions(+)
15
16 diff --git a/sys-apps/0install/0install-2.3.12.ebuild b/sys-apps/0install/0install-2.3.12.ebuild
17 new file mode 100644
18 index 0000000..aa900a8
19 --- /dev/null
20 +++ b/sys-apps/0install/0install-2.3.12.ebuild
21 @@ -0,0 +1,50 @@
22 +# Copyright 2021 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI="7"
26 +PYTHON_COMPAT=( python3_{7,8,9} )
27 +PYTHON_REQ_USE="xml(+)"
28 +inherit xdg-utils distutils-r1
29 +
30 +DESCRIPTION="Zeroinstall Injector allows regular users to install software themselves"
31 +HOMEPAGE="http://0install.net/"
32 +SRC_URI="https://sourceforge.net/projects/zero-install/files/${PN}/${PV}/${P}.tar.bz2"
33 +LICENSE="GPL-2"
34 +SLOT="0"
35 +KEYWORDS="~amd64 ~ppc ~sparc ~x86"
36 +RDEPEND="
37 + $(python_gen_any_dep '
38 + dev-python/pygobject:3[${PYTHON_USEDEP}]
39 + ')
40 + app-crypt/gnupg
41 +"
42 +
43 +python_check_deps() {
44 + has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]"
45 +}
46 +
47 +python_prepare_all() {
48 + # Change manpage install path (Bug 207495)
49 + sed -i 's:man/man1:share/man/man1:' setup.py || die 'Documentation path fix sed failed.'
50 + distutils-r1_python_prepare_all
51 +}
52 +
53 +python_install_all() {
54 + distutils-r1_python_install_all
55 +
56 + local BASE_XDG_CONFIG="/etc/xdg/0install.net"
57 + local BASE_XDG_DATA="/usr/share/0install.net"
58 +
59 + insinto "${BASE_XDG_CONFIG}/injector"
60 + newins "${FILESDIR}/global.cfg" global
61 +
62 + dodir "${BASE_XDG_DATA}/native_feeds"
63 +}
64 +
65 +pkg_postinst() {
66 + xdg_icon_cache_update
67 +}
68 +
69 +pkg_postrm() {
70 + xdg_icon_cache_update
71 +}
72
73 diff --git a/sys-apps/0install/0install-2.3.13.ebuild b/sys-apps/0install/0install-2.3.13.ebuild
74 new file mode 100644
75 index 0000000..aa900a8
76 --- /dev/null
77 +++ b/sys-apps/0install/0install-2.3.13.ebuild
78 @@ -0,0 +1,50 @@
79 +# Copyright 2021 Gentoo Authors
80 +# Distributed under the terms of the GNU General Public License v2
81 +
82 +EAPI="7"
83 +PYTHON_COMPAT=( python3_{7,8,9} )
84 +PYTHON_REQ_USE="xml(+)"
85 +inherit xdg-utils distutils-r1
86 +
87 +DESCRIPTION="Zeroinstall Injector allows regular users to install software themselves"
88 +HOMEPAGE="http://0install.net/"
89 +SRC_URI="https://sourceforge.net/projects/zero-install/files/${PN}/${PV}/${P}.tar.bz2"
90 +LICENSE="GPL-2"
91 +SLOT="0"
92 +KEYWORDS="~amd64 ~ppc ~sparc ~x86"
93 +RDEPEND="
94 + $(python_gen_any_dep '
95 + dev-python/pygobject:3[${PYTHON_USEDEP}]
96 + ')
97 + app-crypt/gnupg
98 +"
99 +
100 +python_check_deps() {
101 + has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]"
102 +}
103 +
104 +python_prepare_all() {
105 + # Change manpage install path (Bug 207495)
106 + sed -i 's:man/man1:share/man/man1:' setup.py || die 'Documentation path fix sed failed.'
107 + distutils-r1_python_prepare_all
108 +}
109 +
110 +python_install_all() {
111 + distutils-r1_python_install_all
112 +
113 + local BASE_XDG_CONFIG="/etc/xdg/0install.net"
114 + local BASE_XDG_DATA="/usr/share/0install.net"
115 +
116 + insinto "${BASE_XDG_CONFIG}/injector"
117 + newins "${FILESDIR}/global.cfg" global
118 +
119 + dodir "${BASE_XDG_DATA}/native_feeds"
120 +}
121 +
122 +pkg_postinst() {
123 + xdg_icon_cache_update
124 +}
125 +
126 +pkg_postrm() {
127 + xdg_icon_cache_update
128 +}