HEX
Server: Apache
System: Linux hp3-stn-1011028.hostingp3.local 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: csh958633 (951153)
PHP: 8.3.30
Disabled: shell_exec,exec,system,popen,set_time_limit
Upload Files
File: //usr/lib/python2.7/site-packages/packagekit/package.pyo
�
�^c@s'ddlmZddd��YZdS(i����(tPackageKitEnumtPackagekitPackagecBs#eZd�Zd�Zd�ZRS(cCsd||||fS(Ns%s;%s;%s;%s((tselftnametversiontarchtdata((s6/usr/lib/python2.7/site-packages/packagekit/package.pytget_package_idscCst|jdd��S(sn split up a package id name;ver;arch;data into a tuple
            containing (name, ver, arch, data)
        t;i(ttupletsplit(Rt
package_id((s6/usr/lib/python2.7/site-packages/packagekit/package.pytget_package_from_idsc
Cs|jd�}tdd�}|j�}t|�dkr@tSt}x�|D]�}|jdd�}|jdd�}|jd�}t}xN|D]F}	|	j�}	t|	�d	kr�q�n|	|kr�t}t}Pq�q�W|tkrMtSqMW|tkrtStS(
s�
        Check the string license_field for free licenses, indicated by
        their short names as documented at
        http://fedoraproject.org/wiki/Licensing

        Licenses can be grouped by " or " to indicate that the package
        can be redistributed under any of the licenses in the group.
        For instance: GPLv2+ or Artistic or FooLicense.

        Groups of licenses can be grouped with " and " to indicate
        that parts of the package are distributed under one group of
        licenses, while other parts of the package are distributed
        under another group.  Groups may be wrapped in parenthesis.
        For instance:
          (GPLv2+ or Artistic) and (GPL+ or Artistic) and FooLicense.

        At least one license in each group must be free for the
        package to be considered Free Software.  If the license_field
        is empty, the package is considered non-free.
        s and s./usr/share/PackageKit/helpers/yum/licenses.txttrit(tt)s or i(R
topent	readlinestlentFalsetreplacetstriptTrue(
Rt
license_fieldtgroupstft
free_licensestone_free_grouptgrouptlicensest
group_is_freetlicense((s6/usr/lib/python2.7/site-packages/packagekit/package.pytcheck_license_field!s0

(t__name__t
__module__RRR!(((s6/usr/lib/python2.7/site-packages/packagekit/package.pyRs		N((tpackagekit.backendRR(((s6/usr/lib/python2.7/site-packages/packagekit/package.pyt<module>s