python3-pypdf2:moved from contrib

This commit is contained in:
blue-devil
2020-05-19 15:14:52 +03:00
parent 7aa66bd487
commit f5ab0a2463
3 changed files with 72 additions and 0 deletions
@@ -0,0 +1,21 @@
#!/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 get
from pisi.actionsapi import pisitools
from pisi.actionsapi import pythonmodules
def build():
pythonmodules.compile(pyVer="3")
#def check():
# pythonmodules.run("-m unittest Tests.tests", pyVer="3")
def install():
pythonmodules.install(pyVer="3")
for dirs in ["PDF_Samples", "Sample_Code"]:
pisitools.insinto("%s/%s" % (get.docDIR(), get.srcNAME()), dirs)