perl-Class-Method-Modifiers : new pisi package

This commit is contained in:
bluedevil
2020-09-23 23:15:53 +02:00
parent d9d6c3de31
commit b96ff1566f
3 changed files with 80 additions and 0 deletions
@@ -0,0 +1,24 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.
from pisi.actionsapi import pisitools
from pisi.actionsapi import perlmodules
#WorkDir = "%s-%s" % (get.srcNAME()[5:], get.srcVERSION())
def setup():
perlmodules.configure()
def build():
perlmodules.make()
def check():
perlmodules.make("test")
def install():
perlmodules.install()
pisitools.dodoc("LICENSE", "README*")
@@ -0,0 +1,48 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>perl-Class-Method-Modifiers</Name>
<Homepage>https://metacpan.org/release/Class-Method-Modifiers</Homepage>
<Packager>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Packager>
<PartOf>programming.language.perl</PartOf>
<License>Perlv5</License>
<IsA>library</IsA>
<Summary>Provides Moose-like method modifiers</Summary>
<Description>Class::Method::Modifiers provides three modifiers: before, around, and after. before and after are run just before and after the method they modify, but can not really affect that original method. around is run in place of the original method, with a hook to easily call that original method.</Description>
<Archive sha1sum="7bf95c65905bf48edbf408f34259529536b2ebbd" type="targz">https://cpan.metacpan.org/authors/id/E/ET/ETHER/Class-Method-Modifiers-2.13.tar.gz</Archive>
<BuildDependencies>
<Dependency>perl</Dependency>
<!-- test dependencies -->
<Dependency>perl-Test-Fatal</Dependency>
<Dependency>perl-Test-Needs</Dependency>
<Dependency>perl-Test-Requires</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>perl-Class-Method-Modifiers</Name>
<Summary>Provides Moose-like method modifiers</Summary>
<RuntimeDependencies>
<Dependency>perl</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-09-23</Date>
<Version>2.13</Version>
<Comment>First release</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>perl-Class-Method-Modifiers</Name>
<Summary xml:lang="tr">Moose benzeri yordam düzenleyici.</Summary>
<Description xml:lang="tr">perl-Class-Method-Modifiers, moose benzeri yordam düzenleyici perl modülü sunar.</Description>
</Source>
</PISI>