perl-*:add main and update

This commit is contained in:
alihanozturk
2016-03-27 17:14:10 +03:00
parent c08157e679
commit 44921aadc2
10 changed files with 248 additions and 3 deletions
@@ -0,0 +1,22 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import perlmodules
from pisi.actionsapi import pisitools
def setup():
perlmodules.configure()
def build():
perlmodules.make()
def check():
perlmodules.make("test")
def install():
perlmodules.install()
pisitools.dodoc("Changes")
@@ -0,0 +1,45 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>perl-Try-Tiny</Name>
<Homepage>http://search.cpan.org/dist/Try-Tiny</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>Artistic-2</License>
<License>GPLv1</License>
<IsA>library</IsA>
<Summary>Perl module to implement minimal try/catch</Summary>
<Description>perl-Try-Tiny is a Perl module which implements a minimal try/catch with proper localization of $@.</Description>
<Archive sha1sum="3c3eef7f9c03380d21e145787103ed14fd56e153" type="targz">http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Try-Tiny-0.24.tar.gz</Archive>
<BuildDependencies>
<Dependency>perl</Dependency>
<Dependency>perl-Capture-Tiny</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>perl-Try-Tiny</Name>
<RuntimeDependencies>
<Dependency>perl</Dependency>
<Dependency>perl-Capture-Tiny</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2016-03-27</Date>
<Version>0.24</Version>
<Comment>First release</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>perl-Try-Tiny</Name>
<Summary xml:lang="tr">Perl için basit bir try/catch gerçeklemesi</Summary>
<Description xml:lang="tr">perl-Try-Tiny, Perl için $@ yerelleştirmesi sağlayan basit bir try/catch gerçeklemesidir.</Description>
</Source>
</PISI>