1 |
commit: 27637b60bff65066f0d0823aaddcdb78a65c2ca7 |
2 |
Author: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 8 18:20:18 2019 +0000 |
4 |
Commit: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 8 18:21:47 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27637b60 |
7 |
|
8 |
dev-util/tup: drop old version 0.7.7 |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Andrey Utkin <andrey_utkin <AT> gentoo.org> |
12 |
|
13 |
dev-util/tup/Manifest | 1 - |
14 |
dev-util/tup/tup-0.7.7.ebuild | 103 ------------------------------------------ |
15 |
2 files changed, 104 deletions(-) |
16 |
|
17 |
diff --git a/dev-util/tup/Manifest b/dev-util/tup/Manifest |
18 |
index c6e20f057ed..5824be2f57f 100644 |
19 |
--- a/dev-util/tup/Manifest |
20 |
+++ b/dev-util/tup/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST tup-0.7.7.tar.gz 4033539 BLAKE2B dc4d3fc538c76dac53629991e32de7414f35877af8bb9f2ce4a1f80252317de7b3d2ea1542ab3e58702813b297a42c95610d14122496ac7f23acc1f8f3d62461 SHA512 05407cc923b898d5dcf6652df6395e7618d43fa4e3ace905dda09bcda26f975187761a704d360fceeb38332f29d65cd3d1f9e04c87d93dcffa4e9e2be9b35aad |
23 |
DIST tup-0.7.8.tar.gz 4540974 BLAKE2B b6724113fac9920b029604af3bf4fd875c1651b89b6c772bfecef9e8d9612574265fafd0a8eac217a51e3b3fe1d4776e97174d4c89cbf97ee3203dddc0e53f6c SHA512 17d4b76c508749ca011b3c0209bc779d617a091ed2d067bf1095fc840f62ac23145071395892170390ac6217f18bcaabb0cff582aa782838eab190244313d7f5 |
24 |
|
25 |
diff --git a/dev-util/tup/tup-0.7.7.ebuild b/dev-util/tup/tup-0.7.7.ebuild |
26 |
deleted file mode 100644 |
27 |
index 194cf670515..00000000000 |
28 |
--- a/dev-util/tup/tup-0.7.7.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,103 +0,0 @@ |
31 |
-# Copyright 1999-2018 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-inherit linux-info toolchain-funcs |
37 |
- |
38 |
-DESCRIPTION="A file-based build system" |
39 |
-HOMEPAGE="http://gittup.org/tup" |
40 |
-# Tup itself is GPLv2, but it bundles differently licensed software: |
41 |
-# - lua: MIT |
42 |
-# - sqlite (unused in this ebuild): public domain |
43 |
-# - inih: 3-clause BSD |
44 |
-# - red-black tree implementation: 2-clause BSD |
45 |
-# - queue implementation: 3-clause BSD |
46 |
-LICENSE="GPL-2 MIT public-domain BSD BSD-2" |
47 |
-SLOT="0" |
48 |
- |
49 |
-if [[ "${PV}" == 9999 ]]; then |
50 |
- EGIT_REPO_URI="https://github.com/gittup/tup.git" |
51 |
- inherit git-r3 |
52 |
-else |
53 |
- SRC_URI="https://github.com/gittup/tup/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
54 |
- KEYWORDS="~amd64" |
55 |
-fi |
56 |
- |
57 |
-DEPEND=" |
58 |
- dev-db/sqlite:= |
59 |
- sys-fs/fuse:= |
60 |
-" |
61 |
-RDEPEND="${DEPEND}" |
62 |
- |
63 |
-CONFIG_CHECK="~FUSE_FS ~NAMESPACES" |
64 |
-WARNING_FUSE_FS="CONFIG_FUSE_FS is required for tup to work" |
65 |
-WARNING_NAMESPACES="CONFIG_NAMESPACES is required for tup to work as intended (workaround: set TUP_NO_NAMESPACING env var when running tup)" |
66 |
- |
67 |
-src_prepare() { |
68 |
- # Use our toolchain |
69 |
- sed -i Tuprules.tup \ |
70 |
- -e "s:CC = gcc:CC = $(tc-getCC) ${CFLAGS} ${LDFLAGS}:" \ |
71 |
- -e "s:ar crs:$(tc-getAR) crs:" |
72 |
- |
73 |
- if [[ ${PV} != 9999 ]]; then |
74 |
- # Avoid invoking `git` to find version, use ours |
75 |
- sed -i src/tup/link.sh \ |
76 |
- -e 's;`git describe`;v'"${PV};" |
77 |
- fi |
78 |
- |
79 |
- default |
80 |
-} |
81 |
- |
82 |
-src_configure () { |
83 |
- echo "CONFIG_TUP_USE_SYSTEM_SQLITE=y" >> tup.config |
84 |
-} |
85 |
- |
86 |
-src_compile() { |
87 |
- # Disabling namespacing because it leads to accessing /proc/<pid>/setgroups |
88 |
- # which violates sandboxing. |
89 |
- export TUP_NO_NAMESPACING=1 |
90 |
- ./bootstrap-nofuse.sh || die |
91 |
- unset TUP_NO_NAMESPACING |
92 |
-} |
93 |
- |
94 |
-src_install() { |
95 |
- dobin tup |
96 |
- dolib.a libtup_client.a |
97 |
- doheader tup_client.h |
98 |
- doman tup.1 |
99 |
-} |
100 |
- |
101 |
-src_test() { |
102 |
- [[ -e /dev/fuse ]] || die "/dev/fuse is required for tests to work" |
103 |
- # tup uses fuse when tracking dependencies. |
104 |
- addwrite /dev/fuse |
105 |
- |
106 |
- # Disabling namespacing because it leads to accessing /proc/<pid>/setgroups |
107 |
- # which violates sandboxing. |
108 |
- export TUP_NO_NAMESPACING=1 |
109 |
- |
110 |
- # Skip tests which require namespacing or root privileges. |
111 |
- SKIPPED_TESTS=( |
112 |
- t4062-full-deps.sh |
113 |
- t4063-full-deps2.sh |
114 |
- t4064-full-deps3.sh |
115 |
- t4065-full-deps-proc.sh |
116 |
- t4067-full-deps5.sh |
117 |
- t4069-gcc-coverage.sh |
118 |
- t4072-proc-self.sh |
119 |
- t4074-getpwd.sh |
120 |
- t4131-proc-self-exe.sh |
121 |
- t4132-proc-meminfo.sh |
122 |
- t4171-dev-null.sh |
123 |
- t5083-symlink-fullpath.sh |
124 |
- t5084-symlink-fullpath2.sh |
125 |
- t7048-full-deps.sh |
126 |
- ) |
127 |
- pushd test || die |
128 |
- rm ${SKIPPED_TESTS[@]} || die |
129 |
- ./test.sh || die |
130 |
- popd || die |
131 |
- |
132 |
- unset TUP_NO_NAMESPACING |
133 |
-} |