Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/seafile/
Date: Tue, 06 Oct 2020 08:15:31
Message-Id: 1601971081.57fab5312662780f096ce127002b3ebbaf103b9f.juippis@gentoo
1 commit: 57fab5312662780f096ce127002b3ebbaf103b9f
2 Author: Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
3 AuthorDate: Sun Aug 2 20:34:14 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 6 07:58:01 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57fab531
7
8 net-misc/seafile: version bump to 7.0.9
9
10 Package-Manager: Portage-2.3.103, Repoman-2.3.23
11 Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com>
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 net-misc/seafile/Manifest | 1 +
15 net-misc/seafile/seafile-7.0.9.ebuild | 47 +++++++++++++++++++++++++++++++++++
16 2 files changed, 48 insertions(+)
17
18 diff --git a/net-misc/seafile/Manifest b/net-misc/seafile/Manifest
19 index 70225e17d34..53f705ae873 100644
20 --- a/net-misc/seafile/Manifest
21 +++ b/net-misc/seafile/Manifest
22 @@ -1 +1,2 @@
23 DIST seafile-7.0.5.tar.gz 706430 BLAKE2B 49402de13660bcda9a6fad35879bd0e9ba4e491e921525a9cb16498f833d0d8e4177e615afa95780da040c9617d2795a3aa97ce389edae54621d8079033fd24e SHA512 c51c5f3f4a4b316fdf21d8eec12d42e7e1c76cf1271393658dd447c4b0ba77e6149eb7770a99af6aa23f6ebcb1572f4b847f8de44320d8bae8960bde7f429920
24 +DIST seafile-7.0.9.tar.gz 706859 BLAKE2B 2cbd12bfdda9c2cc13d38233a56d0d2f52ad04e03bd14c90c6ff086756fb7ab4f63319906030f9a5f4ec2625dbe23b2892c069f2b5d50c6997b23deaf2cb61d7 SHA512 4c87e7a4a6a4cef631cbfbeb1bde3c8c9e0915d5fe4597d5b3a4b8aa15e9650e97b51ee6a3b0bae4d235ec53149dca01aed7acd704da593c97da0a17e352a75d
25
26 diff --git a/net-misc/seafile/seafile-7.0.9.ebuild b/net-misc/seafile/seafile-7.0.9.ebuild
27 new file mode 100644
28 index 00000000000..e5d55487b0a
29 --- /dev/null
30 +++ b/net-misc/seafile/seafile-7.0.9.ebuild
31 @@ -0,0 +1,47 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=(python3_{6,7,8,9})
38 +
39 +WANT_AUTOMAKE=1.16
40 +
41 +inherit autotools python-single-r1 vala
42 +
43 +DESCRIPTION="File syncing and sharing software with file encryption and group sharing"
44 +HOMEPAGE="https://www.seafile.com/ https://github.com/haiwen/seafile/"
45 +SRC_URI="https://github.com/haiwen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
46 +
47 +LICENSE="GPL-2+-with-openssl-exception"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86"
50 +IUSE="libressl"
51 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
52 +
53 +RDEPEND="${PYTHON_DEPS}
54 + net-libs/libsearpc[${PYTHON_SINGLE_USEDEP}]
55 + dev-libs/glib:2
56 + dev-libs/libevent
57 + dev-libs/jansson
58 + sys-libs/zlib
59 + net-misc/curl
60 + !libressl? ( dev-libs/openssl )
61 + libressl? ( dev-libs/libressl )
62 + dev-db/sqlite:3"
63 +DEPEND="${RDEPEND}
64 + $(vala_depend)"
65 +
66 +src_prepare() {
67 + default
68 + sed -i -e 's/valac /${VALAC} /' lib/Makefile.am || die
69 + eautoreconf
70 + vala_src_prepare
71 +}
72 +
73 +src_install() {
74 + default
75 + # Remove unnecessary .la files, as recommended by ltprune.eclass
76 + find "${ED}" -name '*.la' -o -name '*.a' -delete || die
77 + python_fix_shebang "${ED}"/usr/bin
78 +}