From 8c4fc50829f1c1306d7bd209c8d9d4ee7e05bd38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Thu, 16 Jun 2005 13:22:18 +0000 Subject: [PATCH] =?UTF-8?q?samples/=20i=C3=A7inden=20spec=20ve=20actions?= =?UTF-8?q?=20silindi.=20Ayn=C4=B1=20=C5=9Fey=202=20yerde=20farkl=C4=B1=20?= =?UTF-8?q?durunca=20kar=C4=B1=C5=9F=C4=B1yor.=20Unittesler=20i=C3=A7in=20?= =?UTF-8?q?pathler=20de=C4=9Fi=C5=9Ftirirldi.=20pisi-build=20../popt/popt.?= =?UTF-8?q?spec=20ile=20=C3=A7a=C4=9Fr=C4=B1l=C4=B1rsa=20sorun=20yok.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- popt/popt.pspec | 10 +++++ src/samples/actions | 17 --------- src/samples/popt.pspec | 70 ---------------------------------- src/unittests/archivetests.py | 2 +- src/unittests/contexttests.py | 2 +- src/unittests/fetchertests.py | 2 +- src/unittests/specfiletests.py | 2 +- 7 files changed, 14 insertions(+), 91 deletions(-) delete mode 100644 src/samples/actions delete mode 100644 src/samples/popt.pspec diff --git a/popt/popt.pspec b/popt/popt.pspec index fadfe6fc..de4ce80a 100644 --- a/popt/popt.pspec +++ b/popt/popt.pspec @@ -23,6 +23,16 @@ make + + 06/14/2005 + 1.7 + 3 + + + 06/10/2005 + 1.7 + 2 + 05/05/2005 1.7 diff --git a/src/samples/actions b/src/samples/actions deleted file mode 100644 index 3935ed5c..00000000 --- a/src/samples/actions +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- - -from pisi.actionsapi.gnuconfig import * -from pisi.actionsapi.libtoolize import * -from pisi.actionsapi.autotools import * - -def src_setup(): - gnuconfig_update() -# libtoolize() - configure( '--with-nls' ) - -def src_build(): - make() - -def src_install(): - install() diff --git a/src/samples/popt.pspec b/src/samples/popt.pspec deleted file mode 100644 index e5b34a36..00000000 --- a/src/samples/popt.pspec +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - popt - http://www.rpm.org/ - - Kirmizi kafalar - hotmail@redhat.com - - As-Is - - ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.1.x/popt-1.7.tar.gz - - - popt-1.7-uclibc.patch.gz - - - make - - - - 06/14/2005 - 1.7 - 3 - - - 06/10/2005 - 1.7 - 2 - - - 05/05/2005 - 1.7 - 1 - - - - - - popt - Command line option parsing library - Komut satırı seçenekleri işleme kütüphanesi - Command line option parsing library. - While it is similiar to getopt(3), it contains a number of enhancements, including: - - 1) popt is fully reentrant - 2) popt can parse arbitrary argv[] style arrays while - getopt(2) makes this quite difficult - 3) popt allows users to alias command line arguments - 4) popt provides convience functions for parsing strings - into argv[] style arrays - - devel:library - - gettext - - - /usr/lib - /usr/share/doc - /usr/share/man - /usr/share/locale - /usr/include/popt.h - - - diff --git a/src/unittests/archivetests.py b/src/unittests/archivetests.py index 7c563c8f..f9641e2a 100644 --- a/src/unittests/archivetests.py +++ b/src/unittests/archivetests.py @@ -13,7 +13,7 @@ class ArchiveFileTestCase(unittest.TestCase): # pass def testUnpackTar(self): - ctx = context.Context("samples/popt.pspec") + ctx = context.Context("../popt/popt.pspec") targetDir = ctx.build_work_dir() achv = archive.Archive(ctx) diff --git a/src/unittests/contexttests.py b/src/unittests/contexttests.py index 353ece59..c2bceae7 100644 --- a/src/unittests/contexttests.py +++ b/src/unittests/contexttests.py @@ -5,7 +5,7 @@ from pisi import context class ContextTestCase(unittest.TestCase): def setUp(self): - self.ctx = context.Context("samples/popt.pspec") + self.ctx = context.Context("../popt/popt.pspec") def testConstness(self): diff --git a/src/unittests/fetchertests.py b/src/unittests/fetchertests.py index d18ff87b..4fcb4b41 100644 --- a/src/unittests/fetchertests.py +++ b/src/unittests/fetchertests.py @@ -8,7 +8,7 @@ from pisi import context class FetcherTestCase(unittest.TestCase): def setUp(self): - self.ctx = context.Context("samples/popt.pspec") + self.ctx = context.Context("../popt/popt.pspec") self.fetch = fetcher.Fetcher(self.ctx) diff --git a/src/unittests/specfiletests.py b/src/unittests/specfiletests.py index dbec5054..42bc9943 100644 --- a/src/unittests/specfiletests.py +++ b/src/unittests/specfiletests.py @@ -6,7 +6,7 @@ from pisi import specfile class SpecReadTestCase(unittest.TestCase): def setUp(self): self.spec = specfile.SpecFile() - self.spec.read("samples/popt.pspec") + self.spec.read("../popt/popt.pspec") def testSourceName(self): self.assertEqual(self.spec.source.name,