Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/passwordsafe/
Date: Sun, 23 Jul 2017 12:01:35
Message-Id: 1500811282.40ceff19637e5a1e6f9bbbdf234a2a4855b68ce5.kensington@gentoo
1 commit: 40ceff19637e5a1e6f9bbbdf234a2a4855b68ce5
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 23 11:58:52 2017 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 23 12:01:22 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40ceff19
7
8 app-admin/passwordsafe: remove 1.01_beta
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11
12 app-admin/passwordsafe/Manifest | 1 -
13 .../passwordsafe/passwordsafe-1.01_beta.ebuild | 87 ----------------------
14 2 files changed, 88 deletions(-)
15
16 diff --git a/app-admin/passwordsafe/Manifest b/app-admin/passwordsafe/Manifest
17 index b110606d868..0c402ce51f1 100644
18 --- a/app-admin/passwordsafe/Manifest
19 +++ b/app-admin/passwordsafe/Manifest
20 @@ -1,2 +1 @@
21 -DIST passwordsafe-1.01_beta.tar.gz 13984971 SHA256 dc1e7e012009309f57a8611adad9ec62fdafe5b326f66dd0cefe2b5988ee52aa SHA512 e7dbca0caf3942423280f6e1d61e46294a5dd9f78ac1b9047a6085a0dc52d9cfc35eb4b5eb1f56b08337235d2aaa97ea22f2d472ff1a021843034d2a49737abf WHIRLPOOL 65cca1a1622eea7d63ff53f0661fbbccb6eaa1adc78747df7eae04ce58c32b5326b2a56749919a3a0ffc001a9395c27412816eda0b69f621dba65964b16d47b9
22 DIST passwordsafe-1.02.1_beta.tar.gz 14068085 SHA256 cd376032947c705fbbdbecb763eea760cc7ce2e1eb539df04bda3fad34ad9e27 SHA512 c83a0c757f9f74906ffaebf650fd3f422a29f838c7f5430b3d3e32852b35dd92dc413a1c920320af9812d7960f0648e8df8a9d145828f8669e824e9972038067 WHIRLPOOL b082cdc26167be832302df4a07d695bba8a581a588b7ee66f6549ab2642b35b85d5921a8381b5f21726b5d0f93fc88d6dc713ff6356f9e0f5d524aeb0d92390a
23
24 diff --git a/app-admin/passwordsafe/passwordsafe-1.01_beta.ebuild b/app-admin/passwordsafe/passwordsafe-1.01_beta.ebuild
25 deleted file mode 100644
26 index 8ab30577399..00000000000
27 --- a/app-admin/passwordsafe/passwordsafe-1.01_beta.ebuild
28 +++ /dev/null
29 @@ -1,87 +0,0 @@
30 -# Copyright 1999-2016 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=5
34 -
35 -WX_GTK_VER="3.0"
36 -
37 -inherit eutils flag-o-matic wxwidgets cmake-utils
38 -
39 -MY_PV="${PV/_beta/BETA}"
40 -DESCRIPTION="Password manager with wxGTK based frontend"
41 -HOMEPAGE="https://pwsafe.org/ https://github.com/pwsafe/pwsafe/"
42 -SRC_URI="https://github.com/pwsafe/pwsafe/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
43 -
44 -LICENSE="Artistic-2"
45 -SLOT="0"
46 -KEYWORDS="~amd64"
47 -IUSE="minimal test yubikey +xml"
48 -
49 -RDEPEND="xml? ( dev-libs/xerces-c )
50 - sys-apps/util-linux
51 - x11-libs/libXt
52 - x11-libs/libXtst
53 - x11-libs/wxGTK:${WX_GTK_VER}[X]
54 - !minimal? ( !!app-misc/pwsafe )
55 - yubikey? ( sys-auth/ykpers )"
56 -DEPEND="${RDEPEND}
57 - sys-devel/gettext
58 - test? ( dev-cpp/gtest )"
59 -
60 -S=${WORKDIR}/pwsafe-${MY_PV}
61 -
62 -pkg_pretend() {
63 - einfo "Checking for -std=c++11 support in compiler"
64 - test-flags-CXX -std=c++11 > /dev/null || die
65 -}
66 -
67 -src_prepare() {
68 - # binary name pwsafe is in use by app-misc/pwsafe, we use passwordsafe
69 - # instead. Perform required changes in linking files
70 - sed -i install/desktop/pwsafe.desktop -e "s/pwsafe/${PN}/g" || die
71 - sed -i docs/pwsafe.1 \
72 - -e 's/PWSAFE/PASSWORDSAFE/' \
73 - -e "s/^.B pwsafe/.B ${PN}/" || die
74 - use test || sed -i -e '/find_package(GTest REQUIRED)/s/^/#/' \
75 - -e '/add_subdirectory (src\/test)/s/^/#/' CMakeLists.txt || die
76 -}
77 -
78 -src_configure() {
79 - need-wxwidgets unicode
80 -
81 - local mycmakeargs=( $(usex yubikey '' '-DNO_YUBI=ON')
82 - $(usex xml '' '-DNO_XML=ON') )
83 -
84 - cmake-utils_src_configure
85 -}
86 -
87 -src_install() {
88 - pushd "${BUILD_DIR}" || die
89 - if use minimal; then
90 - newbin pwsafe ${PN}
91 - else
92 - dobin pwsafe
93 - dosym pwsafe /usr/bin/${PN}
94 - fi
95 - insinto /usr/share/locale
96 - doins -r src/ui/wxWidgets/I18N/mos/*
97 -
98 - # The upstream Makefile builds this .zip file from html source material for
99 - # use by the package's internal help system. Must prevent
100 - # Portage from applying additional compression.
101 - docompress -x /usr/share/doc/${PN}/help
102 - insinto /usr/share/doc/${PN}/help
103 - doins help/*.zip
104 -
105 - popd || die
106 -
107 - newman docs/pwsafe.1 ${PN}.1
108 -
109 - dodoc README.txt docs/{ReleaseNotes.txt,ChangeLog.txt}
110 -
111 - insinto /usr/share/pwsafe/xml
112 - doins xml/*
113 -
114 - newicon install/graphics/pwsafe.png ${PN}.png
115 - newmenu install/desktop/pwsafe.desktop ${PN}.desktop
116 -}