Gentoo Archives: gentoo-commits

From: Stefan Strogin <steils@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/bam/, profiles/
Date: Fri, 27 Sep 2019 18:38:58
Message-Id: 1569609445.ab0e1c4306a0295c2190b423d59951a0b33ff91c.steils@gentoo
1 commit: ab0e1c4306a0295c2190b423d59951a0b33ff91c
2 Author: Stefan Strogin <steils <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 27 18:26:41 2019 +0000
4 Commit: Stefan Strogin <steils <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 27 18:37:25 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab0e1c43
7
8 dev-util/bam: bump version to 0.5.1
9
10 Closes: https://bugs.gentoo.org/695746
11 Package-Manager: Portage-2.3.76, Repoman-2.3.17
12 Signed-off-by: Stefan Strogin <steils <AT> gentoo.org>
13
14 dev-util/bam/Manifest | 1 +
15 dev-util/bam/bam-0.5.1.ebuild | 52 +++++++++++++++++++++++++++++++++++++++++++
16 profiles/package.mask | 4 ++++
17 3 files changed, 57 insertions(+)
18
19 diff --git a/dev-util/bam/Manifest b/dev-util/bam/Manifest
20 index 8061e8f111c..0bb431c913a 100644
21 --- a/dev-util/bam/Manifest
22 +++ b/dev-util/bam/Manifest
23 @@ -1 +1,2 @@
24 DIST bam-0.4.0.tar.bz2 164033 BLAKE2B 75c3ccc2c0a22e793ebaf116257ad735db097870b84dd3cb7e9c12068e97b38ae2317c148f04b3d9b45e39a415e595d519d003c6c58af1230ab066538f93e2de SHA512 10ba53b05ac1604a9e9a01f4c008a8cbdc4e4e9df2fc039c8ca59251461e4c5f95770b5b72945d07693db7abe7cd312bc38725686b4d509d5dc21a585fffc810
25 +DIST bam-0.5.1.tar.gz 258693 BLAKE2B 145016bc9da49942c53d27d191f55d6118343dec725477b494a221fb40050ab165a301c743071bbda294720c481830c223b688d6f214ce8764fc6ad2daea9b68 SHA512 e6f1b3daad6073c58b0e3cbf836bb0a6b66f0c36532d6e6eca9949239ab8b584cc88f892cce6f74974e370a8a688f33a95dde86dd65cc1790e49e5f8aeab0fef
26
27 diff --git a/dev-util/bam/bam-0.5.1.ebuild b/dev-util/bam/bam-0.5.1.ebuild
28 new file mode 100644
29 index 00000000000..7684f85a3eb
30 --- /dev/null
31 +++ b/dev-util/bam/bam-0.5.1.ebuild
32 @@ -0,0 +1,52 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +PYTHON_COMPAT=( python2_7 )
39 +
40 +inherit python-any-r1 toolchain-funcs
41 +
42 +DESCRIPTION="Fast and flexible Lua-based build system"
43 +HOMEPAGE="https://matricks.github.com/bam/"
44 +SRC_URI="https://github.com/matricks/bam/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 +
46 +LICENSE="ZLIB"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +IUSE="doc test"
50 +
51 +RDEPEND=">=dev-lang/lua-5.3:="
52 +DEPEND="${RDEPEND}"
53 +BDEPEND="doc? (
54 + ${PYTHON_DEPS}
55 + media-gfx/graphviz
56 + )
57 + test? ( ${PYTHON_DEPS} )"
58 +
59 +pkg_setup() {
60 + if use doc || use test; then
61 + python-any-r1_pkg_setup
62 + fi
63 +}
64 +
65 +src_prepare() {
66 + default
67 + # There is no such file licence.txt
68 + sed -e '/license\.txt/d' -i scripts/gendocs.py || die
69 + tc-export CC
70 +}
71 +
72 +src_compile() {
73 + emake ${PN}
74 + if use doc; then
75 + "${EPYTHON}" scripts/gendocs.py || die "doc generation failed"
76 + fi
77 +}
78 +
79 +src_install() {
80 + dobin ${PN}
81 + if use doc; then
82 + dodoc docs/${PN}{.html,_logo.png}
83 + fi
84 +}
85
86 diff --git a/profiles/package.mask b/profiles/package.mask
87 index a33f32e1a5f..2ebdaee903a 100644
88 --- a/profiles/package.mask
89 +++ b/profiles/package.mask
90 @@ -29,6 +29,10 @@
91
92 #--- END OF EXAMPLES ---
93
94 +# Stefan Strogin <steils@g.o> (2019-09-27)
95 +# Requires >=dev-lang/lua-5.3 which is masked
96 +>=dev-util/bam-0.5.0
97 +
98 # Michał Górny <mgorny@g.o> (2019-09-27)
99 # The virtual is not really useful since all reverse dependencies
100 # support only Python 2.7. All its uses were replaced with direct