Skip to content

Commit

Permalink
textproc/py-sphinx-inline-tabs: Convert to USE_PYTHON=pep517
Browse files Browse the repository at this point in the history
- Bump PORTREVISION for dependency and package change
  • Loading branch information
sunpoet committed Mar 21, 2023
1 parent 3722105 commit b58796e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 38 deletions.
7 changes: 3 additions & 4 deletions textproc/py-sphinx-inline-tabs/Makefile
@@ -1,5 +1,6 @@
PORTNAME= sphinx-inline-tabs
PORTVERSION= 2022.1.2b11
PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -12,10 +13,11 @@ WWW= https://github.com/pradyunsg/sphinx-inline-tabs
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE

BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=2<4:devel/py-flit-core@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=3,1:textproc/py-sphinx@${PY_FLAVOR}

USES= python:3.7+
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent pep517

NO_ARCH= yes

Expand All @@ -25,7 +27,4 @@ NO_ARCH= yes
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
.endif

post-patch:
@${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py

.include <bsd.port.post.mk>
34 changes: 0 additions & 34 deletions textproc/py-sphinx-inline-tabs/files/setup.py

This file was deleted.

0 comments on commit b58796e

Please sign in to comment.