sandbox paketi hatalı. olmayan bir paketi düzeltmeye çalışmaktansa
bunu testler arasından çıkartıyorum. zaten yeterince paketimiz var. bug 447'yi düzeltiyor.
This commit is contained in:
@@ -21,13 +21,13 @@ class MetaDataTestCase(unittest.TestCase):
|
|||||||
|
|
||||||
def testRead(self):
|
def testRead(self):
|
||||||
md = metadata.MetaData()
|
md = metadata.MetaData()
|
||||||
md.read('tests/sandbox/metadata.xml')
|
md.read('tests/popt/metadata.xml')
|
||||||
|
|
||||||
self.assertEqual(md.package.license, ["As-Is"])
|
self.assertEqual(md.package.license, ["As-Is"])
|
||||||
|
|
||||||
self.assertEqual(md.package.version, "1.7")
|
self.assertEqual(md.package.version, "1.7")
|
||||||
|
|
||||||
self.assertEqual(md.package.installedSize, 546542)
|
self.assertEqual(md.package.installedSize, 149691)
|
||||||
return md
|
return md
|
||||||
|
|
||||||
def testWrite(self):
|
def testWrite(self):
|
||||||
|
|||||||
@@ -0,0 +1,108 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>
|
||||||
|
popt
|
||||||
|
</Name>
|
||||||
|
<Packager>
|
||||||
|
<Name>
|
||||||
|
Kırmızı kafalar
|
||||||
|
</Name>
|
||||||
|
<Email>
|
||||||
|
hotmail@redhat.com
|
||||||
|
</Email>
|
||||||
|
</Packager>
|
||||||
|
</Source>
|
||||||
|
<Package>
|
||||||
|
<Name>
|
||||||
|
popt-libs
|
||||||
|
</Name>
|
||||||
|
<Summary>
|
||||||
|
Command line option parsing library
|
||||||
|
</Summary>
|
||||||
|
<Description>
|
||||||
|
library files for popt
|
||||||
|
</Description>
|
||||||
|
<License>
|
||||||
|
As-Is
|
||||||
|
</License>
|
||||||
|
<IsA>
|
||||||
|
library:util:optparser
|
||||||
|
</IsA>
|
||||||
|
<PartOf>
|
||||||
|
rpm:archive
|
||||||
|
</PartOf>
|
||||||
|
<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>
|
||||||
|
<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>
|
||||||
|
<Build>
|
||||||
|
0
|
||||||
|
</Build>
|
||||||
|
<Distribution>
|
||||||
|
Pardus
|
||||||
|
</Distribution>
|
||||||
|
<DistributionRelease>
|
||||||
|
0.1
|
||||||
|
</DistributionRelease>
|
||||||
|
<Architecture>
|
||||||
|
Any
|
||||||
|
</Architecture>
|
||||||
|
<InstalledSize>
|
||||||
|
149691
|
||||||
|
</InstalledSize>
|
||||||
|
</Package>
|
||||||
|
</PISI>
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
|
||||||
<A href="http://www.cs.bilkent.edu.tr/~erayo">
|
|
||||||
<Name>Eray Ozkural</Name>
|
|
||||||
<Number>868</Number>
|
|
||||||
<Projects>
|
|
||||||
<Project>pisi</Project>
|
|
||||||
<Project>noatun</Project>
|
|
||||||
</Projects>
|
|
||||||
</A>
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
placeholder
|
|
||||||
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
|
||||||
|
|
||||||
<PISI>
|
|
||||||
|
|
||||||
<Source>
|
|
||||||
<Name>sandbox</Name>
|
|
||||||
<Summary>We should have something to say here.</Summary>
|
|
||||||
<Packager>
|
|
||||||
<Name>Meral</Name>
|
|
||||||
<Email>meren@uludag.org.tr</Email>
|
|
||||||
</Packager>
|
|
||||||
</Source>
|
|
||||||
|
|
||||||
<Package>
|
|
||||||
<Name>sandbox</Name>
|
|
||||||
<Summary lang="tr">Bla</Summary>
|
|
||||||
<Description>Life sucks then you die</Description>
|
|
||||||
<Homepage>http://cekirdek.uludag.org.tr/~meren/</Homepage>
|
|
||||||
<IsA>temprorary:zip</IsA>
|
|
||||||
<PartOf>tools:archive</PartOf>
|
|
||||||
<License>As-Is</License>
|
|
||||||
<History>
|
|
||||||
<Update>
|
|
||||||
<Date>06/15/2005</Date>
|
|
||||||
<Version>1.7</Version>
|
|
||||||
<Release>1</Release>
|
|
||||||
<Build>0</Build>
|
|
||||||
</Update>
|
|
||||||
</History>
|
|
||||||
<Files>
|
|
||||||
<File>
|
|
||||||
<Path>/</Path>
|
|
||||||
</File>
|
|
||||||
</Files>
|
|
||||||
<Distribution>Pardus</Distribution>
|
|
||||||
<DistributionRelease>0.1</DistributionRelease>
|
|
||||||
<Architecture>x86</Architecture>
|
|
||||||
<InstalledSize>546542</InstalledSize>
|
|
||||||
</Package>
|
|
||||||
|
|
||||||
</PISI>
|
|
||||||
@@ -1,39 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
|
||||||
|
|
||||||
<!DOCTYPE PSPEC SYSTEM
|
|
||||||
"http://www.uludag.org.tr/projeler/pisi/pisi-spec.dtd">
|
|
||||||
|
|
||||||
<PISI>
|
|
||||||
|
|
||||||
<Source>
|
|
||||||
<Name>sandbox</Name>
|
|
||||||
<Homepage>http://cekirdek.uludag.org.tr/</Homepage>
|
|
||||||
<Summary lang="tr">Test packati</Summary>
|
|
||||||
<Description lang="tr">Sandbox: Test paketi...</Description>
|
|
||||||
<Packager>
|
|
||||||
<Name>A. Murat Eren</Name>
|
|
||||||
<Email>meren@uludag.org.tr</Email>
|
|
||||||
</Packager>
|
|
||||||
<License>As-Is</License>
|
|
||||||
<Archive type="zip" sha1sum="5f793136fca29dc8b8b19d75eb1c76241ca90755">
|
|
||||||
http://cekirdek.uludag.org.tr/sandbox.zip
|
|
||||||
</Archive>
|
|
||||||
<History>
|
|
||||||
<Update>
|
|
||||||
<Date>06/15/2005</Date>
|
|
||||||
<Version>0.1</Version>
|
|
||||||
<Release>1</Release>
|
|
||||||
</Update>
|
|
||||||
</History>
|
|
||||||
</Source>
|
|
||||||
|
|
||||||
<Package>
|
|
||||||
<Name>sandbox</Name>
|
|
||||||
<Category>temprorary:zip</Category>
|
|
||||||
<Files>
|
|
||||||
<File>
|
|
||||||
<Path>/</Path>
|
|
||||||
</File>
|
|
||||||
</Files>
|
|
||||||
</Package>
|
|
||||||
</PISI>
|
|
||||||
Reference in New Issue
Block a user