summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-extended/python-meh/python3-meh_0.50.1.bb
blob: 9f72b726235bbbb285936260f9540ad45fb2384c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
SUMMARY = "A python library for handling exceptions"
DESCRIPTION = "The python-meh package is a python library for handling, saving, and reporting \
exceptions."
HOMEPAGE = "https://github.com/rhinstaller/python-meh"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"

inherit setuptools3

S = "${WORKDIR}/git"

SRC_URI = "git://github.com/rhinstaller/python-meh.git;protocol=https;branch=rhel9-branch \
           file://0001-setup.py-switch-from-distutils-to-setuptools.patch \
          "
SRCREV = "c321ce22950aff76611a3c6beffa02b5ea3adbed"

PIP_INSTALL_PACKAGE = "python_meh"

do_install:append () {
    install -d ${D}/${datadir}/python-meh
    mv ${D}${PYTHON_SITEPACKAGES_DIR}${datadir}/python-meh/* ${D}/${datadir}/python-meh/
}

FILES:${PN} += "${datadir}/*"