MODPY_PEP517 from George Rosamond (maintainer)

This commit is contained in:
sthen 2022-09-12 20:39:09 +00:00
parent fdb4e3a399
commit 7b49c589f3
4 changed files with 28 additions and 17 deletions

View File

@ -2,6 +2,8 @@ COMMENT = Python library for interacting with Duo APIs
MODPY_EGG_VERSION = 4.4.0
REVISION = 0
DISTNAME = duo_client-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
@ -15,9 +17,7 @@ PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
MODPY_PYTEST = Yes
MODPY_PEP517 = setuptools
FLAVOR = python3
FLAVORS = python3

View File

@ -1,18 +1,25 @@
lib/python${MODPY_VERSION}/site-packages/duo_client/
lib/python${MODPY_VERSION}/site-packages/duo_client-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/duo_client-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/duo_client-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
lib/python${MODPY_VERSION}/site-packages/duo_client-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
lib/python${MODPY_VERSION}/site-packages/duo_client-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
lib/python${MODPY_VERSION}/site-packages/duo_client-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/duo_client-${MODPY_EGG_VERSION}.dist-info/
lib/python${MODPY_VERSION}/site-packages/duo_client-${MODPY_EGG_VERSION}.dist-info/LICENSE
lib/python${MODPY_VERSION}/site-packages/duo_client-${MODPY_EGG_VERSION}.dist-info/METADATA
lib/python${MODPY_VERSION}/site-packages/duo_client-${MODPY_EGG_VERSION}.dist-info/RECORD
lib/python${MODPY_VERSION}/site-packages/duo_client-${MODPY_EGG_VERSION}.dist-info/WHEEL
lib/python${MODPY_VERSION}/site-packages/duo_client-${MODPY_EGG_VERSION}.dist-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/duo_client/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/duo_client/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/duo_client/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
lib/python${MODPY_VERSION}/site-packages/duo_client/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/duo_client/${MODPY_PYCACHE}accounts.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
lib/python${MODPY_VERSION}/site-packages/duo_client/${MODPY_PYCACHE}accounts.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/duo_client/${MODPY_PYCACHE}admin.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
lib/python${MODPY_VERSION}/site-packages/duo_client/${MODPY_PYCACHE}admin.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/duo_client/${MODPY_PYCACHE}auth.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
lib/python${MODPY_VERSION}/site-packages/duo_client/${MODPY_PYCACHE}auth.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/duo_client/${MODPY_PYCACHE}auth_v1.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
lib/python${MODPY_VERSION}/site-packages/duo_client/${MODPY_PYCACHE}auth_v1.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/duo_client/${MODPY_PYCACHE}client.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
lib/python${MODPY_VERSION}/site-packages/duo_client/${MODPY_PYCACHE}client.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/duo_client/${MODPY_PYCACHE}https_wrapper.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
lib/python${MODPY_VERSION}/site-packages/duo_client/${MODPY_PYCACHE}https_wrapper.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/duo_client/accounts.py
lib/python${MODPY_VERSION}/site-packages/duo_client/admin.py

View File

@ -3,6 +3,7 @@ COMMENT = Duo Python two-factor authentication
MODPY_EGG_VERSION = 2.0.3
DISTNAME = duo_universal-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
REVISION = 0
CATEGORIES = security sysutils
@ -14,8 +15,7 @@ PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
MODPY_PYTEST = Yes
MODPY_PEP517 = setuptools
FLAVOR = python3
FLAVORS = python3
@ -24,6 +24,7 @@ RUN_DEPENDS = devel/py-wheel${MODPY_FLAVOR} \
security/py-openssl${MODPY_FLAVOR} \
www/py-jwt${MODPY_FLAVOR} \
www/py-requests${MODPY_FLAVOR}
TEST_DEPENDS = devel/py-mock${MODPY_FLAVOR}
.include <bsd.port.mk>

View File

@ -1,14 +1,17 @@
lib/python${MODPY_VERSION}/site-packages/duo_universal/
lib/python${MODPY_VERSION}/site-packages/duo_universal-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/duo_universal-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/duo_universal-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
lib/python${MODPY_VERSION}/site-packages/duo_universal-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
lib/python${MODPY_VERSION}/site-packages/duo_universal-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
lib/python${MODPY_VERSION}/site-packages/duo_universal-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/duo_universal-${MODPY_EGG_VERSION}.dist-info/
lib/python${MODPY_VERSION}/site-packages/duo_universal-${MODPY_EGG_VERSION}.dist-info/LICENSE
lib/python${MODPY_VERSION}/site-packages/duo_universal-${MODPY_EGG_VERSION}.dist-info/METADATA
lib/python${MODPY_VERSION}/site-packages/duo_universal-${MODPY_EGG_VERSION}.dist-info/RECORD
lib/python${MODPY_VERSION}/site-packages/duo_universal-${MODPY_EGG_VERSION}.dist-info/WHEEL
lib/python${MODPY_VERSION}/site-packages/duo_universal-${MODPY_EGG_VERSION}.dist-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/duo_universal/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/duo_universal/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/duo_universal/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
lib/python${MODPY_VERSION}/site-packages/duo_universal/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/duo_universal/${MODPY_PYCACHE}client.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
lib/python${MODPY_VERSION}/site-packages/duo_universal/${MODPY_PYCACHE}client.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/duo_universal/${MODPY_PYCACHE}version.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
lib/python${MODPY_VERSION}/site-packages/duo_universal/${MODPY_PYCACHE}version.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/duo_universal/ca_certs.pem
lib/python${MODPY_VERSION}/site-packages/duo_universal/client.py