Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/bbdb/, app-emacs/bbdb/files/
Date: Thu, 12 Mar 2020 14:53:11
Message-Id: 1584024777.dd491221654b5c19d1e63b3061687671e6451e70.ulm@gentoo
1 commit: dd491221654b5c19d1e63b3061687671e6451e70
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 12 14:49:24 2020 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 12 14:52:57 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd491221
7
8 app-emacs/bbdb: Version bump to 3.2_pre20180106.
9
10 The upstream repo has a v3.2 tag, but there is no release tarball in
11 the download area. The tarball that can be downloaded from cgit is
12 incomplete (e.g., it doesn't contain a configure file).
13
14 Therefore treat this like a prerelease snapshot and add a _pre suffix.
15
16 Package-Manager: Portage-2.3.93, Repoman-2.3.20
17 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
18
19 app-emacs/bbdb/Manifest | 1 +
20 app-emacs/bbdb/bbdb-3.2_pre20180106.ebuild | 62 ++++++++++++++++++++++++++++++
21 app-emacs/bbdb/files/50bbdb-gentoo-3.2.el | 4 ++
22 3 files changed, 67 insertions(+)
23
24 diff --git a/app-emacs/bbdb/Manifest b/app-emacs/bbdb/Manifest
25 index 5c00f00f1fc..50f7f267031 100644
26 --- a/app-emacs/bbdb/Manifest
27 +++ b/app-emacs/bbdb/Manifest
28 @@ -1 +1,2 @@
29 DIST bbdb-3.1.2.tar.gz 378935 BLAKE2B 3fc862d2d68632c997e3f250aa82cced743c3cc3861c74789bb12015ab99745270c79722dc0342334b90f4dd9071ef809ab670a342ac227c24a927870907c25c SHA512 8b32baadc4eb06b0abf533ccb1f540f4f407f27b8d2e847ae25e62d1405e1de5cfc6af16368eecd4086f281ee7a4016cf25568847b3cb798156c7e18e1912576
30 +DIST bbdb-3.2.tar.gz 189456 BLAKE2B b25efd6a3a156684e0a8f15db056683876c8dd1a44eb585db269746c7424cc18df5407e3a04defcbbd8a2c8438bbe2b16d55ab290e842951f6e475bfc34871fe SHA512 593ba5143b50f2818c19c94452efb2c5d7194ed5dc8deecf1d380da4f80e0fad2542b9a7ee68d8baca2bc2bfd84fa0459eb3cd18faaf998eb0956fcfb62dc5c8
31
32 diff --git a/app-emacs/bbdb/bbdb-3.2_pre20180106.ebuild b/app-emacs/bbdb/bbdb-3.2_pre20180106.ebuild
33 new file mode 100644
34 index 00000000000..8dc25fd9b6b
35 --- /dev/null
36 +++ b/app-emacs/bbdb/bbdb-3.2_pre20180106.ebuild
37 @@ -0,0 +1,62 @@
38 +# Copyright 1999-2020 Gentoo Authors
39 +# Distributed under the terms of the GNU General Public License v2
40 +
41 +EAPI=7
42 +
43 +inherit elisp autotools
44 +
45 +MY_P="${P%_pre*}"
46 +DESCRIPTION="The Insidious Big Brother Database"
47 +HOMEPAGE="https://savannah.nongnu.org/projects/bbdb/"
48 +#SRC_URI="https://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz"
49 +SRC_URI="https://git.savannah.nongnu.org/cgit/bbdb.git/snapshot/${MY_P}.tar.gz"
50 +S="${WORKDIR}/${MY_P}"
51 +
52 +LICENSE="GPL-3+ GPL-1+"
53 +SLOT="0"
54 +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
55 +IUSE="tex vm"
56 +RESTRICT="test" #631700
57 +
58 +BDEPEND="vm? ( app-emacs/vm )"
59 +RDEPEND="${BDEPEND}
60 + tex? ( virtual/latex-base )"
61 +
62 +SITEFILE="50${PN}-gentoo-3.2.el"
63 +TEXMF="/usr/share/texmf-site"
64 +
65 +src_prepare() {
66 + default
67 + eautoreconf
68 +}
69 +
70 +src_configure() {
71 + econf \
72 + --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \
73 + "$(use_with vm vm-dir "${EPREFIX}${SITELISP}/vm")"
74 +}
75 +
76 +src_compile() {
77 + emake -C lisp
78 +}
79 +
80 +src_install() {
81 + emake -C lisp DESTDIR="${D}" install
82 + elisp-site-file-install "${FILESDIR}/${SITEFILE}"
83 + dodoc AUTHORS ChangeLog NEWS README TODO
84 +
85 + if use tex; then
86 + insinto "${TEXMF}"/tex/latex/${PN}
87 + doins tex/bbdb.sty
88 + fi
89 +}
90 +
91 +pkg_postinst() {
92 + elisp-site-regen
93 + use tex && texconfig rehash
94 +}
95 +
96 +pkg_postrm() {
97 + elisp-site-regen
98 + use tex && texconfig rehash
99 +}
100
101 diff --git a/app-emacs/bbdb/files/50bbdb-gentoo-3.2.el b/app-emacs/bbdb/files/50bbdb-gentoo-3.2.el
102 new file mode 100644
103 index 00000000000..4bbec687fb8
104 --- /dev/null
105 +++ b/app-emacs/bbdb/files/50bbdb-gentoo-3.2.el
106 @@ -0,0 +1,4 @@
107 +(add-to-list 'load-path "@SITELISP@")
108 +(require 'bbdb-loaddefs)
109 +;; t indicates that bbdb.sty is in the regular TeX search path
110 +(setq bbdb-tex-path t)