1 |
commit: 2151ef52b22d0def60bed824199bf6ad311c3a32 |
2 |
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 16 13:47:24 2018 +0000 |
4 |
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 16 17:42:05 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2151ef52 |
7 |
|
8 |
app-crypt/gpgme: cleanup live ebuild |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
app-crypt/gpgme/gpgme-9999.ebuild | 104 -------------------------------------- |
13 |
1 file changed, 104 deletions(-) |
14 |
|
15 |
diff --git a/app-crypt/gpgme/gpgme-9999.ebuild b/app-crypt/gpgme/gpgme-9999.ebuild |
16 |
deleted file mode 100644 |
17 |
index e9ff4a13a87..00000000000 |
18 |
--- a/app-crypt/gpgme/gpgme-9999.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,104 +0,0 @@ |
21 |
-# Copyright 1999-2018 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI="6" |
25 |
- |
26 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
27 |
-DISTUTILS_OPTIONAL=1 |
28 |
- |
29 |
-inherit distutils-r1 flag-o-matic ltprune qmake-utils toolchain-funcs |
30 |
-inherit git-r3 autotools |
31 |
- |
32 |
-DESCRIPTION="GnuPG Made Easy is a library for making GnuPG easier to use" |
33 |
-HOMEPAGE="http://www.gnupg.org/related_software/gpgme" |
34 |
-EGIT_REPO_URI="git://git.gnupg.org/gpgme.git" |
35 |
- |
36 |
-LICENSE="GPL-2 LGPL-2.1" |
37 |
-SLOT="1/11" # subslot = soname major version |
38 |
-KEYWORDS="" |
39 |
-IUSE="common-lisp static-libs cxx python qt5" |
40 |
- |
41 |
-COMMON_DEPEND=">=app-crypt/gnupg-2 |
42 |
- >=dev-libs/libassuan-2.0.2:= |
43 |
- >=dev-libs/libgpg-error-1.17:= |
44 |
- python? ( ${PYTHON_DEPS} ) |
45 |
- qt5? ( dev-qt/qtcore:5 )" |
46 |
- #doc? ( app-doc/doxygen[dot] ) |
47 |
-DEPEND="${COMMON_DEPEND} |
48 |
- python? ( dev-lang/swig ) |
49 |
- qt5? ( dev-qt/qttest:5 )" |
50 |
-RDEPEND="${COMMON_DEPEND} |
51 |
- cxx? ( |
52 |
- !<kde-apps/gpgmepp-4.14.11_pre20160611:4 |
53 |
- !kde-apps/gpgmepp:5 |
54 |
- !<kde-apps/kdepimlibs-4.14.10_p20160611:4 |
55 |
- !=kde-apps/kdepimlibs-4.14.11_pre20160211*:4 |
56 |
- )" |
57 |
- |
58 |
-REQUIRED_USE="qt5? ( cxx ) python? ( ${PYTHON_REQUIRED_USE} )" |
59 |
- |
60 |
-do_python() { |
61 |
- if use python; then |
62 |
- pushd "lang/python" > /dev/null || die |
63 |
- top_builddir="../.." srcdir="." CPP=$(tc-getCPP) distutils-r1_src_${EBUILD_PHASE} |
64 |
- popd > /dev/null |
65 |
- fi |
66 |
-} |
67 |
- |
68 |
-pkg_setup() { |
69 |
- addpredict /run/user/$(id -u)/gnupg |
70 |
-} |
71 |
- |
72 |
-src_prepare() { |
73 |
- default |
74 |
- eautoreconf |
75 |
-} |
76 |
- |
77 |
-src_configure() { |
78 |
- local languages=() |
79 |
- use common-lisp && languages+=( "cl" ) |
80 |
- use cxx && languages+=( "cpp" ) |
81 |
- if use qt5; then |
82 |
- languages+=( "qt" ) |
83 |
- #use doc || |
84 |
- export DOXYGEN=true |
85 |
- export MOC="$(qt5_get_bindir)/moc" |
86 |
- fi |
87 |
- |
88 |
- econf \ |
89 |
- --enable-languages="${languages[*]}" \ |
90 |
- $(use_enable static-libs static) |
91 |
- |
92 |
- use python && make -C lang/python prepare |
93 |
- |
94 |
- do_python |
95 |
-} |
96 |
- |
97 |
-src_compile() { |
98 |
- default |
99 |
- do_python |
100 |
-} |
101 |
- |
102 |
-src_test() { |
103 |
- default |
104 |
- if use python; then |
105 |
- test_python() { |
106 |
- emake -C lang/python/tests check \ |
107 |
- PYTHON=${EPYTHON} \ |
108 |
- PYTHONS=${EPYTHON} \ |
109 |
- TESTFLAGS="--python-libdir=${BUILD_DIR}/lib" |
110 |
- } |
111 |
- python_foreach_impl test_python |
112 |
- fi |
113 |
-} |
114 |
- |
115 |
-src_install() { |
116 |
- default |
117 |
- do_python |
118 |
- prune_libtool_files |
119 |
- |
120 |
- # backward compatibility for gentoo |
121 |
- # in the past we had slots |
122 |
- dodir /usr/include/gpgme |
123 |
- dosym ../gpgme.h /usr/include/gpgme/gpgme.h |
124 |
-} |