1 |
|
# Copyright 1999-2022 Gentoo Authors
|
|
1 |
# Copyright 1999-2023 Gentoo Authors
|
2 |
2 |
# Distributed under the terms of the GNU General Public License v2
|
3 |
3 |
|
4 |
4 |
EAPI=7
|
... | ... | |
6 |
6 |
inherit linux-info toolchain-funcs
|
7 |
7 |
|
8 |
8 |
DESCRIPTION="File-based build system"
|
9 |
|
HOMEPAGE="https://gittup.org/tup/"
|
|
9 |
HOMEPAGE="https://gittup.org/tup/ https://github.com/gittup/tup"
|
10 |
10 |
# Tup itself is GPLv2, but it bundles differently licensed software:
|
11 |
11 |
# - lua: MIT
|
12 |
12 |
# - sqlite (unused in this ebuild): public domain
|
... | ... | |
25 |
25 |
fi
|
26 |
26 |
|
27 |
27 |
DEPEND="
|
28 |
|
dev-db/sqlite:=
|
29 |
|
dev-libs/libpcre:=
|
30 |
|
sys-fs/fuse:3=
|
|
28 |
dev-db/sqlite
|
|
29 |
dev-libs/libpcre
|
|
30 |
sys-fs/fuse:3
|
31 |
31 |
"
|
32 |
32 |
RDEPEND="${DEPEND}"
|
|
33 |
BDEPEND="virtual/pkgconfig"
|
33 |
34 |
|
34 |
35 |
CONFIG_CHECK="~FUSE_FS ~NAMESPACES"
|
35 |
36 |
WARNING_FUSE_FS="CONFIG_FUSE_FS is required for tup to work"
|
... | ... | |
78 |
79 |
|
79 |
80 |
# Skip tests which require namespacing or root privileges.
|
80 |
81 |
pushd test || die
|
81 |
|
rm -v ./*full-deps*.sh \
|
82 |
|
t2150-lua-tupdefault.sh \
|
83 |
|
t2172-lua-relativedir.sh \
|
84 |
|
t2187-tupdefault.sh \
|
85 |
|
t2197-tupdefault-ghost.sh \
|
86 |
|
t4069-gcc-coverage.sh \
|
87 |
|
t4072-proc-self.sh \
|
88 |
|
t4074-getpwd.sh \
|
89 |
|
t4131-proc-self-exe.sh \
|
90 |
|
t4132-proc-meminfo.sh \
|
91 |
|
t4171-dev-null.sh \
|
92 |
|
t4200-ccache.sh \
|
93 |
|
t4201-ccache2.sh \
|
94 |
|
t4202-clang.sh \
|
95 |
|
t5083-symlink-fullpath.sh \
|
96 |
|
t5084-symlink-fullpath2.sh \
|
97 |
|
t5103-python-sh.sh || die
|
|
82 |
rm -v t2150-lua-tupdefault.sh \
|
|
83 |
t2172-lua-relativedir.sh \
|
|
84 |
t2187-tupdefault.sh \
|
|
85 |
t2197-tupdefault-ghost.sh \
|
|
86 |
t2220-lua-open-external.sh \
|
|
87 |
t4062-full-deps.sh \
|
|
88 |
t4063-full-deps2.sh \
|
|
89 |
t4064-full-deps3.sh \
|
|
90 |
t4065-full-deps-proc.sh \
|
|
91 |
t4067-full-deps5.sh \
|
|
92 |
t4069-gcc-coverage.sh \
|
|
93 |
t4072-proc-self.sh \
|
|
94 |
t4074-getpwd.sh \
|
|
95 |
t4131-proc-self-exe.sh \
|
|
96 |
t4132-proc-meminfo.sh \
|
|
97 |
t4171-dev-null.sh \
|
|
98 |
t4200-ccache.sh \
|
|
99 |
t4201-ccache2.sh \
|
|
100 |
t4202-clang.sh \
|
|
101 |
t4205-full-deps6.sh \
|
|
102 |
t4206-full-deps7.sh \
|
|
103 |
t4207-full-deps8.sh \
|
|
104 |
t4208-full-deps-external.sh \
|
|
105 |
t4209-full-deps-external2.sh \
|
|
106 |
t4210-full-deps-getaddrinfo.sh \
|
|
107 |
t4215-full-deps-get-nprocs.sh \
|
|
108 |
t5083-symlink-fullpath.sh \
|
|
109 |
t5084-symlink-fullpath2.sh \
|
|
110 |
t5103-python-sh.sh \
|
|
111 |
t7048-full-deps.sh \
|
|
112 |
t8105-variant-parse-progress.sh || die
|
98 |
113 |
./test.sh || die
|
99 |
114 |
popd || die
|
100 |
115 |
|