Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Commit

Permalink
recipes-devtools: add python3-setuptools 46.4.0
Browse files Browse the repository at this point in the history
This overrides the version in openembedded-core to work around
pypa/setuptools#3118 , a mysterious problem
that meant if you have a version in a specific range installed, you
can't install versions outside that range. This version is the
lowest-versioned one outside that range, which we do instead of the
highest-version one because that one can't be installed with the built
in pypi module.
  • Loading branch information
sfoster1 committed Mar 2, 2022
1 parent ecd6465 commit 4f71f39
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions recipes-devtools/python/python3-setuptools_46.4.0.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Override the version of setuptools in openembedded-core to work around
# https://github.com/pypa/setuptools/issues/3118 . This doesn't use the
# most recent version of setuptools because it in turn isn't quite
# compatible with the way the overrided recipe installs it.

require recipes-devtools/python/python-setuptools.inc
SRC_URI[md5sum] = "e2c6c3d64b38efe2e81bcd502cf54dcc"
SRC_URI[sha256sum] = "4334fc63121aafb1cc98fd5ae5dd47ea8ad4a38ad638b47af03a686deb14ef5b"
SRC_URI_remove_class-native = " file://0001-conditionally-do-not-fetch-code-by-easy_install.patch"
inherit setuptools3


do_install_append() {
mv ${D}${bindir}/easy_install ${D}${bindir}/easy3_install
}

0 comments on commit 4f71f39

Please sign in to comment.