samples/ içinden spec ve actions silindi. Aynı şey 2 yerde farklı durunca karışıyor. Unittesler için pathler değiştirirldi. pisi-build ../popt/popt.spec ile çağrılırsa sorun yok.
This commit is contained in:
@@ -23,6 +23,16 @@
|
|||||||
<Dependency versionFrom="1.8"> make </Dependency>
|
<Dependency versionFrom="1.8"> make </Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<History>
|
<History>
|
||||||
|
<Update>
|
||||||
|
<Date>06/14/2005</Date>
|
||||||
|
<Version>1.7</Version>
|
||||||
|
<Release>3</Release>
|
||||||
|
</Update>
|
||||||
|
<Update>
|
||||||
|
<Date>06/10/2005</Date>
|
||||||
|
<Version>1.7</Version>
|
||||||
|
<Release>2</Release>
|
||||||
|
</Update>
|
||||||
<Update>
|
<Update>
|
||||||
<Date>05/05/2005</Date>
|
<Date>05/05/2005</Date>
|
||||||
<Version>1.7</Version>
|
<Version>1.7</Version>
|
||||||
|
|||||||
@@ -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()
|
|
||||||
@@ -1,70 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
|
||||||
|
|
||||||
<!DOCTYPE PSPEC SYSTEM
|
|
||||||
"http://www.uludag.org.tr/projeler/pisi/pisi-spec.dtd">
|
|
||||||
|
|
||||||
<PSPEC>
|
|
||||||
|
|
||||||
<Source>
|
|
||||||
<Name>popt</Name>
|
|
||||||
<Homepage>http://www.rpm.org/</Homepage>
|
|
||||||
<Packager>
|
|
||||||
<Name>Kirmizi kafalar</Name>
|
|
||||||
<Email>hotmail@redhat.com</Email>
|
|
||||||
</Packager>
|
|
||||||
<License>As-Is</License>
|
|
||||||
<Archive archType="targz" md5sum="5988e7aeb0ae4dac8d83561265984cc9">
|
|
||||||
ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.1.x/popt-1.7.tar.gz
|
|
||||||
</Archive>
|
|
||||||
<Patches>
|
|
||||||
<Patch compressionType="gz">popt-1.7-uclibc.patch.gz</Patch>
|
|
||||||
</Patches>
|
|
||||||
<BuildDependencies>
|
|
||||||
<Dependency versionFrom="1.8"> make </Dependency>
|
|
||||||
</BuildDependencies>
|
|
||||||
<History>
|
|
||||||
<Update>
|
|
||||||
<Date>06/14/2005</Date>
|
|
||||||
<Version>1.7</Version>
|
|
||||||
<Release>3</Release>
|
|
||||||
</Update>
|
|
||||||
<Update>
|
|
||||||
<Date>06/10/2005</Date>
|
|
||||||
<Version>1.7</Version>
|
|
||||||
<Release>2</Release>
|
|
||||||
</Update>
|
|
||||||
<Update>
|
|
||||||
<Date>05/05/2005</Date>
|
|
||||||
<Version>1.7</Version>
|
|
||||||
<Release>1</Release>
|
|
||||||
</Update>
|
|
||||||
</History>
|
|
||||||
</Source>
|
|
||||||
|
|
||||||
<Package>
|
|
||||||
<Name>popt</Name>
|
|
||||||
<Summary lang="en">Command line option parsing library</Summary>
|
|
||||||
<Summary lang="tr">Komut satırı seçenekleri işleme kütüphanesi</Summary>
|
|
||||||
<Description>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
|
|
||||||
</Description>
|
|
||||||
<Category>devel:library</Category>
|
|
||||||
<RuntimeDependencies>
|
|
||||||
<Dependency>gettext</Dependency>
|
|
||||||
</RuntimeDependencies>
|
|
||||||
<Files>
|
|
||||||
<Path fileType="sharedLib">/usr/lib</Path>
|
|
||||||
<Path fileType="doc">/usr/share/doc</Path>
|
|
||||||
<Path fileType="doc">/usr/share/man</Path>
|
|
||||||
<Path fileType="localedata">/usr/share/locale</Path>
|
|
||||||
<Path fileType="header">/usr/include/popt.h</Path>
|
|
||||||
</Files>
|
|
||||||
</Package>
|
|
||||||
</PSPEC>
|
|
||||||
@@ -13,7 +13,7 @@ class ArchiveFileTestCase(unittest.TestCase):
|
|||||||
# pass
|
# pass
|
||||||
|
|
||||||
def testUnpackTar(self):
|
def testUnpackTar(self):
|
||||||
ctx = context.Context("samples/popt.pspec")
|
ctx = context.Context("../popt/popt.pspec")
|
||||||
|
|
||||||
targetDir = ctx.build_work_dir()
|
targetDir = ctx.build_work_dir()
|
||||||
achv = archive.Archive(ctx)
|
achv = archive.Archive(ctx)
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ from pisi import context
|
|||||||
|
|
||||||
class ContextTestCase(unittest.TestCase):
|
class ContextTestCase(unittest.TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.ctx = context.Context("samples/popt.pspec")
|
self.ctx = context.Context("../popt/popt.pspec")
|
||||||
|
|
||||||
def testConstness(self):
|
def testConstness(self):
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ from pisi import context
|
|||||||
|
|
||||||
class FetcherTestCase(unittest.TestCase):
|
class FetcherTestCase(unittest.TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.ctx = context.Context("samples/popt.pspec")
|
self.ctx = context.Context("../popt/popt.pspec")
|
||||||
|
|
||||||
self.fetch = fetcher.Fetcher(self.ctx)
|
self.fetch = fetcher.Fetcher(self.ctx)
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ from pisi import specfile
|
|||||||
class SpecReadTestCase(unittest.TestCase):
|
class SpecReadTestCase(unittest.TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.spec = specfile.SpecFile()
|
self.spec = specfile.SpecFile()
|
||||||
self.spec.read("samples/popt.pspec")
|
self.spec.read("../popt/popt.pspec")
|
||||||
|
|
||||||
def testSourceName(self):
|
def testSourceName(self):
|
||||||
self.assertEqual(self.spec.source.name,
|
self.assertEqual(self.spec.source.name,
|
||||||
|
|||||||
Reference in New Issue
Block a user