Skip to content

Commit

Permalink
python3-urllib3-1.x: change from pypi to github to avoid auto upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-roos committed Jan 16, 2024
1 parent 5d40470 commit 3c5f873
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions recipes-devtools/python/python3-urllib3-1.x_1.26.18.bb
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ HOMEPAGE = "https://github.com/shazow/urllib3"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c2823cb995439c984fd62a973d79815c"

SRC_URI[md5sum] = "f986d8e9616d2a43389f678d5dad9893"

# version 1.x.x
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>1\.\d+(\.\d+)+)"

inherit pypi setuptools3
inherit setuptools3

PIP_INSTALL_PACKAGE = "urllib3"

PYPI_PACKAGE = "urllib3"
S = "${WORKDIR}/git"
SRC_URI = "git://github.com/urllib3/urllib3.git;protocol=https;branch=1.26.x"
SRCREV = "9c2c2307dd1d6af504e09aac0326d86ee3597a0b"

RDEPENDS:${PN} += "\
${PYTHON_PN}-certifi \
Expand Down

0 comments on commit 3c5f873

Please sign in to comment.