diff options
author | Sam James <sam@gentoo.org> | 2022-04-17 19:55:29 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-04-17 20:00:03 +0100 |
commit | 8311d1c0e5d65ac95b9615cf126e25fc03de9053 (patch) | |
tree | 0de6cf4217dd839bd17691fd0288488babc79caa | |
parent | dev-util/redo: drop 0.42a (diff) | |
download | gentoo-8311d1c0e5d65ac95b9615cf126e25fc03de9053.tar.gz gentoo-8311d1c0e5d65ac95b9615cf126e25fc03de9053.tar.bz2 gentoo-8311d1c0e5d65ac95b9615cf126e25fc03de9053.zip |
dev-util/tup: drop 0.7.8
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | dev-util/tup/Manifest | 1 | ||||
-rw-r--r-- | dev-util/tup/tup-0.7.8.ebuild | 100 |
2 files changed, 0 insertions, 101 deletions
diff --git a/dev-util/tup/Manifest b/dev-util/tup/Manifest index d96de485f711..0b092374b310 100644 --- a/dev-util/tup/Manifest +++ b/dev-util/tup/Manifest @@ -1,3 +1,2 @@ DIST tup-0.7.10.tar.gz 4651047 BLAKE2B 067730f8fa202dfff7fbf566fef609038839a47ddb9f9029155b4eee428eae9fd088bab1c5373155de0b445700cc8b7cbe0c40dd3d9665504c9e37de24b01ed4 SHA512 65009e57be2ae85187779f5b9317f2850b007bfbfef92c7191648ba4e927a5709a0d48e8a1ad8b8480e7340568f4b207e8d0e8874f896bbbb65983e80f8b5c24 DIST tup-0.7.11.tar.gz 4683309 BLAKE2B 2914339499e80cf52318aaf9d682ac482f17c2acf6eeebb2dac84776cd4407fc23fbb1c61e5e7634ce6f18563e24ff524b284cbe8b46306f82870fdb32166efb SHA512 b923366bb15ce6e5be027b6b3e98b1029cd7dbe6ce2a8dd37a8e4b71521c8ff6d95d88fe296f5ca4719bbc048c6aaa5eacdd8cac1410d46df54ac674d6fd8aee -DIST tup-0.7.8.tar.gz 4540974 BLAKE2B b6724113fac9920b029604af3bf4fd875c1651b89b6c772bfecef9e8d9612574265fafd0a8eac217a51e3b3fe1d4776e97174d4c89cbf97ee3203dddc0e53f6c SHA512 17d4b76c508749ca011b3c0209bc779d617a091ed2d067bf1095fc840f62ac23145071395892170390ac6217f18bcaabb0cff582aa782838eab190244313d7f5 diff --git a/dev-util/tup/tup-0.7.8.ebuild b/dev-util/tup/tup-0.7.8.ebuild deleted file mode 100644 index 196b8edbc201..000000000000 --- a/dev-util/tup/tup-0.7.8.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit linux-info toolchain-funcs - -DESCRIPTION="A file-based build system" -HOMEPAGE="http://gittup.org/tup" -# Tup itself is GPLv2, but it bundles differently licensed software: -# - lua: MIT -# - sqlite (unused in this ebuild): public domain -# - inih: 3-clause BSD -# - red-black tree implementation: 2-clause BSD -# - queue implementation: 3-clause BSD -LICENSE="GPL-2 MIT public-domain BSD BSD-2" -SLOT="0" - -if [[ "${PV}" == 9999 ]]; then - EGIT_REPO_URI="https://github.com/gittup/tup.git" - inherit git-r3 -else - SRC_URI="https://github.com/gittup/tup/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64" -fi - -DEPEND=" - dev-db/sqlite:= - dev-libs/libpcre:= - sys-fs/fuse:= -" -RDEPEND="${DEPEND}" - -CONFIG_CHECK="~FUSE_FS ~NAMESPACES" -WARNING_FUSE_FS="CONFIG_FUSE_FS is required for tup to work" -WARNING_NAMESPACES="CONFIG_NAMESPACES is required for tup to work as intended (workaround: set TUP_NO_NAMESPACING env var when running tup)" - -src_prepare() { - # Use our toolchain - sed -i Tuprules.tup \ - -e "s:CC = gcc:CC = $(tc-getCC) ${CFLAGS} ${LDFLAGS}:" \ - -e "s:ar crs:$(tc-getAR) crs:" - - if [[ ${PV} != 9999 ]]; then - # Avoid invoking `git` to find version, use ours - sed -i src/tup/link.sh \ - -e 's;`git describe`;v'"${PV};" - fi - - default -} - -src_configure() { - echo "CONFIG_TUP_USE_SYSTEM_SQLITE=y" >> tup.config -} - -src_compile() { - # Disabling namespacing because it leads to accessing /proc/<pid>/setgroups - # which violates sandboxing. - export TUP_NO_NAMESPACING=1 - ./bootstrap-nofuse.sh || die - unset TUP_NO_NAMESPACING -} - -src_install() { - dobin tup - dolib.a libtup_client.a - doheader tup_client.h - doman tup.1 -} - -src_test() { - [[ -e /dev/fuse ]] || die "/dev/fuse is required for tests to work" - # tup uses fuse when tracking dependencies. - addwrite /dev/fuse - - # Disabling namespacing because it leads to accessing /proc/<pid>/setgroups - # which violates sandboxing. - export TUP_NO_NAMESPACING=1 - - # Skip tests which require namespacing or root privileges. - pushd test || die - rm -v ./*full-deps*.sh - SKIPPED_TESTS=( - t4069-gcc-coverage.sh - t4072-proc-self.sh - t4074-getpwd.sh - t4131-proc-self-exe.sh - t4132-proc-meminfo.sh - t4171-dev-null.sh - t4200-ccache.sh - t5083-symlink-fullpath.sh - t5084-symlink-fullpath2.sh - ) - rm ${SKIPPED_TESTS[@]} || die - ./test.sh || die - popd || die - - unset TUP_NO_NAMESPACING -} |