Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/passwordsafe/
Date: Sun, 19 Aug 2018 22:52:32
Message-Id: 1534719037.6c05932a05629f2a0ca8ce8da6395fb142c432de.monsieurp@gentoo
1 commit: 6c05932a05629f2a0ca8ce8da6395fb142c432de
2 Author: Hendrik v. Raven <hendrik <AT> consetetur <DOT> de>
3 AuthorDate: Thu Aug 16 21:24:38 2018 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 19 22:50:37 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c05932a
7
8 app-admin/passwordsafe: drop old.
9
10 Package-Manager: Portage-2.3.38, Repoman-2.3.9
11
12 app-admin/passwordsafe/Manifest | 2 -
13 .../passwordsafe/passwordsafe-1.02.1_beta.ebuild | 90 ---------------------
14 .../passwordsafe/passwordsafe-1.04_beta.ebuild | 93 ----------------------
15 3 files changed, 185 deletions(-)
16
17 diff --git a/app-admin/passwordsafe/Manifest b/app-admin/passwordsafe/Manifest
18 index 4980c22d4cb..035ef0ae55c 100644
19 --- a/app-admin/passwordsafe/Manifest
20 +++ b/app-admin/passwordsafe/Manifest
21 @@ -1,3 +1 @@
22 -DIST passwordsafe-1.02.1_beta.tar.gz 14068085 BLAKE2B 7a1bff0f2db798e08377436020473a8c6c46f9e64fa85629b6545f70954a3ad05735ee101bea021308589d523724f70fce24447837ee25cf1b897a7703873757 SHA512 c83a0c757f9f74906ffaebf650fd3f422a29f838c7f5430b3d3e32852b35dd92dc413a1c920320af9812d7960f0648e8df8a9d145828f8669e824e9972038067
23 -DIST passwordsafe-1.04_beta.tar.gz 14329263 BLAKE2B 17f4b0cd0b34f8907530a7da43dfbceab56c9aefd65f2d0ba0356b5a1820e8b4273c68655229a07947693fd6d320bc654065f790c86daff31679b565a57145fe SHA512 5f2d0634be3d3932991f77e96b7b40fee3984407ec8620d82caea089bba49df69444cdf8d2cf431aace43636c5034892a672c338ee98df06473d2569953bdab3
24 DIST passwordsafe-1.06_beta.tar.gz 14295034 BLAKE2B 83f480eee16938e396fa01797f67f5bc61984414b7f38b91404caea3dd6b3d31ba0e2ce4d198da048dff9cf1b5c8ba04e8bb9c93351fc21552bbc05a3b9ba486 SHA512 2a5be46e0e90f98c519bf9137f32298672359d1bfeb081a71d67251b35da6c1157e18c35a2c84321ed3fa077cb15ebf9cee763ba13b201ce02965d6642bb246c
25
26 diff --git a/app-admin/passwordsafe/passwordsafe-1.02.1_beta.ebuild b/app-admin/passwordsafe/passwordsafe-1.02.1_beta.ebuild
27 deleted file mode 100644
28 index a31827651c2..00000000000
29 --- a/app-admin/passwordsafe/passwordsafe-1.02.1_beta.ebuild
30 +++ /dev/null
31 @@ -1,90 +0,0 @@
32 -# Copyright 1999-2017 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -WX_GTK_VER="3.0"
38 -
39 -inherit eutils flag-o-matic wxwidgets cmake-utils
40 -
41 -MY_PV="${PV/_beta/BETA}"
42 -DESCRIPTION="Password manager with wxGTK based frontend"
43 -HOMEPAGE="https://pwsafe.org/ https://github.com/pwsafe/pwsafe/"
44 -SRC_URI="https://github.com/pwsafe/pwsafe/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
45 -
46 -LICENSE="Artistic-2"
47 -SLOT="0"
48 -KEYWORDS="~amd64"
49 -IUSE="minimal test yubikey +xml"
50 -
51 -RDEPEND="xml? ( dev-libs/xerces-c )
52 - sys-apps/util-linux
53 - x11-libs/libXt
54 - x11-libs/libXtst
55 - x11-libs/wxGTK:${WX_GTK_VER}[X]
56 - !minimal? ( !!app-misc/pwsafe )
57 - yubikey? ( sys-auth/ykpers )"
58 -DEPEND="${RDEPEND}
59 - app-arch/zip
60 - sys-devel/gettext
61 - test? ( dev-cpp/gtest )"
62 -
63 -S=${WORKDIR}/pwsafe-${MY_PV}
64 -
65 -pkg_pretend() {
66 - einfo "Checking for -std=c++11 support in compiler"
67 - test-flags-CXX -std=c++11 > /dev/null || die
68 -}
69 -
70 -src_prepare() {
71 - cmake-utils_src_prepare
72 -
73 - # binary name pwsafe is in use by app-misc/pwsafe, we use passwordsafe
74 - # instead. Perform required changes in linking files
75 - sed -i install/desktop/pwsafe.desktop -e "s/pwsafe/${PN}/g" || die
76 - sed -i docs/pwsafe.1 \
77 - -e 's/PWSAFE/PASSWORDSAFE/' \
78 - -e "s/^.B pwsafe/.B ${PN}/" || die
79 - use test || sed -i -e '/find_package(GTest REQUIRED)/s/^/#/' \
80 - -e '/add_subdirectory (src\/test)/s/^/#/' CMakeLists.txt || die
81 -}
82 -
83 -src_configure() {
84 - need-wxwidgets unicode
85 -
86 - local mycmakeargs=( $(usex yubikey '' '-DNO_YUBI=ON')
87 - $(usex xml '' '-DNO_XML=ON') )
88 -
89 - cmake-utils_src_configure
90 -}
91 -
92 -src_install() {
93 - pushd "${BUILD_DIR}" || die
94 - if use minimal; then
95 - newbin pwsafe ${PN}
96 - else
97 - dobin pwsafe
98 - dosym pwsafe /usr/bin/${PN}
99 - fi
100 - insinto /usr/share/locale
101 - doins -r src/ui/wxWidgets/I18N/mos/*
102 -
103 - # The upstream Makefile builds this .zip file from html source material for
104 - # use by the package's internal help system. Must prevent
105 - # Portage from applying additional compression.
106 - docompress -x /usr/share/doc/${PN}/help
107 - insinto /usr/share/doc/${PN}/help
108 - doins help/*.zip
109 -
110 - popd || die
111 -
112 - newman docs/pwsafe.1 ${PN}.1
113 -
114 - dodoc README.txt docs/{ReleaseNotes.txt,ChangeLog.txt}
115 -
116 - insinto /usr/share/pwsafe/xml
117 - doins xml/*
118 -
119 - newicon install/graphics/pwsafe.png ${PN}.png
120 - newmenu install/desktop/pwsafe.desktop ${PN}.desktop
121 -}
122
123 diff --git a/app-admin/passwordsafe/passwordsafe-1.04_beta.ebuild b/app-admin/passwordsafe/passwordsafe-1.04_beta.ebuild
124 deleted file mode 100644
125 index 14da0d36f2c..00000000000
126 --- a/app-admin/passwordsafe/passwordsafe-1.04_beta.ebuild
127 +++ /dev/null
128 @@ -1,93 +0,0 @@
129 -# Copyright 1999-2018 Gentoo Foundation
130 -# Distributed under the terms of the GNU General Public License v2
131 -
132 -EAPI=6
133 -
134 -WX_GTK_VER="3.0-gtk3"
135 -
136 -inherit eutils flag-o-matic wxwidgets cmake-utils
137 -
138 -MY_PV="${PV/_beta/BETA}"
139 -DESCRIPTION="Password manager with wxGTK based frontend"
140 -HOMEPAGE="https://pwsafe.org/ https://github.com/pwsafe/pwsafe/"
141 -SRC_URI="https://github.com/pwsafe/pwsafe/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
142 -
143 -LICENSE="Artistic-2"
144 -SLOT="0"
145 -KEYWORDS="~amd64"
146 -IUSE="minimal test qr yubikey +xml"
147 -
148 -RDEPEND="xml? ( dev-libs/xerces-c )
149 - qr? ( media-gfx/qrencode )
150 - sys-apps/util-linux
151 - x11-libs/libXt
152 - x11-libs/libXtst
153 - x11-libs/wxGTK:${WX_GTK_VER}[X]
154 - !minimal? ( !!app-misc/pwsafe )
155 - yubikey? ( sys-auth/ykpers )"
156 -DEPEND="${RDEPEND}
157 - app-arch/zip
158 - sys-devel/gettext
159 - test? ( dev-cpp/gtest )"
160 -
161 -S=${WORKDIR}/pwsafe-${MY_PV}
162 -
163 -pkg_pretend() {
164 - einfo "Checking for -std=c++11 support in compiler"
165 - test-flags-CXX -std=c++11 > /dev/null || die
166 -}
167 -
168 -src_prepare() {
169 - cmake-utils_src_prepare
170 -
171 - # binary name pwsafe is in use by app-misc/pwsafe, we use passwordsafe
172 - # instead. Perform required changes in linking files
173 - sed -i install/desktop/pwsafe.desktop -e "s/pwsafe/${PN}/g" || die
174 - sed -i docs/pwsafe.1 \
175 - -e 's/PWSAFE/PASSWORDSAFE/' \
176 - -e "s/^.B pwsafe/.B ${PN}/" || die
177 -}
178 -
179 -src_configure() {
180 - need-wxwidgets unicode
181 -
182 - local mycmakeargs=(
183 - -DNO_QR=$(usex !qr)
184 - -DNO_GTEST=$(usex !test)
185 - -DXML_XERCESC=$(usex xml)
186 - -DNO_YUBI=$(usex !yubikey)
187 - )
188 -
189 - cmake-utils_src_configure
190 -}
191 -
192 -src_install() {
193 - pushd "${BUILD_DIR}" || die
194 - if use minimal; then
195 - newbin pwsafe ${PN}
196 - else
197 - dobin pwsafe
198 - dosym pwsafe /usr/bin/${PN}
199 - fi
200 - insinto /usr/share/locale
201 - doins -r src/ui/wxWidgets/I18N/mos/*
202 -
203 - # The upstream Makefile builds this .zip file from html source material for
204 - # use by the package's internal help system. Must prevent
205 - # Portage from applying additional compression.
206 - docompress -x /usr/share/doc/${PN}/help
207 - insinto /usr/share/doc/${PN}/help
208 - doins help/*.zip
209 -
210 - popd || die
211 -
212 - newman docs/pwsafe.1 ${PN}.1
213 -
214 - dodoc README.md README.LINUX.* docs/{ReleaseNotes.txt,ChangeLog.txt}
215 -
216 - insinto /usr/share/pwsafe/xml
217 - doins xml/*
218 -
219 - newicon install/graphics/pwsafe.png ${PN}.png
220 - newmenu install/desktop/pwsafe.desktop ${PN}.desktop
221 -}