Skip to content

Commit

Permalink
devel/py-notebook-shim: 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 32a7533 commit 474b053
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 43 deletions.
7 changes: 3 additions & 4 deletions devel/py-notebook-shim/Makefile
@@ -1,5 +1,6 @@
PORTNAME= notebook-shim
PORTVERSION= 0.2.2
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -12,14 +13,12 @@ WWW= https://github.com/jupyter/notebook_shim
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE

BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.0:devel/py-hatchling@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jupyter-server>=1.8<3:devel/py-jupyter-server@${PY_FLAVOR}

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

NO_ARCH= yes

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

.include <bsd.port.mk>
39 changes: 0 additions & 39 deletions devel/py-notebook-shim/files/setup.py

This file was deleted.

0 comments on commit 474b053

Please sign in to comment.