User avatar
RaynoVox
Posts: 36
Joined: Tue Jan 27, 2015 9:58 am
Location: North Carolina, USA

Packaging [python-chardet]

Thu Jan 29, 2015 6:32 am

Package Name: python-chardet
Package Homepage: https://pypi.python.org/pypi/chardet
Description: Universal encoding detector for Python 2 and 3
Version: 2.3.0
Last update: 1/29/14 Working

pspec.xml

Code: Select all

<?xml versin="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://evolve-os.com/standard/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>python-chardet</Name>
        <Homepage>https://pypi.python.org/pypi/chardet</Homepage>
        <Packager>
            <Name>Devon Bundy</Name>
            <Email>devonbundy@gmail.com</Email>
        </Packager>
        <Summary>Universal encoding detector for Python 2 and 3</Summary>
        <Description>Universal encoding detector for Python 2 and 3</Description>
        <License>GPLv2+</License>
        <Archive sha1sum="50af8f8771ecbeb7a22567129c6c281b8bec3b1c" type="targz">https://pypi.python.org/packages/source/c/chardet/chardet-2.3.0.tar.gz</Archive>

        <BuildDependencies>
		<Dependency type="pkgconfig">python</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>python-chardet</Name>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/lib/python2.7</Path>
        </Files>
    </Package>

    <History>
        <Update release="1">
            <Date>01-29-2015</Date>
            <Version>2.3.0</Version>
            <Comment>Add python-chardet to repositories</Comment>
            <Name>Devon Bundy</Name>
            <Email>devonbundy@gmail.com</Email>
        </Update>
    </History>
</PISI>
actions.py

Code: Select all

#!/usr/bin/python

# Created For Evolve OS

from pisi.actionsapi import pythonmodules, pisitools


def build():
    pythonmodules.compile()


def check():
    pythonmodules.compile("test")


def install():
    pythonmodules.install()

    pisitools.dodoc("LICENSE")

Return to “Testing”