aboutsummaryrefslogtreecommitdiff
path: root/python/dep_list_TEST_setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'python/dep_list_TEST_setup.sh')
-rwxr-xr-xpython/dep_list_TEST_setup.sh104
1 files changed, 0 insertions, 104 deletions
diff --git a/python/dep_list_TEST_setup.sh b/python/dep_list_TEST_setup.sh
deleted file mode 100755
index 89231b30c..000000000
--- a/python/dep_list_TEST_setup.sh
+++ /dev/null
@@ -1,104 +0,0 @@
-#!/usr/bin/env bash
-# vim: set ft=sh sw=4 sts=4 et :
-
-mkdir dep_list_TEST_dir || exit 1
-cd dep_list_TEST_dir || exit 1
-
-mkdir -p home/.paludis/repositories
-
-cat <<END > home/.paludis/repositories/testrepo.conf
-location = `pwd`/testrepo
-format = e
-names_cache = /var/empty
-cache = /var/empty
-profiles = \${location}/profiles/testprofile
-builddir = `pwd`
-END
-
-cat <<END > home/.paludis/repositories/installed.conf
-location = `pwd`/installed
-format = vdb
-names_cache = /var/empty
-provides_cache = /var/empty
-builddir = `pwd`
-END
-
-cat <<END > home/.paludis/keywords.conf
-*/* test
-~foo/bar-1.0 ~test
-END
-
-cat <<END > home/.paludis/use.conf
-*/* enabled
-~foo/bar-1.0 sometimes_enabled
-END
-
-cat <<END > home/.paludis/package_mask.conf
-=foo/bar-3*
-END
-
-cat <<END > home/.paludis/licenses.conf
-*/* *
-END
-
-cat <<END > home/.paludis/general.conf
-world = /dev/null
-END
-
-mkdir -p testrepo/{eclass,sets,distfiles,profiles/testprofile,foo/bar/files} || exit 1
-cd testrepo || exit 1
-echo "testrepo" > profiles/repo_name || exit 1
-cat <<END > profiles/categories || exit 1
-foo
-END
-cat <<END > profiles/testprofile/make.defaults
-ARCH=test
-USERLAND=test
-KERNEL=test
-END
-cat <<END > profiles/profiles.desc
-test testprofile stable
-END
-cat <<END > sets/bar.conf
-* foo/bar
-END
-
-cat <<"END" > foo/bar/bar-1.0.ebuild || exit 1
-DESCRIPTION="Test package"
-HOMEPAGE="http://paludis.pioto.org/"
-SRC_URI=""
-SLOT="0"
-IUSE=""
-LICENSE="GPL-2"
-KEYWORDS="test"
-END
-
-cat <<"END" > foo/bar/bar-2.0.ebuild || exit 1
-DESCRIPTION="Test package"
-HOMEPAGE="http://paludis.pioto.org/"
-SRC_URI=""
-SLOT="0"
-IUSE=""
-LICENSE="GPL-2"
-KEYWORDS="~test"
-END
-cd ..
-
-mkdir -p installed/cat-one/pkg-one-1 || exit 1
-
-for i in SLOT EAPI; do
- echo "0" >installed/cat-one/pkg-one-1/${i}
-done
-
-for i in DEPEND RDEPEND LICENSE INHERITED IUSE PDEPEND PROVIDE; do
- touch installed/cat-one/pkg-one-1/${i}
-done
-
-echo "flag1 flag2" >>installed/cat-one/pkg-one-1/USE
-
-cat <<END >installed/cat-one/pkg-one-1/CONTENTS
-dir //test
-obj /test/test_file de54c26b0678df67aca147575523b3c2 1165250496
-sym /test/test_link -> /test/test_file 1165250496
-END
-