diff --git a/crypto/certbot/Makefile b/crypto/certbot/Makefile index 495b8afc..97992532 100644 --- a/crypto/certbot/Makefile +++ b/crypto/certbot/Makefile @@ -24,7 +24,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}acme>=${ACME_VERSION}:python/py-acme@${PY_FL ${PYTHON_PKGNAMEPREFIX}six>0:python/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zope.component>0:python/py-zope.component@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zope.interface>0:python/py-zope.interface@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}ipaddress>0:python/py-ipaddress@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}ipaddress>0:python/py-ipaddress@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}distro>=1.0.1:python/py-distro@${PY_FLAVOR} #RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>0:python/py-enum34@${PY_FLAVOR} diff --git a/python/py-distro/Makefile b/python/py-distro/Makefile new file mode 100644 index 00000000..3d8efcab --- /dev/null +++ b/python/py-distro/Makefile @@ -0,0 +1,19 @@ +# Created by: Ben Woods +# $FreeBSD: head/sysutils/py-distro/Makefile 498530 2019-04-10 06:18:31Z antoine $ + +PORTNAME= distro +PORTVERSION= 1.4.0 +CATEGORIES= sysutils python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= woodsb02@FreeBSD.org +COMMENT= Linux OS platform information API + +USES= python shebangfix +USE_PYTHON= autoplist concurrent distutils + +SHEBANG_FILES= query_local_distro.py +NO_ARCH= yes + +.include diff --git a/python/py-distro/distinfo b/python/py-distro/distinfo new file mode 100644 index 00000000..ab910b2d --- /dev/null +++ b/python/py-distro/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1549288968 +SHA256 (distro-1.4.0.tar.gz) = 362dde65d846d23baee4b5c058c8586f219b5a54be1cf5fc6ff55c4578392f57 +SIZE (distro-1.4.0.tar.gz) = 53719 diff --git a/python/py-distro/pkg-descr b/python/py-distro/pkg-descr new file mode 100644 index 00000000..eb936c6b --- /dev/null +++ b/python/py-distro/pkg-descr @@ -0,0 +1,10 @@ +distro (for: Linux Distribution) provides information about the Linux +distribution it runs on, such as a reliable machine-readable ID, or version +information. + +It is a renewed alternative implementation for Python's original +platform.linux_distribution function, but it also provides much more +functionality which isn't necessarily Python bound like a command-line +interface. + +WWW: https://github.com/nir0s/distro