aboutsummaryrefslogtreecommitdiffstats
path: root/files
ModeNameSize
-rw-r--r--device_table-ezx.txt453logstatsplain
-rw-r--r--device_table-jlime.txt805logstatsplain
-rw-r--r--device_table-minimal-add-md.txt991logstatsplain
-rw-r--r--device_table-minimal.txt1378logstatsplain
-rw-r--r--device_table-slugos.txt1490logstatsplain
-rw-r--r--device_table-unslung.txt1639logstatsplain
-rw-r--r--device_table_add-loop.txt30logstatsplain
-rw-r--r--device_table_add-s3c_serial.txt102logstatsplain
-rw-r--r--device_table_add-sci.txt93logstatsplain
-rw-r--r--device_table_add-scsi.txt59logstatsplain
-rw-r--r--device_table_add-sm.txt173logstatsplain
-rw-r--r--device_table_add-xsa.txt250logstatsplain
699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
SUMMARY = "Convenience functions for dbus services in Python 2.x"
HOMEPAGE = "https://github.com/nphilipp/python-slip"
DESCRIPTION = "\
The Simple Library for Python 2.x packages contain miscellaneous code for \
convenience, extension and workaround purposes. \
\
This package provides slip.dbus.service.Object, which is a dbus.service.Object \
derivative that ends itself after a certain time without being used and/or if \
there are no clients anymore on the message bus, as well as convenience \
functions and decorators for integrating a dbus service with PolicyKit."

SECTION = "devel/python"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=5574c6965ae5f583e55880e397fbb018"
SRCNAME = "python-slip"

SRC_URI = "https://github.com/nphilipp/${SRCNAME}/releases/download/${SRCNAME}-${PV}/${SRCNAME}-${PV}.tar.bz2"
S = "${WORKDIR}/${SRCNAME}-${PV}"

SRC_URI[md5sum] = "28ae5f93853466c44ec96706ba2a1eb4"
SRC_URI[sha256sum] = "c726c086f0dd93a0ac7a0176f383a12af91b6657b78a301e3f5b25d9f8d4d10b"

do_compile:prepend() {
    sed -e 's/@VERSION@/${PV}/g' ${S}/setup.py.in > ${S}/setup.py
}

# http://errors.yoctoproject.org/Errors/Details/184713/
# python-native/python: can't open file 'setup.py': [Errno 2] No such file or directory
CLEANBROKEN = "1"

RDEPENDS:${PN} += "\
    ${PYTHON_PN}-dbus \
    ${PYTHON_PN}-decorator \
    ${PYTHON_PN}-pygobject \
    ${PYTHON_PN}-six \
    "

inherit setuptools

PNBLACKLIST[python-slip-dbus] ?= "${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', '', 'python2 is out of support for long time, read https://www.python.org/doc/sunset-python-2/ https://python3statement.org/ and if you really have to temporarily use this, then set I_SWEAR_TO_MIGRATE_TO_PYTHON3 to "yes"', d)}"