Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/passwordsafe/
Date: Sun, 25 Dec 2016 12:47:39
Message-Id: 1482670041.8cf2e174e2e82fc4efafa4af48c9f5d9a2fe8e3a.mrueg@gentoo
1 commit: 8cf2e174e2e82fc4efafa4af48c9f5d9a2fe8e3a
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 25 12:47:21 2016 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 25 12:47:21 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cf2e174
7
8 app-admin/passwordsafe: Remove old
9
10 Package-Manager: portage-2.3.3
11
12 app-admin/passwordsafe/Manifest | 1 -
13 .../passwordsafe/passwordsafe-0.99_beta.ebuild | 88 ----------------------
14 2 files changed, 89 deletions(-)
15
16 diff --git a/app-admin/passwordsafe/Manifest b/app-admin/passwordsafe/Manifest
17 index 9704103..63a9c08 100644
18 --- a/app-admin/passwordsafe/Manifest
19 +++ b/app-admin/passwordsafe/Manifest
20 @@ -1,3 +1,2 @@
21 -DIST passwordsafe-0.99_beta.tar.gz 13867271 SHA256 d5369fe83e44dc5a3feb850b8bfb91d42a9ca11256470a561dd91c37c952571f SHA512 338317c0a618686d646a6e2ea50887429aab08e7b6f263a03a2befcaf23e3b706147a5e36a0c5b4b73bc1c762b31407ab797795a9229370a603459236d974694 WHIRLPOOL b7620ee0156d843d1c80ce46ae098cd8920d1eb023f45f0d566e8a32fd0323dc3e4cca99e9b2249969df6481af145ff50c98e4e4972590ffd41373a1fbeb1bda
22 DIST passwordsafe-1.00_beta.tar.gz 13959557 SHA256 e01c62be5f9a80910e61b7b39dc834ffab3e6a9946795312b1df487bc5a5f0bc SHA512 7f0c6b99e452e7a70e6678ffc8941f0e5e446ab7178713428a9632cd885fa5ca7d3cdd8d146848992f7631f5dadcae85e7c0b4388819d78b88caa640004ab4b1 WHIRLPOOL dc317bd3a62b0c896de781c5f4798c058b59e8ffeda7c8f33094697abf4cef8d4a544709a2b1b5ec21c09d82122e874de837cad9277e4f42f066ab0ab68b3c91
23 DIST passwordsafe-1.01_beta.tar.gz 13984971 SHA256 dc1e7e012009309f57a8611adad9ec62fdafe5b326f66dd0cefe2b5988ee52aa SHA512 e7dbca0caf3942423280f6e1d61e46294a5dd9f78ac1b9047a6085a0dc52d9cfc35eb4b5eb1f56b08337235d2aaa97ea22f2d472ff1a021843034d2a49737abf WHIRLPOOL 65cca1a1622eea7d63ff53f0661fbbccb6eaa1adc78747df7eae04ce58c32b5326b2a56749919a3a0ffc001a9395c27412816eda0b69f621dba65964b16d47b9
24
25 diff --git a/app-admin/passwordsafe/passwordsafe-0.99_beta.ebuild b/app-admin/passwordsafe/passwordsafe-0.99_beta.ebuild
26 deleted file mode 100644
27 index 3634dff..00000000
28 --- a/app-admin/passwordsafe/passwordsafe-0.99_beta.ebuild
29 +++ /dev/null
30 @@ -1,88 +0,0 @@
31 -# Copyright 1999-2016 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -# $Id$
34 -
35 -EAPI=5
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 - sys-devel/gettext
60 - test? ( dev-cpp/gtest )"
61 -
62 -S=${WORKDIR}/pwsafe-${MY_PV}
63 -
64 -pkg_pretend() {
65 - einfo "Checking for -std=c++11 support in compiler"
66 - test-flags-CXX -std=c++11 > /dev/null || die
67 -}
68 -
69 -src_prepare() {
70 - # binary name pwsafe is in use by app-misc/pwsafe, we use passwordsafe
71 - # instead. Perform required changes in linking files
72 - sed -i install/desktop/pwsafe.desktop -e "s/pwsafe/${PN}/g" || die
73 - sed -i docs/pwsafe.1 \
74 - -e 's/PWSAFE/PASSWORDSAFE/' \
75 - -e "s/^.B pwsafe/.B ${PN}/" || die
76 - use test || sed -i -e '/find_package(GTest REQUIRED)/s/^/#/' \
77 - -e '/add_subdirectory (src\/test)/s/^/#/' CMakeLists.txt || die
78 -}
79 -
80 -src_configure() {
81 - need-wxwidgets unicode
82 -
83 - local mycmakeargs=( $(usex yubikey '' '-DNO_YUBI=ON')
84 - $(usex xml '' '-DNO_XML=ON') )
85 -
86 - cmake-utils_src_configure
87 -}
88 -
89 -src_install() {
90 - pushd "${BUILD_DIR}" || die
91 - if use minimal; then
92 - newbin pwsafe ${PN}
93 - else
94 - dobin pwsafe
95 - dosym pwsafe /usr/bin/${PN}
96 - fi
97 - insinto /usr/share/locale
98 - doins -r src/ui/wxWidgets/I18N/mos/*
99 -
100 - # The upstream Makefile builds this .zip file from html source material for
101 - # use by the package's internal help system. Must prevent
102 - # Portage from applying additional compression.
103 - docompress -x /usr/share/doc/${PN}/help
104 - insinto /usr/share/doc/${PN}/help
105 - doins help/*.zip
106 -
107 - popd || die
108 -
109 - newman docs/pwsafe.1 ${PN}.1
110 -
111 - dodoc README.txt docs/{ReleaseNotes.txt,ChangeLog.txt}
112 -
113 - insinto /usr/share/pwsafe/xml
114 - doins xml/*
115 -
116 - newicon install/graphics/pwsafe.png ${PN}.png
117 - newmenu install/desktop/pwsafe.desktop ${PN}.desktop
118 -}