Skip to content

Commit

Permalink
devel/py-curtsies: Convert to USE_PYTHON=pep517
Browse files Browse the repository at this point in the history
- Remove outdated PYTHON_REL check after lang/python37 removal
- Bump PORTREVISION for package change
  • Loading branch information
sunpoet committed Jun 30, 2023
1 parent c5b5b35 commit 27967d3
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions devel/py-curtsies/Makefile
@@ -1,5 +1,6 @@
PORTNAME= curtsies
PORTVERSION= 0.4.1
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -11,19 +12,15 @@ WWW= https://github.com/bpython/curtsies
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE

BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=43:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blessed>=1.5:devel/py-blessed@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cwcwidth>=0:devel/py-cwcwidth@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyte>=0:devel/py-pyte@${PY_FLAVOR}

USES= python
USE_PYTHON= autoplist concurrent distutils pytest
USE_PYTHON= autoplist concurrent pep517 pytest

NO_ARCH= yes

.include <bsd.port.pre.mk>

.if ${PYTHON_REL} < 30800
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.cached-property>=0:devel/py-backports.cached-property@${PY_FLAVOR}
.endif

.include <bsd.port.post.mk>
.include <bsd.port.mk>

0 comments on commit 27967d3

Please sign in to comment.