Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/liblouis/
Date: Fri, 01 Jan 2021 00:53:57
Message-Id: 1609462333.41bf8e6d8ecbaa6220cfde946ece63e2a4b68cd4.mgorny@gentoo
1 commit: 41bf8e6d8ecbaa6220cfde946ece63e2a4b68cd4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 1 00:52:13 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 1 00:52:13 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41bf8e6d
7
8 dev-libs/liblouis: Remove old (py3.6)
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-libs/liblouis/Manifest | 1 -
13 dev-libs/liblouis/liblouis-3.10.0.ebuild | 71 --------------------------------
14 2 files changed, 72 deletions(-)
15
16 diff --git a/dev-libs/liblouis/Manifest b/dev-libs/liblouis/Manifest
17 index e8d3c656cf3..f9119f8e990 100644
18 --- a/dev-libs/liblouis/Manifest
19 +++ b/dev-libs/liblouis/Manifest
20 @@ -1,2 +1 @@
21 -DIST liblouis-3.10.0.tar.gz 13335626 BLAKE2B a4c7f81f15c202c0e1030119f805e218dd51852af57065c441241f4e182828036372750231726802adbb835a7af05ccbf029316da376f3f89dd62ae9d833f838 SHA512 e05d42ba352b1336b10ecd3d320c2bed33250cd636767ecd77837530577c537de4f4e806ddaf1ed7e8b9ec766c84adf6ab045595235c1020f2bb31ba791f3833
22 DIST liblouis-3.13.0.tar.gz 14683684 BLAKE2B 9596fac30ee8512498826ea11c3fe4d9dfba6706166938852242533f1fadde9ca8e363ea1364ebb4266b366ee49863d84ad757f8634d90e48dd8c562c31e9e8d SHA512 68f0205dc55a106c5707f959c1c0d3c121dfe62f263a664e6bec0780bee65cce2fb5d7033ae1c8312d1d79f7ccaf650af71906e8651b60f11219758e41051b61
23
24 diff --git a/dev-libs/liblouis/liblouis-3.10.0.ebuild b/dev-libs/liblouis/liblouis-3.10.0.ebuild
25 deleted file mode 100644
26 index 4aa44666916..00000000000
27 --- a/dev-libs/liblouis/liblouis-3.10.0.ebuild
28 +++ /dev/null
29 @@ -1,71 +0,0 @@
30 -# Copyright 1999-2020 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -PYTHON_COMPAT=( python3_6 )
36 -PYTHON_REQ_USE='wide-unicode(+)'
37 -DISTUTILS_OPTIONAL=1
38 -inherit autotools distutils-r1
39 -
40 -DESCRIPTION="An open-source braille translator and back-translator"
41 -HOMEPAGE="https://github.com/liblouis/liblouis"
42 -SRC_URI="https://github.com/liblouis/liblouis/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 -
44 -LICENSE="LGPL-2.1+"
45 -SLOT="0"
46 -KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ppc ppc64 ~sparc x86"
47 -IUSE="python"
48 -BDEPEND="sys-apps/help2man"
49 -RDEPEND="python? ( ${PYTHON_DEPS} )"
50 -DEPEND="${RDEPEND}"
51 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
52 -
53 -src_prepare() {
54 - default
55 -
56 - if use python; then
57 - pushd python > /dev/null
58 - distutils-r1_src_prepare
59 - popd > /dev/null
60 - fi
61 - eautoreconf
62 -}
63 -
64 -src_configure() {
65 - econf \
66 - --enable-ucs4 \
67 - --disable-static
68 -}
69 -
70 -src_compile() {
71 - default
72 -
73 - if use python; then
74 - pushd python > /dev/null
75 - # setup.py imports liblouis to get the version number,
76 - # and this causes the shared library to be dlopened
77 - # at build-time. Hack around it with LD_PRELOAD.
78 - # Thanks ArchLinux.
79 - LD_PRELOAD+=':../liblouis/.libs/liblouis.so'
80 - distutils-r1_src_compile
81 - popd > /dev/null
82 - fi
83 -}
84 -
85 -src_install() {
86 - emake DESTDIR="${D}" install
87 -
88 - if use python; then
89 - pushd python > /dev/null
90 - LD_PRELOAD+=':../liblouis/.libs/liblouis.so' \
91 - distutils-r1_src_install
92 - popd > /dev/null
93 - fi
94 -
95 - DOCS=( README AUTHORS NEWS ChangeLog doc/liblouis.txt )
96 - HTML_DOCS=( doc/liblouis.html )
97 - einstalldocs
98 -
99 - find "${ED}" -name '*.la' -delete || die
100 -}