perl-Test-Warnings:first pisi release

This commit is contained in:
blue-devil
2020-01-09 21:44:43 +00:00
parent d670447142
commit 31a06195e7
3 changed files with 79 additions and 0 deletions
@@ -0,0 +1,28 @@
#!/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 shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
examples = "%s/%s/examples" % (get.docDIR(), get.srcNAME())
def setup():
perlmodules.configure()
def build():
perlmodules.make()
def check():
perlmodules.make("test")
def install():
perlmodules.install()
pisitools.dodoc("README", "LICENCE")
shelltools.chmod("examples/*", 0644)
pisitools.insinto(examples, "examples/*")