Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/
Date: Wed, 20 Feb 2019 21:40:29
Message-Id: 1550698700.7022efa4479b36e046198e0384f818e965328022.pacho@gentoo
1 commit: 7022efa4479b36e046198e0384f818e965328022
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 20 21:38:20 2019 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 20 21:38:20 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7022efa4
7
8 dev-libs/beecrypt: Drop old
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild | 98 ------------------------------
14 1 file changed, 98 deletions(-)
15
16 diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild
17 deleted file mode 100644
18 index 43810318441..00000000000
19 --- a/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild
20 +++ /dev/null
21 @@ -1,98 +0,0 @@
22 -# Copyright 1999-2018 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
26 -
27 -PYTHON_COMPAT=( python2_7 )
28 -
29 -inherit autotools flag-o-matic java-pkg-opt-2 python-single-r1
30 -
31 -DESCRIPTION="General-purpose cryptography library"
32 -HOMEPAGE="https://sourceforge.net/projects/beecrypt/"
33 -SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz"
34 -
35 -LICENSE="GPL-2 LGPL-2"
36 -SLOT="0"
37 -KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
38 -IUSE="+threads java cxx python static-libs doc"
39 -REQUIRED_USE="cxx? ( threads )
40 - python? ( ${PYTHON_REQUIRED_USE} )"
41 -
42 -COMMON_DEPEND="!<app-arch/rpm-4.2.1
43 - cxx? ( >=dev-libs/icu-6.1:= )
44 - python? ( ${PYTHON_DEPS} )"
45 -
46 -DEPEND="${COMMON_DEPEND}
47 - java? ( >=virtual/jdk-1.4 )
48 - doc? ( app-doc/doxygen
49 - virtual/latex-base
50 - dev-texlive/texlive-fontsextra
51 - )"
52 -RDEPEND="${COMMON_DEPEND}
53 - java? ( >=virtual/jre-1.4 )"
54 -
55 -DOCS=( BUGS README BENCHMARKS NEWS )
56 -PATCHES=(
57 - "${FILESDIR}"/${P}-build-system.patch
58 - "${FILESDIR}"/${P}-gcc-4.7.patch
59 -
60 - # Fixes bug 596904
61 - "${FILESDIR}"/${P}-c++11-allow-throw-in-destructors.patch
62 - "${FILESDIR}"/${P}-cast-uchar.patch #618676
63 -
64 - "${FILESDIR}"/${P}-icu-61.patch
65 -)
66 -
67 -pkg_setup() {
68 - use python && python-single-r1_pkg_setup
69 - java-pkg-opt-2_pkg_setup
70 -}
71 -
72 -src_prepare() {
73 - default
74 - eautoreconf
75 -}
76 -
77 -src_configure() {
78 - # ICU needs char16_t support now
79 - # bug 649548
80 - append-cxxflags -std=c++14
81 -
82 - # cplusplus needs threads support
83 - ac_cv_java_include=$(use java && java-pkg_get-jni-cflags) \
84 - econf \
85 - --disable-expert-mode \
86 - $(use_enable static-libs static) \
87 - $(use_enable threads) \
88 - $(use_with python python "${PYTHON}") \
89 - $(use_with cxx cplusplus) \
90 - $(use_with java)
91 -}
92 -
93 -src_compile() {
94 - default
95 -
96 - if use doc; then
97 - pushd include/beecrypt >/dev/null || die
98 - doxygen || die "doxygen failed"
99 - popd >/dev/null || die
100 - HTML_DOCS=( docs/html/*.{css,html,js,png} )
101 - fi
102 -}
103 -
104 -src_test() {
105 - export BEECRYPT_CONF_FILE="${T}/beecrypt-test.conf"
106 - echo "provider.1=${S}/c++/provider/.libs/base.so" > "${BEECRYPT_CONF_FILE}" || die
107 - emake check bench
108 -}
109 -
110 -src_install() {
111 - default
112 -
113 - if use python; then
114 - rm -f "${D%/}$(python_get_sitedir)"/_bc.*a || die
115 - fi
116 - if ! use static-libs; then
117 - find "${D}" -name '*.la' -delete || die
118 - fi
119 -}