Skip to contentSkip to conversation

python3-meh: fix HOMEPAGE

PATCH Superseded Ross Burton 1 participant 2 messages Mar 7, 2022

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 python3-meh: fix HOMEPAGE

fedorahosted.org is retired, so set the GitHub page as the homepage.

---
 meta-python/recipes-extended/python-meh/python3-meh_0.50.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-extended/python-meh/python3-meh_0.50.1.bb +1 -1
index 16596596a6..9f72b72623 100644
@@ -1,7 +1,7 @@
 SUMMARY = "A python library for handling exceptions"
 DESCRIPTION = "The python-meh package is a python library for handling, saving, and reporting \
 exceptions."
-HOMEPAGE = "http://git.fedorahosted.org/git/?p=python-meh.git"
+HOMEPAGE = "https://github.com/rhinstaller/python-meh"
 LICENSE = "GPL-2.0-or-later"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
Signature · 1 line
2.25.1
#1 lore raw

PATCH 2/2 python3-meh: use setuptools_legacy

This setup.py installs data_files with absolute paths, which isn't supported by bdist_wheel. Use setuptools_legacy as the legacy install task needs to be used.

Also update patch status on the setuptools port.

---
 .../python-meh/python3-meh_0.50.1.bb                 | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)
meta-python/recipes-extended/python-meh/python3-meh_0.50.1.bb +2 -10
index 9f72b72623..1d9af438da 100644
@@ -5,7 +5,7 @@ HOMEPAGE = "https://github.com/rhinstaller/python-meh"
 LICENSE = "GPL-2.0-or-later"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
-inherit setuptools3
+inherit setuptools3_legacy
 
 S = "${WORKDIR}/git"
 
@@ -14,12 +14,4 @@ SRC_URI = "git://github.com/rhinstaller/python-meh.git;protocol=https;branch=rhe
           "
 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}/*"
-
+FILES:${PN} += "${datadir}/python-meh"
Signature · 1 line
2.25.1