Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-misc/far2l/
Date: Mon, 27 Dec 2021 14:44:15
Message-Id: 1640455066.b54dac390a3d0fb904b61643be35cf2c7694ce7f.flow@gentoo
1 commit: b54dac390a3d0fb904b61643be35cf2c7694ce7f
2 Author: Andrey Syutkin <syutkin <AT> gmail <DOT> com>
3 AuthorDate: Sat Dec 25 17:57:46 2021 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 25 17:57:46 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b54dac39
7
8 app-misc/far2l: version bump to 2.3.2_alpha
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Andrey Syutkin <syutkin <AT> gmail.com>
12
13 app-misc/far2l/Manifest | 3 +-
14 app-misc/far2l/far2l-2.3.20211204_alpha.ebuild | 91 ----------------------
15 ...10921_alpha.ebuild => far2l-2.3.2_alpha.ebuild} | 5 +-
16 app-misc/far2l/far2l-9999.ebuild | 5 +-
17 4 files changed, 7 insertions(+), 97 deletions(-)
18
19 diff --git a/app-misc/far2l/Manifest b/app-misc/far2l/Manifest
20 index eb3e5ec71..7c65762de 100644
21 --- a/app-misc/far2l/Manifest
22 +++ b/app-misc/far2l/Manifest
23 @@ -1,2 +1 @@
24 -DIST far2l-2.3.20210921_alpha.tar.gz 5427544 BLAKE2B b206df5c148dfa937610cfcd38fcec93790a02a4f011b0c7573cf0bf2b2229196097e7cebbd7e163778c2e86a26d22c3dc7d7c32e8562fd540b1106da5210725 SHA512 7c17192464f2f6bebb72928f8f2159eb940afa6d549213716ffccb8dd858ce982ff57538377f90a5f1200e3e9b0c36f2cdf7f1e48a3d53f29458757b1c974260
25 -DIST far2l-2.3.20211204_alpha.tar.gz 5471538 BLAKE2B 3bfc3ce631132e162f513e4341c8ff55e08dc2a6fa20dba07b77366d0113004601fa718f51d58769599fee1c98d01f059669f7cba567d574b31f680cd765465b SHA512 69e2eb2148566e0f159e9577e00eb938c7f5a43ad8f04b99d9ceeeedc3abd20d36c5cd81bcff06f8d7f465201224d30ceede955199643426d4f6840d23b5c9e0
26 +DIST v_2.3.2.tar.gz 6232935 BLAKE2B ea146088c518bfeb0d935313a07f00a37fd2b6998388060514d144494946565661d3554e8ffb63b4bed8b9f1c3cea2ba4ec4c0787b0fa89df7f8d39720606b03 SHA512 e610a2b92ab3e7896f3aa5a59872cf273ab1c60ff6aac8e71d1d7152c2e8cb36fb8552167e13c8a4bcec9138052a3397c202cfa4b57cddf2053508421eb66799
27
28 diff --git a/app-misc/far2l/far2l-2.3.20211204_alpha.ebuild b/app-misc/far2l/far2l-2.3.20211204_alpha.ebuild
29 deleted file mode 100644
30 index f23f32656..000000000
31 --- a/app-misc/far2l/far2l-2.3.20211204_alpha.ebuild
32 +++ /dev/null
33 @@ -1,91 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -PYTHON_COMPAT=( python3_{8..10} )
40 -
41 -WX_GTK_VER="3.0-gtk3"
42 -
43 -inherit cmake xdg wxwidgets python-r1
44 -
45 -DESCRIPTION="Linux port of FAR Manager v2"
46 -HOMEPAGE="https://github.com/elfmz/far2l"
47 -
48 -if [[ "${PV}" == "9999" ]] ; then
49 - inherit git-r3
50 - SRC_URI=""
51 - EGIT_REPO_URI="https://github.com/elfmz/far2l"
52 - EGIT_BRANCH="master"
53 -else
54 - MY_PV="${PV:4:4}-${PV:8:2}-${PV:10:8}"
55 - MY_P="${PN}-${MY_PV}"
56 - S="${WORKDIR}/${MY_P}"
57 - SRC_URI="https://github.com/elfmz/far2l/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
58 - KEYWORDS="~amd64"
59 -fi
60 -
61 -LICENSE="GPL-2"
62 -SLOT="0"
63 -IUSE="+ssl sftp samba nfs webdav +archive +wxwidgets python"
64 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
65 -
66 -BDEPEND="sys-devel/m4"
67 -
68 -RDEPEND="dev-libs/xerces-c
69 - dev-libs/spdlog
70 - app-i18n/uchardet
71 - wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER} )
72 - ssl? ( dev-libs/openssl )
73 - sftp? ( net-libs/libssh[sftp] )
74 - samba? ( net-fs/samba )
75 - nfs? ( net-fs/libnfs )
76 - webdav? ( net-libs/neon )
77 - archive? (
78 - dev-libs/libpcre2
79 - app-arch/libarchive )
80 - python? (
81 - ${PYTHON_DEPS}
82 - virtual/python-cffi
83 - dev-python/debugpy
84 - )"
85 -
86 -DEPEND="${RDEPEND}"
87 -
88 -DOCS=( README.md )
89 -
90 -pkg_setup() {
91 - if use wxwidgets; then
92 - setup-wxwidgets
93 - fi
94 -}
95 -
96 -src_prepare() {
97 - sed -e "s:execute_process(COMMAND ln -sf \../../bin/far2l \${CMAKE_INSTALL_PREFIX}/lib/far2l/far2l_askpass)::" -i "${S}"/CMakeLists.txt || die
98 - sed -e "s:execute_process(COMMAND ln -sf \../../bin/far2l \${CMAKE_INSTALL_PREFIX}/lib/far2l/far2l_sudoapp)::" -i "${S}"/CMakeLists.txt || die
99 - sed -e "s:execute_process(COMMAND rm -f \${CMAKE_INSTALL_PREFIX}/lib/far2l/Plugins/objinfo/plug/objinfo.far-plug-mb)::" -i "${S}"/CMakeLists.txt || die
100 - sed -e "s:execute_process(COMMAND rm -f \${CMAKE_INSTALL_PREFIX}/lib/far2l/Plugins/farftp/plug/farftp.far-plug-mb && echo Removed existing farftp plugin)::" -i "${S}"/CMakeLists.txt || die
101 - sed -e "s:execute_process(COMMAND rm -f \${CMAKE_INSTALL_PREFIX}/lib/far2l/Plugins/python/plug/python.far-plug-wide && echo Removed existing python plugin)::" -i "${S}"/CMakeLists.txt || die
102 - sed -e "s:execute_process(COMMAND echo Python\: prepaing virtual environment)::" -i "${S}"/CMakeLists.txt || die
103 - sed -e "s:execute_process(COMMAND \${PYTHON3} -m venv --system-site-packages \${CMAKE_INSTALL_PREFIX}/lib/far2l/Plugins/python/plug/python)::" -i "${S}"/CMakeLists.txt || die
104 - sed -e "s:execute_process(COMMAND echo Python\: installing packages)::" -i "${S}"/CMakeLists.txt || die
105 - sed -e "s:execute_process(COMMAND \${CMAKE_INSTALL_PREFIX}/lib/far2l/Plugins/python/plug/python/bin/python -m pip install cffi debugpy)::" -i "${S}"/CMakeLists.txt || die
106 - cmake_src_prepare
107 -}
108 -
109 -src_configure() {
110 - local mycmakeargs=(
111 - -DUSEWX="$(usex wxwidgets)"
112 - -DPYTHON="$(usex python)"
113 - -DBUILD_SHARED_LIBS=OFF
114 - )
115 -
116 - cmake_src_configure
117 -}
118 -
119 -src_install(){
120 - cmake_src_install
121 - einstalldocs
122 - dosym "../../bin/far2l" "usr/lib/far2l/far2l_askpass"
123 - dosym "../../bin/far2l" "usr/lib/far2l/far2l_sudoapp"
124 -}
125
126 diff --git a/app-misc/far2l/far2l-2.3.20210921_alpha.ebuild b/app-misc/far2l/far2l-2.3.2_alpha.ebuild
127 similarity index 95%
128 rename from app-misc/far2l/far2l-2.3.20210921_alpha.ebuild
129 rename to app-misc/far2l/far2l-2.3.2_alpha.ebuild
130 index f23f32656..10f77e4c5 100644
131 --- a/app-misc/far2l/far2l-2.3.20210921_alpha.ebuild
132 +++ b/app-misc/far2l/far2l-2.3.2_alpha.ebuild
133 @@ -18,10 +18,10 @@ if [[ "${PV}" == "9999" ]] ; then
134 EGIT_REPO_URI="https://github.com/elfmz/far2l"
135 EGIT_BRANCH="master"
136 else
137 - MY_PV="${PV:4:4}-${PV:8:2}-${PV:10:8}"
138 + MY_PV="v_${PV/_alpha/}"
139 MY_P="${PN}-${MY_PV}"
140 S="${WORKDIR}/${MY_P}"
141 - SRC_URI="https://github.com/elfmz/far2l/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
142 + SRC_URI="https://github.com/elfmz/far2l/archive/${MY_PV}.tar.gz"
143 KEYWORDS="~amd64"
144 fi
145
146 @@ -29,6 +29,7 @@ LICENSE="GPL-2"
147 SLOT="0"
148 IUSE="+ssl sftp samba nfs webdav +archive +wxwidgets python"
149 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
150 +RESTRICT="mirror"
151
152 BDEPEND="sys-devel/m4"
153
154
155 diff --git a/app-misc/far2l/far2l-9999.ebuild b/app-misc/far2l/far2l-9999.ebuild
156 index f23f32656..10f77e4c5 100644
157 --- a/app-misc/far2l/far2l-9999.ebuild
158 +++ b/app-misc/far2l/far2l-9999.ebuild
159 @@ -18,10 +18,10 @@ if [[ "${PV}" == "9999" ]] ; then
160 EGIT_REPO_URI="https://github.com/elfmz/far2l"
161 EGIT_BRANCH="master"
162 else
163 - MY_PV="${PV:4:4}-${PV:8:2}-${PV:10:8}"
164 + MY_PV="v_${PV/_alpha/}"
165 MY_P="${PN}-${MY_PV}"
166 S="${WORKDIR}/${MY_P}"
167 - SRC_URI="https://github.com/elfmz/far2l/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
168 + SRC_URI="https://github.com/elfmz/far2l/archive/${MY_PV}.tar.gz"
169 KEYWORDS="~amd64"
170 fi
171
172 @@ -29,6 +29,7 @@ LICENSE="GPL-2"
173 SLOT="0"
174 IUSE="+ssl sftp samba nfs webdav +archive +wxwidgets python"
175 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
176 +RESTRICT="mirror"
177
178 BDEPEND="sys-devel/m4"