python add new package and fix
This commit is contained in:
@@ -15,9 +15,14 @@ examples = "%s/%s/" % (get.docDIR(), get.srcNAME())
|
||||
|
||||
shelltools.export("PYTHONDONTWRITEBYTECODE", "1")
|
||||
|
||||
def install():
|
||||
pisitools.dosed("setup.py", "man/man1", "share/man/man1")
|
||||
def setup():
|
||||
shelltools.system("sed -i -e 's:man/man1:share/man/man1:g' setup.py")
|
||||
|
||||
def build():
|
||||
pythonmodules.compile()
|
||||
|
||||
|
||||
def install():
|
||||
pythonmodules.install()
|
||||
|
||||
pisitools.dohtml("doc/*")
|
||||
|
||||
@@ -15,10 +15,16 @@
|
||||
<Summary>A unittest extension offering automatic test suite discovery and easy test authoring</Summary>
|
||||
<Description>python-nose provides an alternate test discovery and running process for unittest, one that is intended to mimic the behavior of py.test as much as is reasonably possible without resorting to too much magic.</Description>
|
||||
<Archive sha1sum="97f2a04c9d43b29ddf4794a1a1d1ba803f1074c6" type="targz">https://pypi.python.org/packages/source/n/nose/nose-1.3.7.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>python-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>python-nose</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>python</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>python-nose</Name>
|
||||
<Name>python3-nose</Name>
|
||||
<Summary xml:lang="tr">Python için unittest genişlemesi</Summary>
|
||||
<Description xml:lang="tr">python-nose alternatif test tanıtma ve keşif kitaplığı.</Description>
|
||||
<Description xml:lang="tr">python3-nose alternatif test tanıtma ve keşif kitaplığı.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
|
||||
Reference in New Issue
Block a user