aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python/python-beautifulsoup4_4.8.2.bb
blob: be7b3fe28148b6b8963bee28748011392715ad97 (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
26
27
28
29
SUMMARY = "Screen-scraping library"
DESCRIPTION = "Beautiful Soup is a library that makes it easy to scrape \
information from web pages. It sits atop an HTML or XML parser, providing \
Pythonic idioms for iterating, searching, and modifying the parse tree."
HOMEPAGE = " https://www.crummy.com/software/BeautifulSoup/bs4"
SECTION = "devel/python"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=f2d38d8a40bf73fd4b3d16ca2e5882d1"

SRC_URI[md5sum] = "5dbdb56c009e4632bae7bed1b385804b"
SRC_URI[sha256sum] = "05fd825eb01c290877657a56df4c6e4c311b3965bda790c613a3d6fb01a5462a"

inherit pypi setuptools

RDEPENDS_${PN} = "\
    ${PYTHON_PN}-html5lib \
    ${PYTHON_PN}-lxml \
    ${PYTHON_PN}-soupsieve \
"

RDEPENDS_${PN}_append_class-target = "\
    ${PYTHON_PN}-html \
    ${PYTHON_PN}-logging \
"

BBCLASSEXTEND = "native nativesdk"

PNBLACKLIST[python-beautifulsoup4] ?= "${@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)}"