distro provides information about the OS distribution it runs on, such as a reliable machine-readable ID, or version information. It is the recommended replacement for Python's original platform.linux_distribution function (which will be removed in Python 3.8). It also provides much more functionality which isn't necessarily Python bound, like a command-line interface.
23 lines
454 B
Makefile
23 lines
454 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2019/09/11 21:03:51 sthen Exp $
|
|
|
|
COMMENT= provide information about the OS platform
|
|
|
|
MODPY_EGG_VERSION= 1.4.0
|
|
DISTNAME= distro-${MODPY_EGG_VERSION}
|
|
PKGNAME= py-${DISTNAME}
|
|
|
|
CATEGORIES= sysutils
|
|
|
|
# Apache 2.0
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
MODULES= lang/python
|
|
MODPY_PI= Yes
|
|
MODPY_SETUPTOOLS= Yes
|
|
MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
|
|
MODPY_PYTEST= Yes
|
|
|
|
TEST_DEPENDS= devel/py-test-cov${MODPY_FLAVOR}
|
|
|
|
.include <bsd.port.mk>
|