1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

security/py-authlib: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for package change
This commit is contained in:
Po-Chuan Hsieh 2023-12-14 13:36:58 +08:00
parent f6f5a61345
commit 2e0c9a987c
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 16 additions and 1 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= authlib
PORTVERSION= 1.2.1
PORTREVISION= 1
CATEGORIES= security python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -13,8 +14,11 @@ WWW= https://authlib.org/ \
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent cryptography distutils
USE_PYTHON= autoplist concurrent cryptography pep517
NO_ARCH= yes

View File

@ -0,0 +1,11 @@
--- setup.py.orig 2022-12-06 07:30:31 UTC
+++ setup.py
@@ -3,7 +3,7 @@ from setuptools import setup
# Metadata goes in setup.cfg. These are here for GitHub's dependency graph.
setup(
- name="Authlib",
+ name="authlib",
install_requires=[
"cryptography>=3.2",
],