diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-06-05 18:38:59 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-06-05 18:47:00 +0000 |
commit | e57ecb177d70209f7511d0fee851591dc9c34c4b (patch) | |
tree | 751903369cb1480189dd615e1fb49fe4419f44ca /databases/py-sqlalchemy20 | |
parent | cf8c23820aa2920ccf8a2d0a83d44e4590e80544 (diff) | |
download | ports-e57ecb177d70209f7511d0fee851591dc9c34c4b.tar.gz ports-e57ecb177d70209f7511d0fee851591dc9c34c4b.zip |
databases/py-sqlalchemy20: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
Diffstat (limited to 'databases/py-sqlalchemy20')
-rw-r--r-- | databases/py-sqlalchemy20/Makefile | 8 | ||||
-rw-r--r-- | databases/py-sqlalchemy20/files/patch-setup.cfg | 9 |
2 files changed, 13 insertions, 4 deletions
diff --git a/databases/py-sqlalchemy20/Makefile b/databases/py-sqlalchemy20/Makefile index df5202c3c896..30a78ebc14bd 100644 --- a/databases/py-sqlalchemy20/Makefile +++ b/databases/py-sqlalchemy20/Makefile @@ -1,5 +1,6 @@ PORTNAME= sqlalchemy PORTVERSION= 2.0.15 +PORTREVISION= 1 CATEGORIES= databases python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,8 +15,8 @@ WWW= https://www.sqlalchemy.org/ \ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -#BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=47:devel/py-setuptools@${PY_FLAVOR} \ -# ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=47:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}greenlet>=0:devel/py-greenlet@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.2.0:devel/py-typing-extensions@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ @@ -23,8 +24,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=0,1:devel/py-pytest-xdist@${PY_FLAVOR} USES= cpe python:3.7+ -#USE_PYTHON= autoplist concurrent cython pep517 -USE_PYTHON= autoplist concurrent cython distutils +USE_PYTHON= autoplist concurrent cython pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}sqlalchemy[0-9][0-9] diff --git a/databases/py-sqlalchemy20/files/patch-setup.cfg b/databases/py-sqlalchemy20/files/patch-setup.cfg new file mode 100644 index 000000000000..fe3a5141bc47 --- /dev/null +++ b/databases/py-sqlalchemy20/files/patch-setup.cfg @@ -0,0 +1,9 @@ +--- setup.cfg.orig 2023-05-20 00:17:24 UTC ++++ setup.cfg +@@ -1,5 +1,5 @@ + [metadata] +-name = SQLAlchemy ++name = sqlalchemy + version = attr: sqlalchemy.__version__ + description = Database Abstraction Library + long_description = file: README.rst |