aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-05-06 22:19:31 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-05-12 11:33:35 +0100
commita1ed48df1b0088b07981c55f8be4d7b3c4d3d57c (patch)
treeb8bf38fbe6852b1af8117faaeb6b01076f636c7d
parenta7865e3c6ae5e21e474a47ffa87be6e7ef3e7667 (diff)
downloadpaludis-a1ed48df1b0088b07981c55f8be4d7b3c4d3d57c.tar.gz
paludis-a1ed48df1b0088b07981c55f8be4d7b3c4d3d57c.tar.xz
Test EAPI 5 and VDB
-rw-r--r--paludis/repositories/e/vdb_repository_TEST_eapis.cc2
-rwxr-xr-xpaludis/repositories/e/vdb_repository_TEST_eapis_setup.sh25
2 files changed, 27 insertions, 0 deletions
diff --git a/paludis/repositories/e/vdb_repository_TEST_eapis.cc b/paludis/repositories/e/vdb_repository_TEST_eapis.cc
index cc9b6be..090ac07 100644
--- a/paludis/repositories/e/vdb_repository_TEST_eapis.cc
+++ b/paludis/repositories/e/vdb_repository_TEST_eapis.cc
@@ -209,6 +209,7 @@ INSTANTIATE_TEST_CASE_P(Works, PhasesTest, testing::Values(
std::string("2"),
std::string("3"),
std::string("4"),
+ std::string("5"),
std::string("exheres-0")
));
@@ -334,6 +335,7 @@ INSTANTIATE_TEST_CASE_P(Works, VarsTest, testing::Values(
std::string("2"),
std::string("3"),
std::string("4"),
+ std::string("5"),
std::string("exheres-0")
));
diff --git a/paludis/repositories/e/vdb_repository_TEST_eapis_setup.sh b/paludis/repositories/e/vdb_repository_TEST_eapis_setup.sh
index e02c800..fe396fb 100755
--- a/paludis/repositories/e/vdb_repository_TEST_eapis_setup.sh
+++ b/paludis/repositories/e/vdb_repository_TEST_eapis_setup.sh
@@ -141,6 +141,31 @@ pkg_config() {
}
END
+cat <<'END' > srcrepo/cat/target/target-5.ebuild
+EAPI="5"
+DESCRIPTION="The Description"
+HOMEPAGE="http://example.com/"
+SRC_URI=""
+SLOT="0"
+IUSE=""
+LICENSE="GPL-2"
+KEYWORDS="test"
+DEPEND="foo/bar"
+S="${WORKDIR}"
+
+src_install() {
+ echo MONKEY > ${D}/monkey
+}
+
+pkg_info() {
+ echo "This is pkg_info"
+}
+
+pkg_config() {
+ echo "This is pkg_config"
+}
+END
+
cat <<'END' > srcrepo/cat/target-exheres/target-exheres-0.ebuild
EAPI="exheres-0"
DESCRIPTION="The Description"