From b8cd84eb3c061915608af8be9c8fb2a4f2134de2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20A=C5=9F=C4=B1c=C4=B1?= Date: Thu, 15 Jul 2010 12:18:33 +0000 Subject: [PATCH] tests: Add more packages --- tests/repos/repo1/util/misc/bar/actions.py | 8 +++++ tests/repos/repo1/util/misc/bar/pspec.xml | 40 +++++++++++++++++++++ tests/repos/repo1/util/misc/foo/actions.py | 8 +++++ tests/repos/repo1/util/misc/foo/pspec.xml | 37 +++++++++++++++++++ tests/repos/repo1/util/misc/spam/actions.py | 8 +++++ tests/repos/repo1/util/misc/spam/pspec.xml | 40 +++++++++++++++++++++ 6 files changed, 141 insertions(+) create mode 100644 tests/repos/repo1/util/misc/bar/actions.py create mode 100644 tests/repos/repo1/util/misc/bar/pspec.xml create mode 100644 tests/repos/repo1/util/misc/foo/actions.py create mode 100644 tests/repos/repo1/util/misc/foo/pspec.xml create mode 100644 tests/repos/repo1/util/misc/spam/actions.py create mode 100644 tests/repos/repo1/util/misc/spam/pspec.xml diff --git a/tests/repos/repo1/util/misc/bar/actions.py b/tests/repos/repo1/util/misc/bar/actions.py new file mode 100644 index 00000000..0953ed79 --- /dev/null +++ b/tests/repos/repo1/util/misc/bar/actions.py @@ -0,0 +1,8 @@ + +from pisi.actionsapi import pisitools + +WorkDir = "skeleton" + +def install(): + pisitools.dobin("skeleton.py") + pisitools.rename("/usr/bin/skeleton.py", "bar") diff --git a/tests/repos/repo1/util/misc/bar/pspec.xml b/tests/repos/repo1/util/misc/bar/pspec.xml new file mode 100644 index 00000000..bcfebd19 --- /dev/null +++ b/tests/repos/repo1/util/misc/bar/pspec.xml @@ -0,0 +1,40 @@ + + + + + bar + www.pardus.org.tr + + Joe Packager + joe@pardus.org.tr + + GPL-2 + app:gui + bar is a very useful package + bar is a very useful package that is known for its usefulness. + http://cekirdek.uludag.org.tr/~faik/pisi/skeleton.tar.gz + + + + bar + + + + + /usr/bin + + + spam + + + + + + 2010-07-12 + 0.3 + First release + Joe Packager + joe@pardus.org.tr + + + diff --git a/tests/repos/repo1/util/misc/foo/actions.py b/tests/repos/repo1/util/misc/foo/actions.py new file mode 100644 index 00000000..1431c937 --- /dev/null +++ b/tests/repos/repo1/util/misc/foo/actions.py @@ -0,0 +1,8 @@ + +from pisi.actionsapi import pisitools + +WorkDir = "skeleton" + +def install(): + pisitools.dobin("skeleton.py") + pisitools.rename("/usr/bin/skeleton.py", "foo") diff --git a/tests/repos/repo1/util/misc/foo/pspec.xml b/tests/repos/repo1/util/misc/foo/pspec.xml new file mode 100644 index 00000000..9d53d7bd --- /dev/null +++ b/tests/repos/repo1/util/misc/foo/pspec.xml @@ -0,0 +1,37 @@ + + + + + foo + www.pardus.org.tr + + Joe Packager + joe@pardus.org.tr + + GPL-2 + app:gui + foo is a very useful package + foo is a very useful package that is known for its usefulness. + http://cekirdek.uludag.org.tr/~faik/pisi/skeleton.tar.gz + + + + foo + + + + + /usr/bin + + + + + + 2010-07-12 + 0.3 + First release + Joe Packager + joe@pardus.org.tr + + + diff --git a/tests/repos/repo1/util/misc/spam/actions.py b/tests/repos/repo1/util/misc/spam/actions.py new file mode 100644 index 00000000..39060661 --- /dev/null +++ b/tests/repos/repo1/util/misc/spam/actions.py @@ -0,0 +1,8 @@ + +from pisi.actionsapi import pisitools + +WorkDir = "skeleton" + +def install(): + pisitools.dobin("skeleton.py") + pisitools.rename("/usr/bin/skeleton.py", "spam") diff --git a/tests/repos/repo1/util/misc/spam/pspec.xml b/tests/repos/repo1/util/misc/spam/pspec.xml new file mode 100644 index 00000000..f50ddf50 --- /dev/null +++ b/tests/repos/repo1/util/misc/spam/pspec.xml @@ -0,0 +1,40 @@ + + + + + spam + www.pardus.org.tr + + Joe Packager + joe@pardus.org.tr + + GPL-2 + app:gui + spam is a very useful package + spam is a very useful package that is known for its usefulness. + http://cekirdek.uludag.org.tr/~faik/pisi/skeleton.tar.gz + + + + spam + + + + + /usr/bin + + + bar + + + + + + 2010-07-12 + 0.3 + First release + Joe Packager + joe@pardus.org.tr + + +