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.
22 lines
667 B
Makefile
22 lines
667 B
Makefile
# $NetBSD: Makefile,v 1.5 2023/10/28 19:57:03 wiz Exp $
|
|
|
|
DISTNAME= looseversion-1.3.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
PKGREVISION= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=l/looseversion/}
|
|
|
|
MAINTAINER= gutteridge@NetBSD.org
|
|
HOMEPAGE= https://github.com/effigies/looseversion
|
|
COMMENT= Python extension for comparing version strings
|
|
LICENSE= python-software-foundation
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
# As of 1.2.0, the package does support Python 2.7, but hatchling does not.
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
|
|
|
|
.include "../../lang/python/wheel.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|