Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/dill/
Date: Sun, 05 Jun 2022 20:58:07
Message-Id: 1654462678.3b79937d54042fe9aafa33ecf492fa172e357bbf.Alessandro-Barbieri@gentoo
1 commit: 3b79937d54042fe9aafa33ecf492fa172e357bbf
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Sun Jun 5 18:19:01 2022 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Sun Jun 5 20:57:58 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3b79937d
7
8 dev-libs/dill: new package, add 2.4.1
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 dev-libs/dill/Manifest | 1 +
13 dev-libs/dill/dill-2.4.1.ebuild | 47 +++++++++++++++++++++++++++++++++++++++++
14 dev-libs/dill/metadata.xml | 17 +++++++++++++++
15 3 files changed, 65 insertions(+)
16
17 diff --git a/dev-libs/dill/Manifest b/dev-libs/dill/Manifest
18 new file mode 100644
19 index 000000000..90c01ee9b
20 --- /dev/null
21 +++ b/dev-libs/dill/Manifest
22 @@ -0,0 +1 @@
23 +DIST dill-2.4.1.gh.tar.gz 209181 BLAKE2B 508dc8c59744f41acca24817f63bdb6efa15cf4674cd0cb36a2b09a80ae6ecb603ee45a54e0ede23558e982b25ddc06c0a7f2e1463e63b9decc4aa1b9dbd7c42 SHA512 8acdf80a59696ef45453dd677f13dce7aada9ac81bddab7a36f70b23644b8d507dba64576410fe87a5359d7a73df416302522823898e7b807ffb277d3363b54e
24
25 diff --git a/dev-libs/dill/dill-2.4.1.ebuild b/dev-libs/dill/dill-2.4.1.ebuild
26 new file mode 100644
27 index 000000000..384f60e2b
28 --- /dev/null
29 +++ b/dev-libs/dill/dill-2.4.1.ebuild
30 @@ -0,0 +1,47 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +inherit cmake
37 +
38 +DESCRIPTION="Provides instruction-level code generation directly into memory regions"
39 +HOMEPAGE="https://github.com/GTkorvo/dill"
40 +SRC_URI="https://github.com/GTKorvo/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
41 +
42 +LICENSE="BSD"
43 +SLOT="0"
44 +KEYWORDS="~amd64"
45 +IUSE="disassembly ignore-native multitarget test"
46 +
47 +RDEPEND="
48 + dev-libs/libffi
49 + disassembly? ( sys-libs/binutils-libs )
50 +"
51 +DEPEND="${RDEPEND}"
52 +BDEPEND="
53 + sys-devel/binutils
54 + dev-lang/perl
55 +"
56 +
57 +RESTRICT="!test? ( test )"
58 +
59 +src_configure() {
60 + local mycmakeargs=(
61 + -DBUILD_SHARED_LIBS=ON
62 + -DDILL_INSTALL_PKGCONFIG=ON
63 + -DDILL_INSTALL_HEADERS=ON
64 + -DDILL_QUIET=OFF
65 + -DLIBFFI_INTERNAL=OFF
66 +
67 + -DBUILD_TESTING=$(usex test)
68 + -DDILL_ENABLE_DISASSEMBLY=$(usex disassembly)
69 + -DDILL_IGNORE_NATIVE=$(usex ignore-native)
70 + -DDILL_MULTI_TARGET=$(usex multitarget)
71 + )
72 + cmake_src_configure
73 +}
74 +
75 +src_install() {
76 + cmake_src_install
77 +}
78
79 diff --git a/dev-libs/dill/metadata.xml b/dev-libs/dill/metadata.xml
80 new file mode 100644
81 index 000000000..c83da09c8
82 --- /dev/null
83 +++ b/dev-libs/dill/metadata.xml
84 @@ -0,0 +1,17 @@
85 +<?xml version="1.0" encoding="UTF-8"?>
86 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
87 +<pkgmetadata>
88 + <maintainer type="person">
89 + <email>lssndrbarbieri@×××××.com</email>
90 + <name>Alessandro Barbieri</name>
91 + </maintainer>
92 + <upstream>
93 + <bugs-to>https://github.com/GTKorvo/atl/issues</bugs-to>
94 + <remote-id type="github">GTKorvo/atl</remote-id>
95 + </upstream>
96 + <use>
97 + <flag name="disassembly">Enable binutils-based disassembly</flag>
98 + <flag name="ignore-native">Build to do emulation, regardless of architecture</flag>
99 + <flag name="multitarget">Build all available target architectures</flag>
100 + </use>
101 +</pkgmetadata>