pkgsrc/devel/py-ordered-set/Makefile
adam eb66ca503b py-ordered-set: updated to 4.1.0
Version 4.1 (January 2022)

Packaged using flit. Wheels now exist, and setuptools is no longer required.
This package now has a typical package structure, instead of being a single module. The code is in ordered_set/__init__.py instead of ordered_set.py.
There is an ordered_set/py.typed so that type checkers know about the types.
Use the type aliases SetLike[T] and OrderedSetInitializer[T] to simplify some types.
Updated the way overloaded type signatures are written to what MyPy currently expects.
Minimum Python version is 3.7.
2022-01-27 08:34:19 +00:00

23 lines
615 B
Makefile

# $NetBSD: Makefile,v 1.10 2022/01/27 08:34:19 adam Exp $
DISTNAME= ordered-set-4.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=o/ordered-set/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/LuminosoInsight/ordered-set
COMMENT= MutableSet that remembers its order
LICENSE= mit
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} test
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"