1 |
commit: 038a47bc57b9ef10d5876d85fca6edc71a189803 |
2 |
Author: Tomáš Mózes <hydrapolic <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Feb 19 17:16:14 2022 +0000 |
4 |
Commit: Matthew Smith <matthew <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 21 19:05:55 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=038a47bc |
7 |
|
8 |
dev-libs/boxfort: bump to 0.1.3 |
9 |
|
10 |
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com> |
11 |
Signed-off-by: Matthew Smith <matthew <AT> gentoo.org> |
12 |
|
13 |
dev-libs/boxfort/Manifest | 1 + |
14 |
dev-libs/boxfort/boxfort-0.1.3.ebuild | 42 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 43 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/boxfort/Manifest b/dev-libs/boxfort/Manifest |
18 |
index 8861f03a6151..24f1ba30f842 100644 |
19 |
--- a/dev-libs/boxfort/Manifest |
20 |
+++ b/dev-libs/boxfort/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST boxfort-0.0.1_pre20200902.tar.gz 41643 BLAKE2B 6ac53b632f604ffd6b790a026703a2d64da65fc03cc71ebc3e4da3463e7c5a44ec99e85e3cdac8e5756afaf7d98785955815e194929bbc8dd6b6fd90bfb3fd52 SHA512 96090372f3e546f53f82c515c3f9e557fdd67eb7bc735683b30d8a66c2536cf21261b0467e449ccbd13e914b7cf4ea3da1a37c4108b215d6d0d08cdb68944b1e |
23 |
DIST boxfort-0.1.1.tar.gz 41993 BLAKE2B b9153a6330cecb781e2b5cd20554df3d0aad277dfc01174fd5d375211896b2912f26a76b0ba6ef7143c7101d844072e1a857caf5a8191893f22c0528c0a203d4 SHA512 48f7a0a52d03f36307271c8f387613dd53aebb19d0379e1758d557b043854c89068776ca4c22e64eb518429dd629c9a082476ecd2a548ac95e6aebef512a50ca |
24 |
DIST boxfort-0.1.2.tar.gz 42671 BLAKE2B 1053095fb6ffa16353fc9d34f99e556aa10fc05d1bd103e9cd6c0a4c332c09951e563ccb61ee8fcd983c247b3e9d2b7611f5f503d4d1bf5394103cc70aeccf60 SHA512 c381eb9a0947a9f8f2cbbb2db6bbaf76f1c328b5637bdd1d823590ead098bd741e015e415f49c55590b4f4fee3be19c5e23661df5fbbdc9a4a05c82d7c3293e5 |
25 |
+DIST boxfort-0.1.3.tar.gz 42968 BLAKE2B 973fac409567777a4b99597c2a158aada0f41c7e1544f858609c6bf4a6e93295019c9adfedd3e42559b23111d157944d08d62001a39bcea4695ea437924d05fa SHA512 07e26716204b9ee82332d34889b09b9560c28e00a831e15cec70b9105e95657f2e2b6255c718530d3a36e129c811c76462044fb76985feec2e71645b5e348bf2 |
26 |
|
27 |
diff --git a/dev-libs/boxfort/boxfort-0.1.3.ebuild b/dev-libs/boxfort/boxfort-0.1.3.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..67faa22bc260 |
30 |
--- /dev/null |
31 |
+++ b/dev-libs/boxfort/boxfort-0.1.3.ebuild |
32 |
@@ -0,0 +1,42 @@ |
33 |
+# Copyright 1999-2022 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI="8" |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{7..10} ) |
39 |
+ |
40 |
+inherit meson python-any-r1 |
41 |
+ |
42 |
+DESCRIPTION="Convenient & cross-platform sandboxing C library" |
43 |
+HOMEPAGE="https://github.com/Snaipe/BoxFort" |
44 |
+SRC_URI="https://github.com/Snaipe/BoxFort/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~arm ~arm64 -riscv ~x86" |
49 |
+IUSE="test" |
50 |
+RESTRICT="!test? ( test )" |
51 |
+ |
52 |
+DEPEND="test? ( |
53 |
+ $(python_gen_any_dep 'dev-util/cram[${PYTHON_USEDEP}]') |
54 |
+ )" |
55 |
+BDEPEND="virtual/pkgconfig" |
56 |
+ |
57 |
+S="${WORKDIR}/BoxFort-${PV}" |
58 |
+ |
59 |
+python_check_deps() { |
60 |
+ use test && has_version "dev-util/cram[${PYTHON_USEDEP}]" |
61 |
+} |
62 |
+ |
63 |
+pkg_setup() { |
64 |
+ use test && python-any-r1_pkg_setup |
65 |
+} |
66 |
+ |
67 |
+src_configure() { |
68 |
+ local emesonargs=( |
69 |
+ -Dsamples=$(usex test true false) |
70 |
+ -Dtests=$(usex test true false) |
71 |
+ ) |
72 |
+ |
73 |
+ meson_src_configure |
74 |
+} |