46974a4bd3
This follows the recommended bootstrap method (flit_core, build, installer). However, installer installs different files than pip, so update PLISTs for all packages using wheel.mk and bump their PKGREVISIONs.
29 lines
856 B
Makefile
29 lines
856 B
Makefile
# $NetBSD: Makefile,v 1.30 2023/10/28 19:57:22 wiz Exp $
|
|
|
|
DISTNAME= beautifulsoup4-4.12.2
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
PKGREVISION= 1
|
|
CATEGORIES= www python
|
|
MASTER_SITES+= ${MASTER_SITE_PYPI:=b/beautifulsoup4/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://www.crummy.com/software/BeautifulSoup/
|
|
COMMENT= HTML/XML Parser for Python, version 4
|
|
LICENSE= mit
|
|
|
|
TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
|
|
DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
|
|
DEPENDS+= ${PYPKGPREFIX}-soupsieve>=1.2:../../www/py-soupsieve
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
EXTRACT_USING= bsdtar
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} bs4
|
|
|
|
.include "../../lang/python/wheel.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|